diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-26 16:15:31 -0700 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-10-23 11:58:56 +0200 |
commit | 20669d4a75386eef4fdcea07fb99812c4e09de13 (patch) | |
tree | 403e4ca912e16316e21f6467cc3e02886d03f4d8 /source4 | |
parent | ccc808e0d72be5933ae2449ee8ee56262e631b72 (diff) | |
download | samba-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 'source4')
0 files changed, 0 insertions, 0 deletions