winbindd: return trust parameters when listing trusts
authorUri Simchoni <uri@samba.org>
Tue, 9 Feb 2016 22:38:11 +0000 (00:38 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 23 Feb 2016 21:02:16 +0000 (22:02 +0100)
commit7b4dfd939f417c7d8c4c2c1e8c77f4af9bcd28d7
treeb453566ef15b0dab0e5ad51c5cdda270257274ac
parentd0aa5d057497022aeefffa9882d3ac2b7e18a682
winbindd: return trust parameters when listing trusts

When asking a child domain process to list trusts on that domain,
return (along with trust domain names and SID) the trust properties -
flags, type, and attributes.

Use those attributes to initialize domain object.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11691

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Feb 23 22:02:16 CET 2016 on sn-devel-144
source3/winbindd/winbindd_misc.c
source3/winbindd/winbindd_util.c