Public bug reported:

I'm getting the following kind of errors during the boot process on
Ubuntu 15.04:

May 11 12:19:25 vagrant-ubuntu-vivid-64 sh[482]: nss_ldap: could not connect to 
any LDAP server as (null) - Can't contact LDAP server
May 11 12:19:25 vagrant-ubuntu-vivid-64 sh[482]: nss_ldap: failed to bind to 
LDAP server ldap://ldap: Can't contact LDAP server
May 11 12:19:25 vagrant-ubuntu-vivid-64 sh[482]: nss_ldap: reconnecting to LDAP 
server...
May 11 12:19:25 vagrant-ubuntu-vivid-64 sh[482]: nss_ldap: could not connect to 
any LDAP server as (null) - Can't contact LDAP server
May 11 12:19:25 vagrant-ubuntu-vivid-64 sh[482]: nss_ldap: failed to bind to 
LDAP server ldap://ldap: Can't contact LDAP server
May 11 12:19:25 vagrant-ubuntu-vivid-64 sh[482]: nss_ldap: reconnecting to LDAP 
server (sleeping 1 seconds)...

This happens before the network is up, when the ldap server is obviously
unreachable. Once the network is up ldap authentication works properly.

The problem is that the boot process shouldn't need to retrieve any user or 
group from the ldap server.
The same configuration was working fine in Ubuntu 14.10

** Affects: libnss-ldap (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: boot ldap

** Attachment added: "/etc/nsswitch.conf"
   
https://bugs.launchpad.net/bugs/1454223/+attachment/4396187/+files/nsswitch.conf

** Tags added: ldap

** Tags added: boot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454223

Title:
  nss-ldap tries to access ldap server before the network is up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/1454223/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to