Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
informatique:reseau:apache:authentification_ldap [2012/02/03 14:47] – bn8 | informatique:reseau:apache:authentification_ldap [2015/03/26 12:36] (Version actuelle) – bn8 | ||
---|---|---|---|
Ligne 27: | Ligne 27: | ||
<Files soumission.php> | <Files soumission.php> | ||
AuthType Basic | AuthType Basic | ||
- | AuthName " | + | AuthName " |
AuthBasicProvider ldap | AuthBasicProvider ldap | ||
- | | + | AuthLDAPURL ldap://ldap.example.com/dc=example, |
- | | + | AuthLDAPBindDN uid=apache, |
- | | + | |
AuthLDAPRemoteUserIsDN off | AuthLDAPRemoteUserIsDN off | ||
- | require ldap-filter | + | require ldap-filter |
#require valid-user | #require valid-user | ||
</ | </ | ||
+ | | ||
+ | ===== Pour Wheezy ===== | ||
- | Doc : http://caldergroup.com/configure/apacheldapauthentication.html | + | < |
+ | < | ||
+ | AuthType ldap | ||
+ | AuthType Basic | ||
+ | AuthName "Admin Only" | ||
+ | AuthBasicProvider ldap | ||
+ | AuthLDAPURL ldap://127.0.0.1/o=example | ||
+ | AuthLDAPBindDN uid=apache, | ||
+ | AuthLDAPBindPassword secret | ||
+ | AuthLDAPRemoteUserIsDN off | ||
+ | require valid-user | ||
+ | </Location> | ||
+ | </ | ||
+ | |||
+ | < | ||
===== Avec un apache comme proxy ===== | ===== Avec un apache comme proxy ===== | ||
Ligne 65: | Ligne 81: | ||
ProxyPassReverse / http:// | ProxyPassReverse / http:// | ||
</ | </ | ||
- | |||
- | |||