svn commit: samba r18201 - in branches/SAMBA_3_0/source/libads: .

jra at samba.org jra at samba.org
Thu Sep 7 04:17:24 GMT 2006


Author: jra
Date: 2006-09-07 04:17:23 +0000 (Thu, 07 Sep 2006)
New Revision: 18201

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

Log:
Make explicit what's going on here.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/libads/kerberos.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/kerberos.c
===================================================================
--- branches/SAMBA_3_0/source/libads/kerberos.c	2006-09-07 04:01:11 UTC (rev 18200)
+++ branches/SAMBA_3_0/source/libads/kerberos.c	2006-09-07 04:17:23 UTC (rev 18201)
@@ -520,7 +520,7 @@
 	char *tmpname = NULL;
 	char *fname = NULL;
 	char *file_contents = NULL;
-	char *kdc_ip_string;
+	char *kdc_ip_string = NULL;
 	size_t flen = 0;
 	ssize_t ret;
 	int fd;
@@ -627,6 +627,7 @@
 			return True; /* Not a fatal error. */
 		}
 
+		/* Yes, this is a race conditon... too bad. */
 		if (unlink("/etc/krb5.conf") == -1) {
 			DEBUG(0,("create_local_private_krb5_conf_for_domain: unlink "
 				"of /etc/krb5.conf failed. Errno %s\n",



More information about the samba-cvs mailing list