summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-26 16:15:31 -0700
committerStefan Metzmacher <metze@samba.org>2013-10-23 11:58:56 +0200
commit20669d4a75386eef4fdcea07fb99812c4e09de13 (patch)
tree403e4ca912e16316e21f6467cc3e02886d03f4d8 /selftest
parentccc808e0d72be5933ae2449ee8ee56262e631b72 (diff)
downloadsamba-20669d4a75386eef4fdcea07fb99812c4e09de13.tar.gz
samba-20669d4a75386eef4fdcea07fb99812c4e09de13.tar.bz2
samba-20669d4a75386eef4fdcea07fb99812c4e09de13.zip
smbd: Fix raw.batch.exclusive[59]
The level we have to break to depend on the breakers create_disposition: If we overwrite, we have to break to none. This patch overloads the "op_type" field in the break message we send across to the smbd holding the oplock with the oplock level we want to break to. Because it depends on the create_disposition in the breaking open, only the breaker can make that decision. We might want to use a different mechanism for this in the future, but for now using the op_type field seems acceptable to me. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail3
1 files changed, 0 insertions, 3 deletions
diff --git a/selftest/knownfail b/selftest/knownfail
index b364e9c0b1..cfa8b4b273 100644
--- a/selftest/knownfail
+++ b/selftest/knownfail
@@ -61,8 +61,6 @@
^samba3.raw.acls nfs4acl_xattr-special.inheritance\(s3dc\)
^samba3.raw.acls nfs4acl_xattr-special.inherit_creator_owner\(s3dc\)
^samba3.raw.acls nfs4acl_xattr-special.inherit_creator_group\(s3dc\)
-^samba3.raw.oplock.exclusive5
-^samba3.raw.oplock.exclusive9
^samba3.base.delete.deltest16a
^samba3.base.delete.deltest17a
^samba3.unix.whoami anonymous connection.whoami\(plugin_s4_dc\) # We need to resolve if we should be including SID_NT_WORLD and SID_NT_NETWORK in this token
@@ -211,7 +209,6 @@
^samba3.smb2.lease.multibreak
^samba3.smb2.lease.v2_request
^samba3.smb2.oplock.batch20
-^samba3.smb2.oplock.exclusive9
^samba3.smb2.oplock.stream1
^samba3.smb2.streams.rename
^samba3.smb2.streams.rename2