From 20669d4a75386eef4fdcea07fb99812c4e09de13 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 26 Sep 2013 16:15:31 -0700 Subject: 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 Reviewed-by: Stefan Metzmacher --- selftest/knownfail | 3 --- 1 file changed, 3 deletions(-) (limited to 'selftest') 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 -- cgit