s3: winbindd: Move the logic of whether to set 'domain->primary' into add_trusted_dom...
commit28e45f56e818bd7821da9ac2e9500c3a8045aa42
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:50:22 +0000 (10 09:50 +0100)
treed201afcdd2cb60ef8c6a0a0d2b91dd394db60a6c
parentf0d454d768a4b4e91dbea8c920d0fe0293c3167c
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