summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>2000-07-18 20:15:15 +0000
committerChristopher R. Hertel <crh@samba.org>2000-07-18 20:15:15 +0000
commitac56d8f848ab6d057cee84ee85945594b65597c4 (patch)
tree15f0990ae2dd573804199ba26344f9731a96b87b /source3/utils
parent2637bfee06c1fb2d5fcb9345ff56b0883e024f31 (diff)
downloadsamba-ac56d8f848ab6d057cee84ee85945594b65597c4.tar.gz
samba-ac56d8f848ab6d057cee84ee85945594b65597c4.tar.bz2
samba-ac56d8f848ab6d057cee84ee85945594b65597c4.zip
Removed the sanity check on the WINS SERVER parameter because it simply
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)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/testparm.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index 009fed80ea..dcf114bc91 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -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;
}