1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r4439: unlimited connections is -1

metze
(This used to be commit e62b36bef1)
This commit is contained in:
Stefan Metzmacher 2004-12-31 07:40:14 +00:00 committed by Gerald (Jerry) Carter
parent 2acf961638
commit f53293ffbf

View File

@ -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;