summaryrefslogtreecommitdiffstats
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-11 04:36:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:02 -0500
commit84e00add260ea274ea36e68f2a37efd712e00acd (patch)
treea006257a35592531db7256fcf9475f66da03d9ae /source4/include
parent3979da11a4685a029bf5b7cbc8ec0c4216e8cf08 (diff)
downloadsamba-84e00add260ea274ea36e68f2a37efd712e00acd.tar.gz
samba-84e00add260ea274ea36e68f2a37efd712e00acd.tar.xz
samba-84e00add260ea274ea36e68f2a37efd712e00acd.zip
r15032: change BENCH-NBENCH to always break to none, rather than accepting a
levelII break offer from the server. (This used to be commit 7d7853476e03262133093c69f1f93ee02cc87840)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/smb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h
index 94868903851..04b3c5b6333 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -551,6 +551,11 @@
#define BATCH_OPLOCK_RETURN 2
#define LEVEL_II_OPLOCK_RETURN 3
+/* oplock levels sent in oplock break */
+#define OPLOCK_BREAK_TO_NONE 0
+#define OPLOCK_BREAK_TO_LEVEL_II 1
+
+
#define CMD_REPLY 0x8000
/* The maximum length of a trust account password.