werner maes wrote:
> 
> At 11:14 19/06/2002, Andrew Bartlett wrote:
> >werner maes wrote:
> > >
> > > Hello,
> > >
> > > When I open a text file on a Samba fileserver using LDAP for
> > > authentication, Samba always makes these LDAP calls (see below). The user
> > > has been authenticated so why does Samba still makes these LDAP
> > connections?
> >
> >Samba's ldap handling is 'inefficient' to say the least.  It also hits
> >the underlying getpw*() interface a fair bit - particulary becouse
> >clients often request additional info about a file - like owner - and
> >sysadmins have various smb.conf options set.
> 
> Thanks for the information.
> Do you know whether this ldap handling will be improved?
> I tried to eliminate the smb.conf options that could effect this behaviour
> but with no result. The ldap calls were still made.

Most of this is simply glibc and nsswitch doing their stuff.  The rest
is becouse we re-open smbd's own ldap connections per use.   However,
what you see is just glibc at work.

Try using ncsd if this bothers you.  Does this really affect
performance?  Just becouse somthing can be logged doesn't mean that its
a problem.

Andrew Bartlett

-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to