winbindd: allow wbinfo -a REALM\\user to work on a DC
authorStefan Metzmacher <metze@samba.org>
Sun, 2 Apr 2017 22:19:48 +0000 (00:19 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 9 Apr 2017 23:11:19 +0000 (01:11 +0200)
commit948a1dab4d3bb014b438636208055c78206f8dbd
tree53dc00776ec0a0069ba36393430166dfc41c9093
parent5da664dbed4932ef21061ad6127b5c9047398321
winbindd: allow wbinfo -a REALM\\user to work on a DC

find_domain_from_name_noinit() find the correct domain based
on domain->alt_name, but the child for the local domain
fails to detect that winbindd_dual_auth_passdb() should be
used.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/winbindd/winbindd_pam.c