r12442: only set the "wins server" parameter if it's not set
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Dec 2005 23:03:02 +0000 (23:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:40 +0000 (13:47 -0500)
metze

source/param/loadparm.c

index 361450821a65ea13915d208c9f464a0f0788b72e..290dd361e811e1ec77f5cb8c2a54d209a14b7483 100644 (file)
@@ -2401,7 +2401,7 @@ BOOL lp_load(void)
 
        bLoaded = True;
 
-       if (Globals.bWINSsupport) {
+       if (!Globals.szWINSservers && Globals.bWINSsupport) {
                lp_do_parameter(-1, "wins server", "127.0.0.1");
        }