Patch for the "Too many session users" error

Jeremy Allison jra at samba.org
Wed Apr 14 20:56:04 GMT 2004


On Wed, Apr 07, 2004 at 03:13:56PM +0100, Pat.Hayward at propero.net wrote:
> Hi List,
> 
> I was hitting the "smbd/password.c:add_session_user(367)  Too many session
> users??" error in load-testing so I thought I'd better fix it.  We use
> Windows terminal services a lot and I see from past postings that others
> have had this problem when lots of users connect from one machine.
> 
> Based on the code from samba-3.0.2a I've built and tested this on RedHat
> 7.3 and also tested it briefly on RedHat Enterprise 2.1
> 
> Here's the patch to smbd/password.c , hope it can be of use to others?

Looks good - thanks a *lot* ! I'm going to apply it for 3.0.3.

Cheers,

	Jeremy.


More information about the samba-technical mailing list