Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Letzte Überarbeitung Beide Seiten der Revision | ||
htaccess [2011/03/25 21:28] admin |
htaccess [2011/11/19 11:03] admin |
||
---|---|---|---|
Zeile 24: | Zeile 24: | ||
*[[http://www.gaijin.at/olshtcrypt.php|.htpasswd Crypt]] | *[[http://www.gaijin.at/olshtcrypt.php|.htpasswd Crypt]] | ||
- | =====.htaccess mit LDAP Authentifizierung===== | + | =====.htaccess mit LDAP Authentifizierung für alle Benutzer ===== |
<file> | <file> | ||
AuthType Basic | AuthType Basic | ||
Zeile 30: | Zeile 30: | ||
AuthBasicProvider ldap | AuthBasicProvider ldap | ||
AuthzLDAPAuthoritative off | AuthzLDAPAuthoritative off | ||
- | AuthLDAPURL ldap://bgweiz.at/ou=people,dc=bgweiz,dc=at | + | AuthLDAPURL ldap://10.67.0.5/ou=people,dc=bgweiz,dc=at |
Require valid-user | Require valid-user | ||
+ | </file> | ||
+ | |||
+ | =====.htaccess mit LDAP Authentifizierung einer Gruppe ===== | ||
+ | |||
+ | <file> | ||
+ | AuthType Basic | ||
+ | AuthName "5B - Rainer" | ||
+ | AuthBasicProvider ldap | ||
+ | AuthzLDAPAuthoritative off | ||
+ | AuthLDAPUrl ldap://10.67.0.5/dc=bgweiz,dc=at?uid | ||
+ | AuthLDAPGroupAttributeIsDN off | ||
+ | AuthLDAPGroupAttribute memberUid | ||
+ | Require ldap-group cn=rainer5b,ou=groups,dc=bgweiz,dc=at | ||
+ | Options +Indexes | ||
</file> | </file> | ||