[PATCH] Re: max connections not working like 2.0.7
Andrew Bartlett
abartlet at pcug.org.au
Sun May 13 03:21:00 GMT 2001
Gerald Carter wrote:
>
> On Sun, 13 May 2001, Andrew Bartlett wrote:
>
> > Could we get away with 'max sessions' for some of those cases.
> > Considering we have a linear search in sesion.c already (for pam/utmp
> > 'terminal' names), it would not be hard to implement.
>
> I'm open to any solution that keeps the semantics :-)
This would limit the number of session setups, but not the number of
tree connects. As such it would not preserve the semantics completely,
but might provide a solution for some sites when that is what they
wanted anyway.
Unfortunately if the intent is to prevent more than one person accessing
a share at a time, ie for lock-less databases, then it won't help -
unless you prevent more than one person from accessing the server at a
time. Also, guest connections are exempt from session.c, due to the
accounting cost.
Andrew Bartlett
--
Andrew Bartlett
abartlet at pcug.org.au
More information about the samba-technical
mailing list