Autentificación LDAP en Apache 2
En el fichero httpd.conf en el area server config tenemos que poner el tipo de seguridad que utiliza nuestro LDAP. Por ejemplo:
LDAPTrustedMode NONE
Admite 3 tipos, NONE, SSL y TLS/STARTTLS.
Despues en nuestro virtual host tenemos que agregar las siguientes opciones marcadas en rojo:
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2’s default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
AuthType Basic
AuthName “acceso LDAP”
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPURL “ldap://localhost:389/dc=nodomain”
Require valid-user
</Directory>
Y con eso ya estaría, si alguien consigue pasar la autentificacion Web a Drupal que me avise ![]()
- Posted by tru3n0 at 02:44 pm
- Permalink for this entry
- Filed under: Apache
- RSS comments feed of this entry
- TrackBack URI
que modulo de autenticacion usas? mod_authz_ldap????
Si, se me olvido ponerlo, un saludo