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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 4 Jun 2018 07:55:28 +0000 (09:55 +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>
(cherry picked from commit fc1c5bd3be2c3f90eab2f31e43cf053f7ff13782)

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 621a61347bcbb4783e487d2aa9e54f0b51e3c678..226617f3b6a3f88c7af85a350fc8559511d6b070 100755 (executable)
@@ -116,6 +116,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: