The branch, master has been updated
       via  8be8d911a8a055a9f56f9987a0782bd1df16b2e4 (commit)
      from  edeccf0df0989df5a36f88642d0e373847955be2 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 8be8d911a8a055a9f56f9987a0782bd1df16b2e4
Author: Stefan Metzmacher <[email protected]>
Date:   Wed May 27 17:48:23 2009 +0200

    s3:smbd: allow SMB2 only if we don't use security = share
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/process.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index e014965..f63e36a 100644
--- 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;
        }
 


-- 
Samba Shared Repository

Reply via email to