LAB Linux in heterogenen Netzen Apache2 Ldap: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 3: | Zeile 3: | ||
==ldap anbinden== | ==ldap anbinden== | ||
<pre> | <pre> | ||
| − | + | # Verlinken der Module | |
| − | |||
| − | |||
a2enmod authnz_ldap | a2enmod authnz_ldap | ||
| Zeile 18: | Zeile 16: | ||
Require valid-user | Require valid-user | ||
</Directory> | </Directory> | ||
| − | |||
| − | |||
# LDAP anbinden über eine Gruppe | # LDAP anbinden über eine Gruppe | ||
| Zeile 34: | Zeile 30: | ||
</Directory> | </Directory> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</pre> | </pre> | ||
Version vom 10. Oktober 2024, 09:38 Uhr
verlinken der module
a2enmod authnz_ldap
ldap anbinden
# Verlinken der Module a2enmod authnz_ldap # LDAP anbinden <Directory /var/www/html> AuthType Basic AuthBasicProvider ldap AuthName "LDAP-AUTHENTIFIKATION" AuthLDAPURL ldap://winn2020.lab34.linuggs.de/dc=lab34,dc=linuggs,dc=de?uid?sub AuthLDAPBindDN "cn=serviceaccount,dc=lab34,dc=linuggs,dc=de" AuthLDAPBindPassword "dein_passwort" Require valid-user </Directory> # LDAP anbinden über eine Gruppe <Directory /var/cache/git/> Options Indexes FollowSymLinks AllowOverride AuthConfig AuthName "Ldap Restricted Access" AuthType Basic AuthBasicProvider ldap AuthLDAPURL ldaps://winn2020.lab34.linuggs.de/dc=lab34,dc=linuggs,dc=de AuthLDAPBindDN "cn=serviceaccount,dc=lab34,dc=linuggs,dc=de" AuthLDAPBindPassword "dein_passwort" Require ldap-group cn=nuxtuxer,ou=groups,dc=lab34,dc=linuggs,dc=de </Directory>