r12442: only set the "wins server" parameter if it's not set
[samba.git] / 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");
        }