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

Re: OpenLDAP and Solaris

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,
rootDN[0] dc=informatik,dc=rwth-aachen,dc=de
NOTFOUND:Could not find the nisDomainObject for DN
cannot find search base DN

But ldapsearch -h <ip> -b 'dc=informatik,dc=rwth-aachen,dc=de' -s sub
"(objectClass=nisdomainobject)" gives:

What i'm doing worng?

Am Die, 2002-03-19 um 17.40 schrieb Karsten Künne:
> Dirk Meul wrote:
> > Hello!
> > 
> > If i'm right there is nobody running unmodified Solaris-clients with an
> > OpenLDAP server, isn't it? I.e no modules from PADL, but enable LDAP
> > with ldap_gen_profile and ldap_client. And not iPlanet server but
> > OpenLDAP.
> > 
> > I hope someone show me that this is possible and how to do this. An
> > example LDIF would be great ;-)
> > 
> > Regards,
> Works fine for us with Openldap 2.0.23 and unmodified Solaris nss_ldap. 
> You have to patch Openldap so that it sends operational attributes if 
> you ask for the rootDSE in order to make Sun's nss_ldap happy. Look 
> through the mailing list archives in order to find more. There is also 
> documentation from Sun on docs.sun.com ("LDAP Setup and Configuration 
> Guide" or "Implementing LDAP in the Solaris Operating Environment") with 
> LDIF examples.
> A good URL I found was http://www.ypass.net/solaris8/openldap (good 
> recipe and documentation).
> -- 
> Karsten.
> "As long as the spirit of innovation is preserved and destructive
>   viruses are recognised as industrial terrorism, Microsoft will
>   continue to provide revolutionary ideas."
>                                               Lane Thomas
_______________________________   /"\
Dirk Meul                         \ /    ASCII Ribbon Campaign
dirkm@informatik.rwth-aachen.de    X     Against HTML Mail
                                  / \