LDAP проблема с загрузкой сервера RedHat

 

Проблема:

 

To relevant parts of nsswitch.conf on my system look like this:

 

passwd: files ldap

group: files ldap

shadow: files ldap

 

bind_policy hard

nss_reconnect_tries 3

nss_reconnect_sleeptime 1

nss_reconnect_maxconntries 3

 

 

INIT: version 2.86 booting

Starting the hotplug events dispatcher: udevd

udevd[374]: nss_ldap: could not connect to any LDAP server as (null) -

Can't contact LDAP server

udevd[374]: nss_ldap: failed to bind to LDAP server ldaps://foo.bar:

Can't contact LDAP server

udevd[374]: nss_ldap: could not connect to any LDAP server as (null) -

Can't contact LDAP server

udevd[374]: nss_ldap: failed to bind to LDAP server ldaps://foo.bar:

Can't contact LDAP server

udevd[374]: nss_ldap: could not connect to any LDAP server as (null) -

Can't contact LDAP server

udevd[374]: nss_ldap: failed to bind to LDAP server ldaps://foo.bar:

Can't contact LDAP server

udevd[374]: nss_ldap: reconnecting to LDAP server (sleeping 4 seconds)

...

If you think the boot takes still to long, you can decrease these values 

further. Another possibility would be to use "bind_policy soft", but if I use 

that option, some other services started after udevd cannot connect to the 

LDAP server correctly.

 

Решение:

 

/etc/ldap.conf

 

bind_policy soft

nss_reconnect_tries 3

nss_reconnect_sleeptime 1

nss_reconnect_maxconntries 3