ldapclient question

From: David Rigsby (drigsby@brantek.com)
Date: Thu Mar 25 2004 - 12:47:53 EST


I have installed Sun's directory Server 5.2 on Solaris 8, I have configured
the servers, ran idsconfig, and configured my ldapclient as such:

ldapclient -v -P default -d stbdap1.mydomain.com 135.7.7.1

The results of ldapclient -l are as follows:

NS_LDAP_FILE_VERSION= 2.0
NS_LDAP_SERVERS= 135.7.7.1
NS_LDAP_SEARCH_BASEDN= dc=stbdap1,dc=cms-c,dc=com
NS_LDAP_SEARCH_REF= FALSE
NS_LDAP_SEARCH_SCOPE= one
NS_LDAP_SEARCH_TIME= 30
NS_LDAP_PROFILE= default
NS_LDAP_CREDENTIAL_LEVEL= anonymous
NS_LDAP_BIND_TIME= 10

I have loaded hosts data into the ldap server and an ldapsearch confirms the
data is there. My nsswitch.conf file is using ldap as opposed to nisplus.
However when I attempt a lookup on the hosts information (ping, telnet, ftp
to hostname) the host name does not resolve. Am I missing something to get
the system to find the host information in ldap ?

Here is a snippet from the hosts.ldif file I loaded into the ldap server:

dn: cn=stbdap2,ou=hosts,dc=stbdap1,dc=cms-c,dc=com
changetype: add
objectclass: top
objectclass: ipHost
ipHostNumber: stbdap2
cn: stbdap2
cn: 135.7.7.2
description: stbdap2

dn: cn=stbdcp1,ou=hosts,dc=stbdap1,dc=cms-c,dc=com
changetype: add
objectclass: top
objectclass: ipHost
ipHostNumber: stbdcp1
cn: stbdcp1
cn: 135.7.7.141
description: stbdcp1
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:21 EDT