diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-19 08:31:48 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-10-19 14:13:08 +0200 |
commit | 75689effdfa2a54515fddaf823aedd07f562efc1 (patch) | |
tree | ef2a8688f1b6198dfca6e620a453414f6f4b4917 /source4/smb_server | |
parent | 5c5fc5dde45618b9ec9f41fbb4aa090b161ebf35 (diff) | |
download | samba-75689effdfa2a54515fddaf823aedd07f562efc1.tar.gz |
s4-smb_server do not set credentials on gensec twice
The samba_server_gensec_start() has already set the credentials
on the gensec_security context.
Andrew Bartlett
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb/negprot.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/smb_server/smb/negprot.c b/source4/smb_server/smb/negprot.c index 739881dadcf..2a31f9fc475 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); |