[KLUG Members] ldap nss hosts

Dirk H Bartley bartleyd2 at chartermi.net
Tue Nov 30 14:35:49 EST 2004


ldap host lookups are working on older nss

nss_ldap-215-55
ping will NOT perform a lookup of a host that only exists in ldap

nss_ldap-198-3
ping will perform a lookup of a host that only exists in ldap ping in
fact will lock and not release with out a control-c interupt.

srvalum1:/etc/openldap # ldapsearch -v -x "cn=board" -b
"ou=Hosts,ou=SAM,dc=alum,dc=schupan,dc=com"
ldap_initialize( <DEFAULT> )
filter: cn=board
requesting: ALL
# extended LDIF
#
# LDAPv3
# base <ou=Hosts,ou=SAM,dc=alum,dc=schupan,dc=com> with scope sub
# filter: cn=board
# requesting: ALL
#
 
# board, Hosts, SAM, alum.schupan.com
dn: cn=board,ou=Hosts,ou=SAM,dc=alum,dc=schupan,dc=com
objectClass: top
objectClass: ipHost
objectClass: device
cn: board
ipHostNumber: 192.168.251.1
 
# search result
search: 2
result: 0 Success
 
# numResponses: 2
# numEntries: 1

So I'm sure anonymous can see the entry.

The two servers I am trying with are
openldap-servers-2.0.25-1 and openldap2-2.2.6-37.22

I've tried with both servers and both clients and the more recent client
is what consistently does not work.  Do recent nss's require a different
schema for the Hosts like with the Groups??

How do I test services, rpcs and protocols??

Dirk



More information about the Members mailing list