svn commit: samba r12442 - in branches/SAMBA_4_0/source/param: .

metze at samba.org metze at samba.org
Thu Dec 22 23:03:03 GMT 2005


Author: metze
Date: 2005-12-22 23:03:02 +0000 (Thu, 22 Dec 2005)
New Revision: 12442

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

Log:
only set the "wins server" parameter if it's not set

metze
Modified:
   branches/SAMBA_4_0/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_4_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_4_0/source/param/loadparm.c	2005-12-22 22:15:52 UTC (rev 12441)
+++ branches/SAMBA_4_0/source/param/loadparm.c	2005-12-22 23:03:02 UTC (rev 12442)
@@ -2401,7 +2401,7 @@
 
 	bLoaded = True;
 
-	if (Globals.bWINSsupport) {
+	if (!Globals.szWINSservers && Globals.bWINSsupport) {
 		lp_do_parameter(-1, "wins server", "127.0.0.1");
 	}
 



More information about the samba-cvs mailing list