From 042ab1adbe9b06cf945006fd0752152ffb913c04 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 3 Jun 2005 11:25:55 +0000 Subject: r7222: remove double call to the same function in the same place, probable cut&paste error (This used to be commit 615618f192a05b95ab0e0fba68e339a6df1a3363) --- source4/smb_server/negprot.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source4/smb_server') diff --git a/source4/smb_server/negprot.c b/source4/smb_server/negprot.c index 8223f66dc7..0a33b105cd 100644 --- a/source4/smb_server/negprot.c +++ b/source4/smb_server/negprot.c @@ -44,12 +44,6 @@ static NTSTATUS get_challenge(struct smbsrv_connection *smb_conn, uint8_t buff[8 return nt_status; } - nt_status = auth_context_create(smb_conn, lp_auth_methods(), &smb_conn->negotiate.auth_context); - if (!NT_STATUS_IS_OK(nt_status)) { - DEBUG(0, ("auth_context_create() returned %s", nt_errstr(nt_status))); - return nt_status; - } - nt_status = auth_get_challenge(smb_conn->negotiate.auth_context, &challenge); if (!NT_STATUS_IS_OK(nt_status)) { DEBUG(0, ("auth_get_challenge() returned %s", nt_errstr(nt_status))); -- cgit