Allow "security = share" with SMB2. We already handle this in smb2/smb2_server.c
authorJeremy Allison <jra@samba.org>
Wed, 26 Jan 2011 18:50:44 +0000 (10:50 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 26 Jan 2011 19:37:29 +0000 (20:37 +0100)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Jan 26 20:37:29 CET 2011 on sn-devel-104

source3/smbd/process.c

index 4a93e7f0417cb8d2f64560dab9d00485976ff651..12ea28a3992cdb9c45261113eac31aab3f7bdb4b 100644 (file)
@@ -2915,7 +2915,6 @@ void smbd_process(struct smbd_server_connection *sconn)
        int ret;
 
        if (lp_maxprotocol() == PROTOCOL_SMB2 &&
-           lp_security() != SEC_SHARE &&
            !lp_async_smb_echo_handler()) {
                /*
                 * We're not making the desion here,