werner maes
2002-Jun-18 08:30 UTC
[Samba] Samba-LDAP:Ldap call each time you open a text file?
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? Any ideas? /var/log/ldap.log when opening a text file. ldap-hh slapd[22940]: conn=3922 op=19 SRCH base="o=kuleuven,c=be" scope=2 filter="(uid=m2000944)" ldap-hh slapd[22940]: conn=3922 op=19 SEARCH RESULT tag=101 err=0 textldap-hh slapd[22942]: conn=3922 op=20 SRCH base="o=kuleuven,c=be" scope=2 filter="(&(objectClass=posixGroup)(|(memberUid=m2000944)(uniqueMember=uid=m2000944,ou=stud,o=kuleuven,c=be)))" ldap-hh slapd[22942]: conn=3922 op=20 SEARCH RESULT tag=101 err=0 text ldap-hh slapd[22944]: conn=3922 op=21 SRCH base="o=kuleuven,c=be" scope=2 filter="(uid=m2000944)" ldap-hh slapd[22944]: conn=3922 op=21 SEARCH RESULT tag=101 err=0 textldap-hh slapd[22954]: conn=3922 op=22 SRCH base="o=kuleuven,c=be" scope=2 filter="(&(objectClass=posixGroup)(|(memberUid=m2000944)(uniqueMember=uid=m2000944,ou=stud,o=kuleuven,c=be)))" ldap-hh slapd[22954]: conn=3922 op=22 SEARCH RESULT tag=101 err=0 text Werner
Andrew Bartlett
2002-Jun-18 18:19 UTC
[Samba] Samba-LDAP:Ldap call each time you open a text file?
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. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net
werner maes
2002-Jun-19 00:29 UTC
[Samba] Samba-LDAP:Ldap call each time you open a text file?
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. Werner
Seemingly Similar Threads
- Samba 3.0.22-11 as PDC with openLDAP 2.3.19 => Problem with Shares
- Cannot join to domain: Username could not be found.
- database got corrupted, users could not login
- LDAP issue, access denied adding machine to domain, and LDAP user can't make unix-login on the box.
- smbldap- only user root can login to windows.