Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LDAP Client Setup on Solaris 8

144 views
Skip to first unread message

siva

unread,
Nov 23, 2004, 3:44:27 PM11/23/04
to
I am attempting to set up an ldap client on a Solaris 8 machine. All
references I find to completing this task indicate the use of the
ldapclient command. This command seems to be geared toward migrating
from NIS to ldap, which I am not doing. I want to create a fresh new
ldap client....anyone have any insight?

Ouput from ldapclient below:

[root@stevie-ray ldap]# ldapclient -v -P profile 192.168.69.102:13608
parsing -P option
findDN: begins
findDN: calling __ns_ldap_default_config()
found 2 namingcontexts
findDN: __ns_ldap_list(NULL,
"(&(objectclass=nisDomainObject)(nisdomain=br35lab.conres.com))"
rootDN[0] dc=br35lab,dc=conres,dc=com
NOTFOUND:Could not find the nisDomainObject for DN
dc=br35lab,dc=conres,dc=com
findDN: __ns_ldap_list(NULL,
"(&(objectclass=nisDomainObject)(nisdomain=br35lab.conres.com))"
rootDN[1] o=NetscapeRoot
NOTFOUND:Could not find the nisDomainObject for DN o=NetscapeRoot
findDN rename(/var/ldap/ldap_client_cred.orig,
/var/ldap/ldap_client_cred) failed!
cannot find search base DN

Thanks in advance for any assistance.

Robert Gruener

unread,
Nov 24, 2004, 11:50:21 AM11/24/04
to
ldapclient -P profilename -d domainname ip_adress_of_ldapserver

is the correct command. did you create the profile on your ldap server ?

siva

unread,
Nov 24, 2004, 5:25:46 PM11/24/04
to
Robert Gruener <rgru...@online.de> wrote in message

Yes i did create the profile. Looks Solaris native ldap client has lot
of issues need new schema files etc. I am looking for some one already
has a working solaris 8 client configuration. I am looking for *.ldif
files which has nisdominnameobject defined.

Thanks
siva
news:<Xns95ABB577...@130.133.1.4>...

Gary Tay Teng Teck

unread,
Nov 24, 2004, 6:14:11 PM11/24/04
to
siva wrote:

Look no further, I have it documented in my HOWTOs based on OpenLDAP:
http://web.singnet.com.sg/~garyttt

I had used SUN DS5.1 previously and later switched to OpenLDAP, but the
SUN profile schema remained mandatory for "ldaplist" and "id" command to
work, for DS5.1 one needs to complete the idsconfig setup, and the steps
to create vlvindex(es).

I also encouraged all to search SUN BigAdmin portal using keyword like
"ldap", "openldap", "proxyagent", "ldapclient", u would find many info
there.

From my and Jason Heiss's (http://ofb.net/~jheiss/krbldap/) experience,
IT IS NOT A MUST TO run "ldapclient" command to generate the profile
ldif, if u know what u ultimately want just create the profile ldif and
add it. I may be wrong in future when SUN changes its profile schema
creation method.

Use Solaris9 or later whenever possible, Solaris8 is weak or has
limitations or bugs in LDAP client libraries support unless u have
ldapv2 Patch 108993-38 installed.

Gary

0 new messages