diff options
author | Christopher R. Hertel <crh@samba.org> | 2000-07-18 20:15:15 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 2000-07-18 20:15:15 +0000 |
commit | 1b718f67675e52520f193a8c71c110246e70723f (patch) | |
tree | 26415efb850f7b3fe2f47bb0222a055df1a18a60 /source/utils/testparm.c | |
parent | f038a24e9f624fdb04cd52769d45783248ce8a38 (diff) | |
download | samba-1b718f67675e52520f193a8c71c110246e70723f.tar.gz samba-1b718f67675e52520f193a8c71c110246e70723f.tar.xz samba-1b718f67675e52520f193a8c71c110246e70723f.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. ;)
Diffstat (limited to 'source/utils/testparm.c')
-rw-r--r-- | source/utils/testparm.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source/utils/testparm.c b/source/utils/testparm.c index 009fed80eaf..dcf114bc91c 100644 --- a/source/utils/testparm.c +++ b/source/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; } |