[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Error on boot



On Wednesday 19 November 2008 22:23:05 Dieter Kluenter wrote:
> Ronni Feldt <rofe@one.com> writes:
> > Hi,
> >
> > I've installed and configured LDAP and Kerberos which works fine.
> >
> > The only problem is that when I start my computer, I get the following
> > error:
> >
> > udevd[2282]: nss_ldap: failed to bind to LDAP Server
> > ldap://ldap.one.com: Can't contact LDAP Server
> > udevd[2282]: reconnecting to LDAP Server...
> > udevd[2282]: could not connect to any LDAP Server as (null) - Can't
> > contact LDAP Server
> > udevd[2282]: could not search LDAP Server - Server is unavailable
>
> [...]
>
> I presume you run linux. The ldap instance is started after the
> network instance has been started (runlevel 3 on most systems), is
> therefor not present at system start (runlevel 1).
>
> > How do I solve this?
>
> edit /etc/nsswitch.conf to read files first.

And if you already have files first, I would recommend (for now) to add:

bind_policy soft

to the nss_ldap ldap.conf (/etc/libnss-ldap.conf or similar on Debian, 
/etc/ldap.conf on most other distros including recent Ubuntu AFAIK).

Regards,
Buchan