Maximum Session IDs

Andrew Bartlett abartlet at pcug.org.au
Wed Dec 5 04:32:09 GMT 2001


Chris Tooley wrote:
> 
> On Mon, 2001-12-03 at 15:23, Andrew Bartlett wrote:
> > Chris Tooley wrote:
> > >
> > > Sorry forgot the subject, Evolution dumped on me in the middle of composing the first time round.
> > >
> > > I'm getting the following errors.  How do I get rid of the max on
> > > session IDs?
> > >
> > > [2001/12/03 09:11:00, 1] smbd/session.c:session_claim(88)
> > >   session_claim: out of session IDs (max is 3000)
> > > [2001/12/03 09:11:00, 1] smbd/password.c:register_vuid(316)
> > >   Failed to claim session for vuid=100
> > > [2001/12/03 09:11:51, 2] smbd/reply.c:reply_sesssetup_and_X(980)
> > >   Defaulting to Lanman password for tlowke
> > > [2001/12/03 09:11:51, 1] smbd/session.c:session_claim(88)
> > >   session_claim: out of session IDs (max is 3000)
> > > [2001/12/03 09:11:52, 1] smbd/password.c:register_vuid(316)
> > >   Failed to claim session for vuid=100
> > > [2001/12/03 09:11:52, 2] smbd/server.c:exit_server(458)
> > >   Closing connections
> > >
> > > I'm running samba 2.2.2 on RedHat 6.2 with kernel 2.2.19.  I've
> > > restarted samba and that seems to have fixed the problem temporarily.
> >
> > OK, do you really have 3000 users logged into your server?
> 
> No, more like about 30.  It's happening about every 3 or 4 hours though.
> 
> >
> > If not, we have a bug in there somehwere...
> >
> Crap, this just started happening, and it's going to severely hamper my
> job.
> 
> Thanks for looking into it.  Let me know what you need.

This smells like TDB corruption.

We increment the counter until we get a number that we can correctly
store.  So, if nothing can be stored at all, then you get that error.

Check your disk space for the samba locks directory.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba mailing list