Configure Apache Webserver to authenticate from LDAP Server

1. Connect to the LDAP Server from an LDAP Browser 2. Uncomment these two modules in httpd.conf LoadModule ldap_module modules/mod_ldap.so LoadModule authnz_ldap_module modules/mod_authnz_ldap.so 3. Add the following Location directive <Location /> AuthType Basic Require valid-user AuthName   “Enter Your ldap Username/Password” AuthBasicProvider   ldap AuthzLDAPAuthoritative   off AuthLDAPURL    ldap://localhost:444

Continue reading »

Common LDAP Server Issues

The causes of the exceptions are discussed in brief. If you have anything to add, feel free to comment! com.bea.security.providers.xacml.store.ldap.LDAPException: netscape.ldap.LDAPException: error result (49) This exception is encountered when the password of the principal trying to connect to the LDAP Server is wrong. The AD-specific error code is the one

Continue reading »