Do you have "nss_initgroups_ignoreusers" set in /etc/ldap.conf? It could be 
that you are missing a user in that list? Ours look like:

nss_initgroups_ignoreusers 
root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman,nscd,gdm

Or do you have anything in /etc/nsswitch.conf doing "ldap files" rather than 
"files ldap"?

Looking at my running udevd on a RHEL5.5 box I see:

t# lsof -p 657
COMMAND PID USER   FD   TYPE             DEVICE    SIZE  NODE NAME
udevd   657 root  cwd    DIR              253,0    1024     2 /
udevd   657 root  rtd    DIR              253,0    1024     2 /
udevd   657 root  txt    REG              253,0   61864 65609 /sbin/udevd
udevd   657 root  mem    REG              253,0  139416 28676 /lib64/ld-2.5.so
udevd   657 root  mem    REG              253,0   95464 28733 
/lib64/libselinux.so.1
udevd   657 root  mem    REG              253,0  247496 28731 
/lib64/libsepol.so.1
udevd   657 root  mem    REG              253,0 1718120 28683 /lib64/libc-2.5.so
udevd   657 root  mem    REG              253,0   23360 28689 
/lib64/libdl-2.5.so
udevd   657 root  mem    REG              253,0   53880 28698 
/lib64/libnss_files-2.5.so
udevd   657 root    0u   CHR                1,3          1634 /dev/null
udevd   657 root    1u   CHR                1,3          1634 /dev/null
udevd   657 root    2u   CHR                1,3          1634 /dev/null
udevd   657 root    3u  unix 0xffff81022dff1c00          1649 socket
udevd   657 root    4u  sock                0,5          1650 can't identify 
protocol
udevd   657 root    5r  FIFO                0,6          1660 pipe
udevd   657 root    6w  FIFO                0,6          1660 pipe
udevd   657 root    7r   DIR               0,10       0   541 inotify

Notice that the only libnss library open is for files? I'm guessing that my 
server is resolving whatever udevd needs from files...

I'd recommend always leaving "files" first.

Kevin

From: rhelv5-list-boun...@redhat.com [mailto:rhelv5-list-boun...@redhat.com] On 
Behalf Of Blackburn, Marvin
Sent: Friday, August 24, 2012 6:41 AM
To: rhelv5-list@redhat.com
Subject: [rhelv5-list] ldap fails to bind when during boot


I get the following messages wen booting

udev: udevd[696]: nss_ldap: failed to bind to LDAP Server... Can't contact LDAP 
Server
We get this through sleeps numerous sleeps - though it finally fails and the 
boot process begins.

I have read a few bugs on this but it is in 5.2 and I'm running 5.7.

Any help would be appreciated.

_____________________________________
"He's no failure. He's not dead yet."
William Lloyd George

_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to