summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2017-04-04 12:42:17 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-05-30 08:06:06 +0200
commitdeec2af7d2d0beb612bc9f35cca66cc825b9816d (patch)
treebeb2b706aa9b18d220086e58b195b04f0f49c2d2 /source3/include
parent52a37c697af2d24d129d8a41e9ae9cd8e7ca7fba (diff)
downloadsamba-deec2af7d2d0beb612bc9f35cca66cc825b9816d.tar.gz
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>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ads.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index 2b25c1c6c29..ebc5728f3a4 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -64,6 +64,7 @@ typedef struct ads_struct {
char *workgroup;
char *ldap_server;
bool gc; /* Is this a global catalog server? */
+ bool no_fallback; /* Bail if the ldap_server is not available */
} server;
/* info needed to authenticate */