Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LDAP error on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pacolotero
n00b
n00b


Joined: 19 Apr 2013
Posts: 29

PostPosted: Wed Jul 16, 2014 6:35 am    Post subject: LDAP error on boot Reply with quote

After update @world, when I boot my pc show this error many times.

Jul 16 16:32:38 localhost slim: nss_ldap: failed to bind to LDAP server ldap://192.168.1.1: Can't contact LDAP server
Jul 16 16:32:38 localhost slim: nss_ldap: could not search LDAP server - Server is unavailable
Jul 16 16:32:38 localhost slim: nss_ldap: failed to bind to LDAP server ldap://192.168.1.1: Can't contact LDAP server
Jul 16 16:32:38 localhost slim: nss_ldap: could not search LDAP server - Server is unavailable
Jul 16 16:32:38 localhost slim: nss_ldap: failed to bind to LDAP server ldap://192.168.1.1: Can't contact LDAP server
Jul 16 16:32:38 localhost slim: nss_ldap: could not search LDAP server - Server is unavailable

Takes more time to boot the pc but after displaying the error several times ldap works perfectly
Back to top
View user's profile Send private message
hdcg
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2013
Posts: 119

PostPosted: Wed Jul 16, 2014 5:50 pm    Post subject: Reply with quote

Hi,

this is most likely caused by the fact, that nss is queried for user information while ldap is not yet up and running.

There should be some kind of blacklist option in you nss_ldap.conf (or how the file is named) that you can use to prevent nss_ldap lookup for some known users. You should add the any user here that is used to start a service prior to your ldap server.

Best Regards,
Holger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum