Hello All, I have apache 2.2 working fine with multiple ldap aliases. Recently i installed apache 2.4 and copied the ldap configs and followed the below link.
http://httpd.apache.org/docs/2.4/mod/mod_authn_core.html. But when I start apache, this is what I am getting as an error. *AH00526: Syntax error on line 484 of /home/apache2/conf/httpd.conf:* *Invalid command 'AuthLDAPBindDN', perhaps misspelled or defined by a module not included in the server configuration* I am of course loading the module. LoadModule authn_core_module modules/mod_authn_core.so Any help to fix this would be much appreciated. Below is the config. ============================= <AuthnProviderAlias ldap ldap-alias1> AuthLDAPBindDN "myu...@global.ad.mycompany.com" AuthLDAPBindPassword "asdfgh123" AuthLDAPURL "ldap:// global.ad.mycompany.com:389/ou=NA,ou=PROD,dc=global,dc=ad,dc=mycompany,dc=com?sAMAccountName?sub?(objectClass=*) " </AuthnProviderAlias> <AuthnProviderAlias ldap ldap-other-alias> AuthLDAPBindDN "myu...@global.ad.mycompany.com" AuthLDAPBindPassword "asdfgh123" AuthLDAPURL "ldap:// global.ad.mycompany.com:389/ou=INTL,ou=PROD,dc=global,dc=ad,dc=mycompany,dc=com?sAMAccountName?sub?(objectClass=*) " </AuthnProviderAlias> <AuthnProviderAlias ldap ldap-another-alias> AuthLDAPBindDN "myu...@global.ad.mycompany.com" AuthLDAPBindPassword "asdfgh123" AuthLDAPURL "ldap:// global.ad.mycompany.com:389/ou=VLTY,ou=NA,ou=PROD,dc=global,dc=ad,dc=mycompany,dc=com?sAMAccountName?sub?(objectClass=*) " </AuthnProviderAlias> Alias "/secure" "/home/apache2/htdocs" <Directory /home/apache2> #Order deny,allow #Allow from all AuthBasicProvider ldap-other-alias ldap-another-alias ldap-alias1 AuthType Basic AuthName Please_login_with_your_xxxxxx_as_username__and_windows_password_as_the_password Require valid-user </Directory> ====================================