svn commit: samba r6388 - in branches/SAMBA_3_0/source/client: .

jerry at samba.org jerry at samba.org
Tue Apr 19 14:03:09 GMT 2005


Author: jerry
Date: 2005-04-19 14:03:08 +0000 (Tue, 19 Apr 2005)
New Revision: 6388

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

Log:
BUG 2626: ensure that the calling_name is set to something after parsing smb.conf (if not set via -n)
Modified:
   branches/SAMBA_3_0/source/client/client.c


Changeset:
Modified: branches/SAMBA_3_0/source/client/client.c
===================================================================
--- branches/SAMBA_3_0/source/client/client.c	2005-04-19 13:54:06 UTC (rev 6387)
+++ branches/SAMBA_3_0/source/client/client.c	2005-04-19 14:03:08 UTC (rev 6388)
@@ -3472,6 +3472,8 @@
 
 	if ( strlen(calling_name) != 0 )
 		set_global_myname( calling_name );
+	else
+		pstrcpy( calling_name, global_myname() );
 
 	if(poptPeekArg(pc)) {
 		pstrcpy(service,poptGetArg(pc));  



More information about the samba-cvs mailing list