svn commit: samba r19203 - in branches/SAMBA_3_0/source/smbd: .

vlendec at samba.org vlendec at samba.org
Mon Oct 9 13:26:30 GMT 2006


Author: vlendec
Date: 2006-10-09 13:26:29 +0000 (Mon, 09 Oct 2006)
New Revision: 19203

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

Log:
Part two of returning our real name. This code is a bit ancient... :-)
Modified:
   branches/SAMBA_3_0/source/smbd/lanman.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/lanman.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/lanman.c	2006-10-09 11:52:57 UTC (rev 19202)
+++ branches/SAMBA_3_0/source/smbd/lanman.c	2006-10-09 13:26:29 UTC (rev 19203)
@@ -2691,7 +2691,7 @@
 
 		if ((count=get_server_info(SV_TYPE_ALL,&servers,lp_workgroup()))>0) {
 			for (i=0;i<count;i++) {
-				if (strequal(servers[i].name,get_local_machine_name())) {
+				if (strequal(servers[i].name,global_myname())) {
 					servertype = servers[i].type;
 					push_ascii(comment,servers[i].comment,sizeof(pstring),STR_TERMINATE);
 				}



More information about the samba-cvs mailing list