winbindd: Use pdb_get_domain_info() to get exactly the local domain info when we...
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 Jun 2015 23:54:21 +0000 (11:54 +1200)
committerJeremy Allison <jra@samba.org>
Wed, 17 Jun 2015 20:10:24 +0000 (22:10 +0200)
commitb209cd1677b306d72e56a98ecb02db421a5ca35a
treefa30071162f97cb3e965fd162f66e3d40e1dc8c1
parent5bb647b78806413a94f959d0b2b417a97b7a2173
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.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_util.c