Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
htaccess [2011/03/31 20:22] admin |
htaccess [2011/11/19 17:04] 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 32: | Zeile 32: | ||
AuthLDAPURL ldap://10.67.0.5/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 on | ||
+ | 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> | ||