s4:selftest: run test_ldb_simple.sh with more auth options
authorStefan Metzmacher <metze@samba.org>
Wed, 9 May 2018 11:33:05 +0000 (13:33 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 May 2018 22:13:20 +0000 (00:13 +0200)
This demonstrates the broken GENSEC_FEATURE_LDAP_STYLE
handling in our LDAP server.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13427

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/knownfail.d/ntlmssp_ldap_style_send_seal [new file with mode: 0644]
source4/selftest/tests.py

diff --git a/selftest/knownfail.d/ntlmssp_ldap_style_send_seal b/selftest/knownfail.d/ntlmssp_ldap_style_send_seal
new file mode 100644 (file)
index 0000000..0cd7cc2
--- /dev/null
@@ -0,0 +1 @@
+^samba4.ldb.simple.ldap.*ldap_style_send_seal=no
index 88af6078894c3edf1276696f8e7f3eaf14ba3008..97401180388851463004bef105a121677c03208b 100755 (executable)
@@ -113,6 +113,13 @@ for env in ["ad_dc_ntvfs", "fl2008r2dc", "fl2003dc"]:
         '--option=clientldapsaslwrapping=plain',
         '--sign',
         '--encrypt',
+        '-k yes --option=clientldapsaslwrapping=plain',
+        '-k yes --sign',
+        '-k yes --encrypt',
+        '-k no --option=clientldapsaslwrapping=plain',
+        '-k no --sign --option=ntlmssp_client:ldap_style_send_seal=no',
+        '-k no --sign',
+        '-k no --encrypt',
     ]
 
     for auth_option in auth_options: