Augmented "wbinfo -m" to list additional information about the type, direction, and...
authorSteven Danneman <steven.danneman@isilon.com>
Tue, 25 Mar 2008 23:58:40 +0000 (16:58 -0700)
committerGerald W. Carter <jerry@samba.org>
Mon, 31 Mar 2008 18:40:58 +0000 (13:40 -0500)
commite7827bb6afa264c12ecdc0858f49707ca3d6104f
tree596689ea033de500b6fd8240ab67557f52a9b4ae
parent6aac972d790ad5ca65096cb2e85e6819b60a5413
Augmented "wbinfo -m" to list additional information about the type, direction, and transitivty of trusts.

* added several helper functions to convert the trust_flags field in the
winbindd_tdc_domain to more useful administrator ideas of trust type, trust
direction, and trust transitivity.

* converted winbindd_list_trusted_domains() to enumerate the trusted domain
cache, instead of the domain list, and return additional trust information to
the calling process

* modified wbinfo to pretty print this additional trust information when a new
--verbose switch is given with -m.  Thus "wbinfo -m" and "wbinfo -all-domains"
output as before, but "wbinfo --verbose -m" prints extra trust info.

* updated some comments and fixed typos
source/nsswitch/wbinfo.c
source/winbindd/winbindd_misc.c