]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
CVE-2016-2112: s4:selftest: use --option=clientldapsaslwrapping=plain for plain conne...
authorStefan Metzmacher <metze@samba.org>
Fri, 18 Dec 2015 10:56:29 +0000 (11:56 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 28 Mar 2016 22:42:54 +0000 (00:42 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11644

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source4/selftest/tests.py

index 8ccbaee7749af6c46394827ca5bd98a05c18fa84..32bd73e316ea109c275b01aa932f6918ebb3a4c1 100755 (executable)
@@ -44,7 +44,7 @@ bbdir = os.path.join(srcdir(), "testprogs/blackbox")
 
 # Simple tests for LDAP and CLDAP
 for auth_type in ['', '-k no', '-k yes']:
-    for auth_level in ['', '--sign', '--encrypt']:
+    for auth_level in ['--option=clientldapsaslwrapping=plain', '--sign', '--encrypt']:
         creds = '-U"$USERNAME%$PASSWORD"'
         options = creds + ' ' + auth_type + ' ' + auth_level
         plantestsuite("samba4.ldb.ldap with options %r(dc)" % options, "dc", "%s/test_ldb.sh ldap $SERVER %s" % (bbdir, options))