httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asimananda Mohanty <>
Subject [users@httpd] Regarding OpenLDAP Access From Apache
Date Fri, 18 Sep 2009 05:55:11 GMT
Hi All,
I am a new member in this group. I am facing an issue regarding openLDAP
access from apache http server and here are the details.

1. I have configured a openLDAP server configured with gnutls as can be seen
below :


ldd slapd =>  (0xb7f6d000) => /usr/lib/ (0xb7f19000) => /usr/lib/ (0xb7f0b000) => /usr/lib/ (0xb7db6000) => /usr/lib/ (0xb7d4f000) => /lib/tls/i686/cmov/ (0xb7d36000) => /usr/lib/ (0xb7d26000) => /lib/tls/i686/cmov/ (0xb7d0d000) => /usr/lib/ (0xb7cf5000) => /usr/lib/ (0xb7c57000) => /usr/lib/ (0xb7c45000) => /lib/ (0xb7c2f000) => /lib/ (0xb7bc6000) => /lib/tls/i686/cmov/ (0xb7b94000) => /lib/tls/i686/cmov/ (0xb7b7d000) => /usr/lib/ (0xb7b74000) => /lib/tls/i686/cmov/ (0xb7b70000) => /lib/ (0xb7b67000) => /lib/tls/i686/cmov/ (0xb7a04000)
        /lib/ (0xb7f6e000) => /lib/ (0xb7a00000)


2. I have my apache http server sitting on a solaris 10 x86 machine. The
httpd.conf details are below (related to LDAP).


                <Location />
                    AuthType Basic
                    AuthLDAPEnabled on
                    AuthLDAPBindDN cn=admin,dc=ldapcompany,dc=com
                    AuthLDAPBindPassword 12345678
                    AuthName realm1
                    Require valid-user


3. I need to access the application GUI through apache and the user
authentication happens through LDAP. AppAttr is an user defined attribute
that controls the kind of controls the user can see on the GUI, e.g. admin
user can see all the controls and so on.

4. With the above settings in httpd.conf, the GUI access happens without any

5. The time I change the "ldap" to "ldaps" in AuthLDAPUrl, GUI access
doesn't happen.

6. At first look, it may give an impression that SSL/TLS is not enabled on
my openLDAP server. But this is not the case.

7. Here is the command that gives perfect result and that can happen only if
SSL/TLS is enabled on the same.


ldapsearch -d8 -H ldaps:// -b dc=ldapcompany,dc=com


ldapsearch -d8 -ZZ -H ldap:// -b dc=ldapcompany,dc=com


Both commands ask for a password and after the password is given, it shows
the result without fail.

Either of the commands can be used i.e. with ldaps url OR ldap url with -ZZ
option that forces TLS.

8. My issue is, if SSL/TLS is enabled on the openLDAP, why "ldaps" url
doesn't work from apache?

Please help me resolving the issue.


View raw message