nscd: nss_ldap: could not search LDAP server - Server is unavailable

Asked by Rodrigo Ferreira dos Santos on 2018-08-01

I configured authentication by LDAP in my Bionic Server, and works fine, but sometimes I can't connect on the server and the message in /var/log/auth.log is "nscd: nss_ldap: could not search LDAP server - Server is unavailable" ....
There are lots of servers using this LDAP and I dont have this issue.

Could you help me?

Thanks.

Rodrigo

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2018-08-02
Last reply:
2018-08-02

Can you ping the LDAP server OK?
Does the name resolve to the correct IP?
Can you telnet to port 389 and/or 636 on the server from the problematic system?
Are there any firewalls or proxies in between?
Are there local firewalls on either system? Are they allowing the LDAP traffic?

Yes, I can ping the server and the authentication (LDAP) works sometimes, but this error message is intermittent.

Does the name resolve to the correct IP? Yes, I have a entry to LDAP Server in /etc/hosts.
Can you telnet to port 389 and/or 636 on the server from the problematic system? Yes, without problems.
Are there any firewalls or proxies in between? Yes, there are firewalls, but I have allowed role.
Are there local firewalls on either system? Are they allowing the LDAP traffic? No there aren't.

Can you help with this problem?

Provide an answer of your own, or ask Rodrigo Ferreira dos Santos for more information if necessary.

To post a message you must log in.