svn commit: samba r7222 - in branches/SAMBA_4_0/source/smb_server: .

idra at samba.org idra at samba.org
Fri Jun 3 11:25:56 GMT 2005


Author: idra
Date: 2005-06-03 11:25:55 +0000 (Fri, 03 Jun 2005)
New Revision: 7222

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7222

Log:

remove double call to the same function in the same place, probable cut&paste error


Modified:
   branches/SAMBA_4_0/source/smb_server/negprot.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/negprot.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/negprot.c	2005-06-03 11:23:15 UTC (rev 7221)
+++ branches/SAMBA_4_0/source/smb_server/negprot.c	2005-06-03 11:25:55 UTC (rev 7222)
@@ -44,12 +44,6 @@
 		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)));



More information about the samba-cvs mailing list