[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Solaris 8 and OpenLDAP



On Tue, 23 Jul 2002, LDC - Pablo Endres Lozada wrote:

>
> 	Hi, I've been fighting with openLDAP for some time now.
>
> 	I've done the following:
>
> 	1.) Patched the server (Both patches found on archives)
> 	2.) Created the /var/ldap/* by hand

If you have done this properly, you do _not_ have to run ldapclient.
Email us the contents of /var/ldap/ldap_client_(cred|file)

> 	3.) Changed nsswitch.conf
> 	4.) Created the profiles and loaded them in the server
>
> 	I have the following:
>
> 	1.) listusers gives me all the users
> 	2.) ldaplist gives me the tree of the directory
> 	3.) ldapclient say's:
>
> findDN: begins
> findDN: calling __ns_ldap_default_config()
> found 1 namingcontexts
> findDN: __ns_ldap_list(NULL,
> "(&(objectclass=nisDomainObject)(nisdomain=example.com))"
> rootDN[0] dc=example,dc=com
> NOTFOUND:Could not find the nisDomainObject for DN dc=example,dc=com
> cannot find search base DN
>
> 	4.) If I do the same search by hand I get nothing.  Doing
> 	the search of the objectclass only gives me this:
>

> ldapsearch -D "cn=Ultras,ou=LDAPusers,dc=example,dc=com" -b
> "dc=example,dc=com" -h <ip> '(objectclass=nisDomainObject)'
> Bind Password:
> dc=example,dc=com
> dc=example.com
> objectClass=dcObject
> objectClass=organization
> objectClass=nisDomainObject
> o=Example . Com
> nisdomain=example.com
>

What is the DN of this entry?

-- 
Igor