LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ldap server lookup at boot (https://www.linuxquestions.org/questions/linux-server-73/ldap-server-lookup-at-boot-677414/)

linx win 10-18-2008 01:43 PM

ldap server lookup at boot
 
I am using Debian Unstable based distro. I followed the steps in the following howto to authenticate KDM against samba/ldap domain (ClarkConnect) using nss_ldap:
http://www.debuntu.org/ldap-server-a...dap-clients-p2
Although, I am able to join the domain, I am not able to obtain users data stored in the ldap database.

Code:

root@server:/home/my_server# wbinfo -u
Error looking up domain users

I have noticed at system boot, udev is trying to get nss_ldap to connect to the ldap server even before starting the networking and keeps repeating the following message:

Code:

nss_ldap: failed to bind to LDAP server ldapi:///192.168.100.20/: Can't contact LDAP server
How to delay the ldap server lookup at boot time until the networking is started?

UPDATE:

Sorry, the problem was due to a typo in the libnss_ldap.conf file, so I do not see a need for this post.


All times are GMT -5. The time now is 03:00 AM.