libads: Decide to have no fallback option
authorGarming Sam <garming@catalyst.net.nz>
Tue, 4 Apr 2017 00:42:17 +0000 (12:42 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 May 2017 06:06:06 +0000 (08:06 +0200)
commitdeec2af7d2d0beb612bc9f35cca66cc825b9816d
treebeb2b706aa9b18d220086e58b195b04f0f49c2d2
parent52a37c697af2d24d129d8a41e9ae9cd8e7ca7fba
libads: Decide to have no fallback option

Before this change, it would always possibly choose another server at
random despite later using the original principal when it got back to
the connection initialization in the the winbind connection manager.
This caused bizarre authentication failures.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/include/ads.h
source3/libads/ldap.c
source3/winbindd/winbindd_cm.c