summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r--source4/smb_server/smb/negprot.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/smb_server/smb/negprot.c b/source4/smb_server/smb/negprot.c
index 739881dadc..2a31f9fc47 100644
--- a/source4/smb_server/smb/negprot.c
+++ b/source4/smb_server/smb/negprot.c
@@ -383,10 +383,6 @@ static void reply_nt1(struct smbsrv_request *req, uint16_t choice)
}
req->smb_conn->negotiate.server_credentials = talloc_reparent(req, req->smb_conn, server_credentials);
- gensec_set_target_service(gensec_security, "cifs");
-
- gensec_set_credentials(gensec_security, server_credentials);
-
oid = GENSEC_OID_SPNEGO;
nt_status = gensec_start_mech_by_oid(gensec_security, oid);