]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Remove code commented out >15y ago
authorVolker Lendecke <vl@samba.org>
Wed, 1 Jul 2026 15:14:33 +0000 (17:14 +0200)
committerAnoop C S <anoopcs@samba.org>
Fri, 3 Jul 2026 04:47:29 +0000 (04:47 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/smbd/smb2_negprot.c

index 1c3f35c7113006372d0c9e7afa39bedd4d4cd83c..d17ade00667d15788785602ac7005e3b3569181d 100644 (file)
@@ -742,14 +742,8 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
 
        security_offset = SMB2_HDR_BODY + 0x40;
 
-#if 1
-       /* Try SPNEGO auth... */
        security_buffer = data_blob_const(negprot_spnego_blob.data + 16,
                                          negprot_spnego_blob.length - 16);
-#else
-       /* for now we want raw NTLMSSP */
-       security_buffer = data_blob_const(NULL, 0);
-#endif
 
        if (posix) {
                /* Client correctly negotiated SMB2 unix extensions. */