git.samba.org
/
ab
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edeccf0
)
s3:smbd: allow SMB2 only if we don't use security = share
author
Stefan Metzmacher
<metze@samba.org>
Wed, 27 May 2009 15:48:23 +0000
(17:48 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 3 Jun 2009 08:51:25 +0000
(10:51 +0200)
metze
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index e014965147a5d169e41ca9550b8bd4f7ef834f04..f63e36a62b16a1275ff3ef9254d38d4b15e4fa69 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-2017,7
+2017,8
@@
void smbd_process(void)
exit_server("failed to create smbd_server_connection");
}
- if (lp_maxprotocol() == PROTOCOL_SMB2) {
+ if (lp_maxprotocol() == PROTOCOL_SMB2 &&
+ lp_security() != SEC_SHARE) {
smbd_server_conn->allow_smb2 = true;
}