s3:smbd: remove deprecated 'use spnego = no" handling
authorStefan Metzmacher <metze@samba.org>
Thu, 7 Dec 2017 10:35:26 +0000 (11:35 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 10 Jan 2018 00:01:24 +0000 (01:01 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/negprot.c

index cdbc2c4089eabdd01de9f8b5b3e0984dee4ff77b..3a9363d528b861a7e34fceda0b7296597bfa1b66 100644 (file)
@@ -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;