Allow "security = share" with SMB2. We already handle this in smb2/smb2_server.c
[samba.git] / 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,