I am having problems with Samba responding really slowly and have looked through the logs and there are heaps of messages like the following... smbd[4293]: nss_ldap: could not search LDAP server - Server is unavailable I am not using LDAP and cannot see anything in smb.conf which tells it to use LDAP. Unfortunately web searches are most unhelpful as they all seem to offer assistance in getting LDAP to work, which I am not interested in. Can anyone please tell me how to tell samba not to try and talk to an LDAP server? Thanx -- View this message in context: http://old.nabble.com/LDAP-server-unavailable---but-I%27m-not-using-LDAP-tp26227611p26227611.html Sent from the Samba - General mailing list archive at Nabble.com.
Miguel Medalha
2009-Nov-06 22:25 UTC
[Samba] LDAP server unavailable - but I'm not using LDAP
> Can anyone please tell me how to tell samba not to try and talk to an LDAP > server? > >We cannot help you unless you show us your smb.conf file...
On 6/11/2009 6:01 PM, maestr0 wrote:> I am having problems with Samba responding really slowly and have looked > through the logs and there are heaps of messages like the following... > > smbd[4293]: nss_ldap: could not search LDAP server - Server is unavailable > > I am not using LDAP and cannot see anything in smb.conf which tells it to > use LDAP. >nss_ldap is not a Samba thing. It's for the underlying OS to look up names from LDAP. Check your /etc/nsswitch.conf for references to LDAP. BTW, what OS/distro are you using? TB