Richard Bruno
navigation
Home
admin









Apache 2 - Authentification LDAP
October 18th, 2016

Objectif : S'authentifier sur un LDAP



cf. http://directory.fedoraproject.org/wiki/Howto:Apache
"There are two modules available for Apache that handle authentication through LDAP: mod_authnz_ldap, which ships with Apache itself, and mod_authz_ldap, which is an external module."

J'utilise mod_authnz_ldap.
la config :


<Location "/ldap_protected">
AuthType Basic
AuthName "Secure Area"
AuthBasicProvider ldap

AuthzLDAPAuthoritative Off
AuthLDAPURL "ldap://localhost:389/ou=People,dc=domaine,dc=fr"
AuthLDAPBindDN "cn=admin,dc=domaine,dc=fr"
AuthLDAPBindPassword "xxxxx"

Require ldap-filter title=IGE
#Require valid-user
</Location>


-> L'authentification se fait sur le ldap.
+ on vérifie que le champ title est positionné à "IGE"

voir aussi ?doc=Apache_2_-_Cassifier_un_repertoire_-_PHPCAS, pour une cassification + vérification d'attributs


Dernières modifs
Selinux (October 24th, 2020)
Apache 2 - Cassifier un repertoire - PHPCAS (October 18th, 2016)
Apache 2 - Authentification LDAP (October 18th, 2016)
Cas (October 18th, 2016)
Eduroam (October 18th, 2016)
Hashage (October 18th, 2016)
Keepass (October 18th, 2016)

Contact
Pour m'envoyer un mail,
Pour me laisser un commentaire :
richard.brunooo
chez
gmail.com


powered by kure, modified by Bruno