From: Volker Lendecke Date: Wed, 1 Jul 2026 15:14:33 +0000 (+0200) Subject: smbd: Remove code commented out >15y ago X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a19662bd51f55491de257ce7e293acb3ef06573;p=thirdparty%2Fsamba.git smbd: Remove code commented out >15y ago Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c index 1c3f35c7113..d17ade00667 100644 --- a/source3/smbd/smb2_negprot.c +++ b/source3/smbd/smb2_negprot.c @@ -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. */