summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-08-10 16:24:04 +0200
committerStefan Metzmacher <metze@samba.org>2020-09-03 13:34:10 +0000
commit3824ce0de3bc53a35f414685dc78719429abfc19 (patch)
tree92423875ecf162576bfcd1adb70540e7d932e93e /selftest
parentcaf9cfa86530865e8eb1aa03742139567de29863 (diff)
downloadsamba-3824ce0de3bc53a35f414685dc78719429abfc19.tar.gz
ldap_server: Terminate LDAP connections on krb ticket expiry
See RFC4511 section 4.4.1 and https://lists.samba.org/archive/cifs-protocol/2020-August/003515.html for details: Windows terminates LDAP connections when the krb5 ticket expires, Samba should do the same. This patch slightly deviates from Windows behaviour by sending a LDAP exop response with msgid 0 that is ASN1-encoded conforming to RFC4511. Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit eb72f887b0bf91c050fd5d911f58a1b3ff9b8bcc)
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/ldap1
1 files changed, 0 insertions, 1 deletions
diff --git a/selftest/knownfail.d/ldap b/selftest/knownfail.d/ldap
index 21c1aca7e6e..0331d3687d4 100644
--- a/selftest/knownfail.d/ldap
+++ b/selftest/knownfail.d/ldap
@@ -1,4 +1,3 @@
# the attributes too long test returns the wrong error
^samba4.ldap.python.+test_attribute_ranges_too_long
samba4.ldap.python\(ad_dc_default\).*__main__.BasicTests.test_ldapSearchNoAttributes
-^samba4.ldap.session-expiry.session-expiry\(ad_dc_default\)