svn commit: samba r14101 - branches/SAMBA_3_0/source/utils trunk/source/utils

vlendec at samba.org vlendec at samba.org
Thu Mar 9 21:07:16 GMT 2006


Author: vlendec
Date: 2006-03-09 21:07:15 +0000 (Thu, 09 Mar 2006)
New Revision: 14101

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

Log:
Fix a segfault in trustdom establish, cli is NULL here.
Modified:
   branches/SAMBA_3_0/source/utils/net_rpc.c
   trunk/source/utils/net_rpc.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_rpc.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_rpc.c	2006-03-09 20:51:24 UTC (rev 14100)
+++ branches/SAMBA_3_0/source/utils/net_rpc.c	2006-03-09 21:07:15 UTC (rev 14101)
@@ -5551,7 +5551,7 @@
 
 	/* store who we connected to */
 
-	saf_store( domain_name, cli->desthost );
+	saf_store( domain_name, pdc_name );
 	
 	/*
 	 * Connect to \\server\ipc$ again (this time anonymously)

Modified: trunk/source/utils/net_rpc.c
===================================================================
--- trunk/source/utils/net_rpc.c	2006-03-09 20:51:24 UTC (rev 14100)
+++ trunk/source/utils/net_rpc.c	2006-03-09 21:07:15 UTC (rev 14101)
@@ -5551,7 +5551,7 @@
 
 	/* store who we connected to */
 
-	saf_store( domain_name, cli->desthost );
+	saf_store( domain_name, pdc_name );
 	
 	/*
 	 * Connect to \\server\ipc$ again (this time anonymously)



More information about the samba-cvs mailing list