From: Stefan Metzmacher Date: Thu, 7 Dec 2017 10:35:26 +0000 (+0100) Subject: s3:smbd: remove deprecated 'use spnego = no" handling X-Git-Tag: talloc-2.1.11~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=502aa787044d7215c4c509ee6305931a6eedcc44;p=thirdparty%2Fsamba.git s3:smbd: remove deprecated 'use spnego = no" handling Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index cdbc2c4089e..3a9363d528b 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -282,7 +282,6 @@ static void reply_nt1(struct smb_request *req, uint16_t choice) supports it and we can do encrypted passwords */ if (xconn->smb1.negprot.encrypted_passwords && - lp_use_spnego() && (req->flags2 & FLAGS2_EXTENDED_SECURITY)) { negotiate_spnego = True; capabilities |= CAP_EXTENDED_SECURITY;