[PATCH] Re: max connections not working like 2.0.7

Gerald Carter gcarter at valinux.com
Sun May 13 13:41:54 GMT 2001


On Sun, 13 May 2001, Andrew Bartlett wrote:

> 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.

Nope.  I think we going to have to find away to preserve this.
It allows us a "poor man's software metering" system.

Althought everyone esle seems to quiet.  Am I the only one who finds this
useful?  My gut feeling is that if we posted this question on
samba at samba.org, we would get enough of a response to push us to fix it.

> 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.

I'm not really worried about guest connections.






Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )





More information about the samba-technical mailing list