I think I am supposed to provide the bind DN with "-D" option i.e. cn=admin,dc=ldap-company,dc=com.
Hi Dieter,I will try to look it from a different angle. Once I am able to solve it, I will post it here.I have one more query.On my server, I am able to get the result by :# ldapsearch -d8 -H ldaps://ldap-company.com -b dc=ldap-company,dc=com uid=asimanandaSASL/DIGEST-MD5 authentication startedPlease enter your password:<Result>But the following query doesn't show any result and throws error.# ldapsearch -d8 -H ldaps://ldap-company.com -D dc=ldap-company,dc=com uid=asimananda -WEnter LDAP Password:ldap_bind: Invalid credentials (49)#Does this mean that I have still some configuration to do?Please comment.RegardsAsimanandaOn Mon, Sep 21, 2009 at 10:54 AM, Dieter Kluenter <dieter@dkluenter.de> wrote:
> Thanks for the reply.As I mentioned many times, this topip is neither OpenLDAP nor Ubuntu
>
> My Apache is built with openldap lib only.
>
> I am able to connect to ubuntu host my my solaris client on ports 389 and 636.
>
> Then I guess, apache is not able to verify the certificates presented. In that case, please let me know how do I debug
> slapd to watch apache connection.
related, it is just a question of how to properly set up Apache on Sun
Solaris 10.
Did you configure mod_auth_ldap and mod_ldap to use TLS?
There are two sources of information, Sun Bigadmin and Apache
documentation. Lot of documentation is referring to *.der or cert7.db
files, note that OpenLDAP only handles *.pem files. For mor
information on this topic read openssl documentation.
http://httpd.apache.org/docs/2.0/mod/mod_ldap.html
http://www.sun.com/bigadmin/home/index.jsp
-Dieter
--
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E