From: Stefan Metzmacher Date: Fri, 18 Dec 2015 10:56:29 +0000 (+0100) Subject: CVE-2016-2112: s4:selftest: use --option=clientldapsaslwrapping=plain for plain conne... X-Git-Tag: samba-4.2.10~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62568224e57cae33b45280cb073dffc3054edb38;p=thirdparty%2Fsamba.git CVE-2016-2112: s4:selftest: use --option=clientldapsaslwrapping=plain for plain connections BUG: https://bugzilla.samba.org/show_bug.cgi?id=11644 Signed-off-by: Stefan Metzmacher Reviewed-by: Günther Deschner --- diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 8ccbaee7749..32bd73e316e 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -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))