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:
parent
2acf961638
commit
f53293ffbf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user