]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Allow a durable handle on a leased stat-open.
authorJeremy Allison <jra@samba.org>
Wed, 27 Apr 2022 21:08:13 +0000 (14:08 -0700)
committerRalph Boehme <slow@samba.org>
Fri, 29 Apr 2022 15:50:21 +0000 (15:50 +0000)
Remove knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15042

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Apr 29 15:50:21 UTC 2022 on sn-devel-184

selftest/knownfail.d/durable-stat-open [deleted file]
source3/smbd/durable.c

diff --git a/selftest/knownfail.d/durable-stat-open b/selftest/knownfail.d/durable-stat-open
deleted file mode 100644 (file)
index 38eab23..0000000
+++ /dev/null
@@ -1 +0,0 @@
-^samba3.smb2.durable-open.stat-open\(nt4_dc\)
index e5dc86a5a7d69a14a71d3cb06e25c4aecda5c4e3..838a5ddef055e16c3f23940aff23060ee096a89a 100644 (file)
@@ -75,10 +75,6 @@ NTSTATUS vfs_default_durable_cookie(struct files_struct *fsp,
                return NT_STATUS_NOT_SUPPORTED;
        }
 
-       if (fsp_get_io_fd(fsp) == -1) {
-               return NT_STATUS_NOT_SUPPORTED;
-       }
-
        if (fsp_is_alternate_stream(fsp)) {
                /*
                 * We do not support durable handles