summaryrefslogtreecommitdiff
path: root/libgpo
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 /libgpo
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 'libgpo')
-rw-r--r--libgpo/pygpo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpo/pygpo.c b/libgpo/pygpo.c
index b1f788d3a00..581d20e0649 100644
--- a/libgpo/pygpo.c
+++ b/libgpo/pygpo.c
@@ -210,7 +210,7 @@ static int py_ads_init(ADS *self, PyObject *args, PyObject *kwds)
self->ads_ptr = NULL;
}
/* always succeeds or crashes */
- self->ads_ptr = ads_init(realm, workgroup, ldap_server);
+ self->ads_ptr = ads_init(realm, workgroup, ldap_server, ADS_SASL_PLAIN);
return 0;
}