Augmented "wbinfo -m" to list additional information about the type, direction, and...
commit2b70174e1bcef3b34acb406c9f8d79b0ec0cacfa
authorSteven Danneman <steven.danneman@isilon.com>
Tue, 25 Mar 2008 23:58:40 +0000 (25 16:58 -0700)
committerGerald W. Carter <jerry@samba.org>
Mon, 31 Mar 2008 18:40:58 +0000 (31 13:40 -0500)
tree9964645d38bf0190f8f6ec286faac5cae9e92e11
parent223071f01de8d85b594bab7c1f8514386da11281
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
(This used to be commit e7827bb6afa264c12ecdc0858f49707ca3d6104f)
source3/nsswitch/wbinfo.c
source3/winbindd/winbindd_misc.c