winbindd: Use pdb_get_domain_info() to get exactly the local domain info when we...
commitfc6074c603aeab206d6f86a4cc8514633b16ec77
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 Jun 2015 23:54:21 +0000 (12 11:54 +1200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Jun 2015 02:19:08 +0000 (30 04:19 +0200)
treea7501e6d913f75aa2dee73312a9c8c4de79490fc
parent7896b84d5cbc5cb46e22c3f2c12fc9abb46ab939
winbindd: Use pdb_get_domain_info() to get exactly the local domain info when we are an AD DC

This also triggers pdb_samba_dsdb_init_secrets(), to force the
correct SID into secrets.tdb.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10991
(backport of master commit b209cd1677b306d72e56a98ecb02db421a5ca35a)
source3/winbindd/winbindd_util.c