svn commit: samba r24437 - in branches: SAMBA_3_2/source/nsswitch SAMBA_3_2_0/source/nsswitch

gd at samba.org gd at samba.org
Tue Aug 14 20:26:37 GMT 2007


Author: gd
Date: 2007-08-14 20:26:35 +0000 (Tue, 14 Aug 2007)
New Revision: 24437

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

Log:
Remove "done" in winbindd_raw_kerberos_login() as well.

Guenther

Modified:
   branches/SAMBA_3_2/source/nsswitch/winbindd_pam.c
   branches/SAMBA_3_2_0/source/nsswitch/winbindd_pam.c


Changeset:
Modified: branches/SAMBA_3_2/source/nsswitch/winbindd_pam.c
===================================================================
--- branches/SAMBA_3_2/source/nsswitch/winbindd_pam.c	2007-08-14 20:20:51 UTC (rev 24436)
+++ branches/SAMBA_3_2/source/nsswitch/winbindd_pam.c	2007-08-14 20:26:35 UTC (rev 24437)
@@ -551,10 +551,8 @@
 
 	}
 
-	result = NT_STATUS_OK;
+	return NT_STATUS_OK;
 
-	goto done;
-
 failed:
 
 	/* we could have created a new credential cache with a valid tgt in it
@@ -575,10 +573,8 @@
 			state->request.data.auth.user));
 	}
 
-done:
-
 	return result;
-#else 
+#else
 	return NT_STATUS_NOT_SUPPORTED;
 #endif /* HAVE_KRB5 */
 }

Modified: branches/SAMBA_3_2_0/source/nsswitch/winbindd_pam.c
===================================================================
--- branches/SAMBA_3_2_0/source/nsswitch/winbindd_pam.c	2007-08-14 20:20:51 UTC (rev 24436)
+++ branches/SAMBA_3_2_0/source/nsswitch/winbindd_pam.c	2007-08-14 20:26:35 UTC (rev 24437)
@@ -551,10 +551,8 @@
 
 	}
 
-	result = NT_STATUS_OK;
+	return NT_STATUS_OK;
 
-	goto done;
-
 failed:
 
 	/* we could have created a new credential cache with a valid tgt in it
@@ -575,10 +573,8 @@
 			state->request.data.auth.user));
 	}
 
-done:
-
 	return result;
-#else 
+#else
 	return NT_STATUS_NOT_SUPPORTED;
 #endif /* HAVE_KRB5 */
 }



More information about the samba-cvs mailing list