I think I need a different apache version. I need to protect some folders. Since every user of the system should get accsess I want to use auth basic with AuthBasicProvider ldap. This works good beside a little problem: to retrive the LDAP password by some external script I need version 2.2.25. Installed is Server version: Apache/2.2.15 (Unix).
How can I upgrade to a later Version of Apache?
Are there any reasons why the Apache version in the distro is Version 2.2.15?
Yes, because we are using packages from upstream.
But if you want to authenticate Apache against LDAP, I know is possible with current release. @Stll0 can you please share your config?
Thank you for your hint. I got it working with the password in the apache conf file for this virtual host. I took my a while but I figured it out.
For security reasons do not want the clear text password in the config file. The apache malual says:
AuthLDAPBindPassword Directive
Description:Password used in conjuction with the bind DN
Syntax:AuthLDAPBindPassword password
Context:directory, .htaccess
Override:AuthConfig
Status:Extension
Module:mod_authnz_ldap
Compatibility:exec: was added in 2.2.25.
exec is needet to retrive the password with some programm.
anyway.
@ Stefano: How do I use the template you linked above? I want to use a virtuel host where the protected direcories are defined.