[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP and Solaris
On Friday 22 March 2002 07:15, Dirk Meul wrote:
| Thank you!
|
| I missed the patch, but now i'm able to use LDAP if i create
| /var/ldap/ldap_client_file and /var/ldap/ldap_client_cred by hand. But
| ldapclient didn't work.
|
| ldapclient -v -P default -d informatik.rwth-aachen.de <ip>
| parsing -P option
| parsing -d option
| findDN: begins
| findDN: calling __ns_ldap_default_config()
| found 1 namingcontexts
| findDN: __ns_ldap_list(NULL,
| "(&(objectclass=nisDomainObject)(nisdomain=informatik.rwth-aachen.de))"
| rootDN[0] dc=informatik,dc=rwth-aachen,dc=de
| NOTFOUND:Could not find the nisDomainObject for DN
| dc=informatik,dc=rwth-aachen,dc=de
| cannot find search base DN
|
| But ldapsearch -h <ip> -b 'dc=informatik,dc=rwth-aachen,dc=de' -s sub
| "(objectClass=nisdomainobject)" gives:
| dc=informatik,dc=rwth-aachen,dc=de
| dc=informatik
| objectClass=top
| objectClass=domain
| objectClass=nisdomainobject
| objectClass=organization
| objectClass=dcobject
| [...]
| nisDomain=informatik.rwth-aachen.de
|
| What i'm doing worng?
|
Solaris is very picky about the spelling of objectclasses, try
"objectclass=nisDomainObject". This is how our entry looks:
dc=rentec,dc=com
o=rentec
nisDomain=rentec.com
associatedDomain=rentec.com
dc=rentec
objectClass=top
objectClass=organization
objectClass=nisDomainObject
objectClass=domainRelatedObject
objectClass=dcObject
--
Karsten.
"Things should be made as simple as possible, but not any simpler."
-Albert Einstein