Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 05-06-2008, 07:10 AM
info.avatar
Tablet PC Guest
 
Posts: n/a
Proble with LDAP

Hello, I installed a Debian with LDAP on a server with AMD 64 bit processor.
The problem is that while booting client show me this error an enormous
amount of times in a loop:

udevd [1305]: nss_ldap : failed to bind ldap server
ldap://192.168.201.16 can't contact ldap server

Pressing Ctrl + c, the system starts and at the login ldap is working
correctly.

how do I fix this?

Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 05-06-2008, 07:10 AM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 05-06-2008, 09:48 PM
Michael Ziegler
Tablet PC Guest
 
Posts: n/a
Re: Proble with LDAP

info.avatar wrote:
> The problem is that while booting client show me this error an enormous
> amount of times in a loop:
>
> udevd [1305]: nss_ldap : failed to bind ldap server
> ldap://192.168.201.16 can't contact ldap server
>
> Pressing Ctrl + c, the system starts and at the login ldap is working
> correctly.


Make sure your nsswitch.conf lists ldap as the very last entry in each
row, because on boot, nsc tries to determine udev's UID. If ldap is then
listed before files in nsswitch.conf, nsc tries to connect to LDAP via a
network device that is not yet running.

Regards
Michael
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 05-09-2008, 03:40 AM
Cheesgno
Tablet PC Guest
 
Posts: n/a
Re: Proble with LDAP

On 6 Mag, 23:34, Michael Ziegler <diese-a...@funzt-halt.net> wrote:
> info.avatar wrote:
> > The problem is that while booting client show me this error an enormous
> > amount of times in a loop:

>
> > udevd [1305]: nss_ldap : failed to bind ldap server
> > ldap://192.168.201.16 can't contact ldap server

>
> > Pressing Ctrl + c, the system starts and at the login ldap is working
> > correctly.

>
> Make sure your nsswitch.conf lists ldap as the very last entry in each
> row, because on boot, nsc tries to determine udev's UID. If ldap is then
> listed before files in nsswitch.conf, nsc tries to connect to LDAP via a
> network device that is not yet running.
>
> Regards
> Michael


Thank you for your help.
Now the system doesn't loop any more.
However, the error continues to remain; but after some attempts the
system goes on.

Regards


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 06-07-2008, 12:40 AM
AJackson
Tablet PC Guest
 
Posts: n/a
Re: Proble with LDAP

On May 6, 11:34 pm, Michael Ziegler <diese-a...@funzt-halt.net> wrote:
> info.avatar wrote:
> > The problem is that while booting client show me this error an enormous
> > amount of times in a loop:

>
> > udevd [1305]: nss_ldap : failed to bind ldap server
> > ldap://192.168.201.16 can't contact ldap server

>
> > Pressing Ctrl + c, the system starts and at the login ldap is working
> > correctly.


This is normal shortcomings inbetween udev, ldap and nss i libc (/etc/
nsswitch.conf)

udev is looking up some users/groups before the network is up (it has
to, to set up network devices).
If you have ldap installed, as you obviously have, it will try to
connect to the server. Which it can't do
untill network is set up. This was a big problem for me for a while.
I hade to have a script that switched
two versions of /etc/nsswitch.conf. One without ldap when booting,
and one with ldap which was copied
when network was set up.
The problem was that ldap-library never timed out. Now it is, and it
is those warnings you see (unless you run
an old Debian, in which case you have the problem I hade).

> Make sure your nsswitch.conf lists ldap as the very last entry in each
> row, because on boot, nsc tries to determine udev's UID. If ldap is then
> listed before files in nsswitch.conf, nsc tries to connect to LDAP via a
> network device that is not yet running.


That doesn't solve this problem, as I described here. It is all
described in Debian bug database at libpam-ldap and/or libnss-ldap

>
> Regards
> Michael


Good luck, Jackson
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vista and windows programs do not work in cd/dvd drive burn proble Steve Windows Vista 2 02-05-2008 01:20 PM
MySQL Vs. LDAP Michael Everson Linux 3 10-21-2007 03:40 PM
Gateway M275 Screen Orientation Proble RCParrish Windows XP Tablet PC Newsgroup 3 03-27-2007 05:00 PM
LDAP Directory?? Bowhunt Pocket PC General 0 03-23-2007 02:15 PM
Autophide proble cmd Windows Media 1 02-04-2007 10:52 AM


All times are GMT -8. The time now is 12:43 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0