svn commit: samba r16957 - branches/SAMBA_3_0/source/libads trunk/source/libads

jerry at samba.org jerry at samba.org
Tue Jul 11 21:09:13 GMT 2006


Author: jerry
Date: 2006-07-11 21:09:13 +0000 (Tue, 11 Jul 2006)
New Revision: 16957

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

Log:
fix cut-n-paste error.  The check for 'if (\!salt)' make no sense when fetching the DES salting principal
Modified:
   branches/SAMBA_3_0/source/libads/kerberos.c
   trunk/source/libads/kerberos.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/kerberos.c
===================================================================
--- branches/SAMBA_3_0/source/libads/kerberos.c	2006-07-11 20:54:05 UTC (rev 16956)
+++ branches/SAMBA_3_0/source/libads/kerberos.c	2006-07-11 21:09:13 UTC (rev 16957)
@@ -336,11 +336,6 @@
 
 	salt = (char*)secrets_fetch( key, NULL );
 
-	if ( !salt ) {
-		DEBUG(8,("kerberos_secrets_fetch_des_salt: NULL salt!\n"));
-		secrets_delete( key );
-	}
-
 	SAFE_FREE( key );
 
 	return salt;

Modified: trunk/source/libads/kerberos.c
===================================================================
--- trunk/source/libads/kerberos.c	2006-07-11 20:54:05 UTC (rev 16956)
+++ trunk/source/libads/kerberos.c	2006-07-11 21:09:13 UTC (rev 16957)
@@ -336,11 +336,6 @@
 
 	salt = (char*)secrets_fetch( key, NULL );
 
-	if ( !salt ) {
-		DEBUG(8,("kerberos_secrets_fetch_des_salt: NULL salt!\n"));
-		secrets_delete( key );
-	}
-
 	SAFE_FREE( key );
 
 	return salt;



More information about the samba-cvs mailing list