s3: winbindd: Move the logic of whether to set 'domain->primary' into add_trusted_dom...
authorJeremy Allison <jra@samba.org>
Mon, 6 Jan 2014 23:15:37 +0000 (15:15 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 8 Jan 2014 17:46:03 +0000 (09:46 -0800)
commitcfa6a36467f5679a88e49419e8af32b724c242bd
tree7a235fb30b9c4b5ea99edea9d335828f92b02cb2
parent175b8e1475c45a6a829941127f018197baec3909
s3: winbindd: Move the logic of whether to set 'domain->primary' into add_trusted_domain().

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/winbindd_util.c