summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-08-13 17:41:40 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-10-09 07:06:35 +0000
commitb84abb3a46211dc84e52ef95750627e4dd081f2f (patch)
tree5cb672447c2023ea612c117b9c880df1c8ab9188 /source3/libsmb
parent456322a61319a10aaedda5244488ea4e5aa5cb64 (diff)
downloadsamba-b84abb3a46211dc84e52ef95750627e4dd081f2f.tar.gz
s3:libnet: Require sealed LDAP SASL connections for joining
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namequery_dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c
index 4ee5b5278e4..f63dde61603 100644
--- a/source3/libsmb/namequery_dc.c
+++ b/source3/libsmb/namequery_dc.c
@@ -69,7 +69,7 @@ static bool ads_dc_name(const char *domain,
/* Try this 3 times then give up. */
for( i =0 ; i < 3; i++) {
- ads = ads_init(realm, domain, NULL);
+ ads = ads_init(realm, domain, NULL, ADS_SASL_PLAIN);
if (!ads) {
TALLOC_FREE(sitename);
return False;