Removed the sanity check on the WINS SERVER parameter because it simply
authorChristopher R. Hertel <crh@samba.org>
Tue, 18 Jul 2000 20:15:15 +0000 (20:15 +0000)
committerChristopher R. Hertel <crh@samba.org>
Tue, 18 Jul 2000 20:15:15 +0000 (20:15 +0000)
checked to see that only one server was listed.  As I am working on an
enhancement that allows multiple servers to be listed...this was a bit
contrary.  ;)
(This used to be commit 1b718f67675e52520f193a8c71c110246e70723f)

source3/utils/testparm.c

index 009fed80eaf054a95bd25166c59f40719d8336e1..dcf114bc91c9cf0d693de4d3e42c6dd6d1aefd25 100644 (file)
@@ -137,23 +137,6 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_
                }
        }
 
-       /*
-        * WINS server line sanity checks.
-        */
-
-       if(*lp_wins_server()) {
-               fstring server;
-               int count = 0;
-               char *p = lp_wins_server();
-
-               while(next_token(&p,server,LIST_SEP,sizeof(server)))
-                       count++;
-               if(count > 1) {
-                       printf("ERROR: the 'wins server' parameter must only contain one WINS server.\n");
-                       ret = -1;
-               }
-       }
-
        return ret;
 }