Re: [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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[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 text= ldap-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 text= ldap-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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [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 [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