RE: RH9 - LDAP Client Oddness after up2date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since nobody has commented on this, I'll follow up with my progress for
the archives.

nss_ldap appears to be broken in RedHat (I've tested RH9, and AWS 2.1).

My first problem was with having "hosts: files ldap dns" in nsswitch.conf
because that caused recursive dns lookups trying to resolve the name
of the ldap server.

Solved that problem by changing the line to "hosts: files dns ldap".  At
that point the segmentation faults go away, but ldap is never used for
hostname lookups.  "getent hosts" will return the entire list of hosts,
but key matching does not work (getent hosts <somehost>) and name 
resolution doesn't work.

I found that compiling and installing the nss_ldap tarball from padl.com
resolves the problem (of course it's not a packaged solution).

-Steve

> -----Original Message-----
> From: redhat-list-admin@xxxxxxxxxx
> [mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of Rigler, Steve
> Sent: Monday, November 24, 2003 8:26 AM
> To: redhat-list@xxxxxxxxxx
> Subject: RH9 - LDAP Client Oddness after up2date
> 
> 
> Curious if anyone has been hit with this...
> 
> I just up2date'd a RH9 client machine.  I believe the 
> relevant packages
> to the problem I'm experiencing are glibc and/or nscd (probably glibc,
> since I observe this with nscd disabled).
> 
> Steps to duplicate:
> 
> 1. Upgrade packages:
> up2date -u
> 
> 2. Make sure nsswitch.conf has ldap listed for
> % grep ^hosts /etc/nsswitch.conf
> hosts:      files ldap dns
> 
> 3. Do a "getent hosts" and observe that only the local 
> entries are listed
>    and a segfault occurrs when ldap is queried:
> % getent hosts
> 127.0.0.1       localhost.localdomain localhost
> xx.xx.xx.xx    xxx
> Segmentation fault
> 
> 4. Switch back to some other form of name-resolution and it works fine
>    (the alternative I'm using is NIS):
> % grep ^hosts /etc/nsswitch.conf
> hosts:      files nis dns
> % getent hosts | wc -l
>     541
> 
> So far, it appears as though only hostname resolution is affected.
> Passwd/group entries appear just fine.
> 
> Ideas?
> 
> -Steve
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux