s3: winbindd: Move the logic of whether to set 'domain->primary' into add_trusted_dom...
commit187d2ef789fc5316d4b9b117c06a19b4bcb87fda
authorJeremy Allison <jra@samba.org>
Mon, 6 Jan 2014 23:15:37 +0000 (6 15:15 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 10 Jan 2014 08:49:48 +0000 (10 09:49 +0100)
treeb631bdfd3123a321053b638d2fe33fecb953eaa4
parentca56a5d1346005f2d3fb40ac2493294917462e0b
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>
(cherry picked from commit cfa6a36467f5679a88e49419e8af32b724c242bd)
source3/winbindd/winbindd_util.c