diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-31 07:40:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:50 -0500 |
commit | f53293ffbfe37fd8a3bb1a7ec509b356ef2259c7 (patch) | |
tree | 2183812813eb13781644c9605469ab3cfdd6c0fe | |
parent | 2acf961638fde09d0319b87fe2ec98a40ee4a30b (diff) | |
download | samba-f53293ffbfe37fd8a3bb1a7ec509b356ef2259c7.tar.gz samba-f53293ffbfe37fd8a3bb1a7ec509b356ef2259c7.tar.bz2 samba-f53293ffbfe37fd8a3bb1a7ec509b356ef2259c7.zip |
r4439: unlimited connections is -1
metze
(This used to be commit e62b36bef193f6a58ee035d581ef0f574f1e2910)
-rw-r--r-- | source4/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 17769c5965..8e535c0900 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -1669,7 +1669,7 @@ static BOOL lp_add_hidden(const char *name, const char *fstype, BOOL guest_ok) string_set(&ServicePtrs[i]->szUsername, ""); string_set(&ServicePtrs[i]->comment, comment); string_set(&ServicePtrs[i]->fstype, fstype); - ServicePtrs[i]->iMaxConnections = 0; + ServicePtrs[i]->iMaxConnections = -1; ServicePtrs[i]->bAvailable = True; ServicePtrs[i]->bRead_only = True; ServicePtrs[i]->bGuest_only = False; |