From b7c659a4499dc7b62423ce930f7ce2128eded90e Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Wed, 29 Aug 2018 17:19:29 +0200 Subject: s3:smbd: let session logoff close files and tcons before deleting the session This avoids a race in durable handle reconnects if the reconnect comes in while the old session is still in the tear-down phase. The new session is supposed to rendezvous with and wait for destruction of the old session, which is internally implemented with dbwrap_watch_send() on the old session record. If the old session deletes the session record before calling file_close_user() which marks all file handles as disconnected, the durable handle reconnect in the new session will fail as the records are not yet marked as disconnected which is a prerequisite. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13549 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison (cherry picked from commit 8f6edcc1645e0ed35eaec914bd0b672500ce986c) --- selftest/knownfail.d/samba3.blackbox | 1 - 1 file changed, 1 deletion(-) delete mode 100644 selftest/knownfail.d/samba3.blackbox (limited to 'selftest') diff --git a/selftest/knownfail.d/samba3.blackbox b/selftest/knownfail.d/samba3.blackbox deleted file mode 100644 index b03a1ac09e2..00000000000 --- a/selftest/knownfail.d/samba3.blackbox +++ /dev/null @@ -1 +0,0 @@ -^samba3.blackbox.durable_v2_delay.durable_v2_delay\(simpleserver:local\) -- cgit v1.2.1