s4:smb_server: 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>
source4/smb_server/smb/negprot.c

index 79f506961ed8a624ce1213b7db683a89a0ee4865..cc95a607746e01b564b51e8365bb39864167f172 100644 (file)
@@ -297,7 +297,6 @@ static void reply_nt1(struct smbsrv_request *req, uint16_t choice)
           supports it and we can do encrypted passwords */
        
        if (req->smb_conn->negotiate.encrypted_passwords && 
-           lpcfg_use_spnego(req->smb_conn->lp_ctx) &&
            (req->flags2 & FLAGS2_EXTENDED_SECURITY)) {
                negotiate_spnego = true; 
                capabilities |= CAP_EXTENDED_SECURITY;