s4-smb_server No longer follow the security=share smb.conf directive
[kai/samba.git] / source4 / smb_server / session.c
index 53193c5312e95136dc1d4e92902244ed2e4ab5ea..3cb657604144fb2c0fb2fdb6b40122ca87192469 100644 (file)
@@ -140,9 +140,6 @@ struct smbsrv_session *smbsrv_session_new(struct smbsrv_connection *smb_conn,
        struct smbsrv_session *sess = NULL;
        int i;
 
-       /* Ensure no vuid gets registered in share level security. */
-       if (smb_conn->config.security == SEC_SHARE) return NULL;
-
        sess = talloc_zero(mem_ctx, struct smbsrv_session);
        if (!sess) return NULL;
        sess->smb_conn = smb_conn;