Translations of this page:

LDAP Authentifizierung

User Authentifierung an ADS/LDAP

Systemvoraussetzungen

Apache Version 2.2.3 (SLES 10)

Konfiguration

Apache Module:

/etc/apache2/sysconfig.d/loadmodule.conf
LoadModule ldap_module                    /usr/lib/apache2-prefork/mod_ldap.so
LoadModule authnz_ldap_module             /usr/lib/apache2-prefork/mod_authnz_ldap.so

Ueber YaST2 konfigurieren, da die Apache Module in der Datei “/etc/sysconfig/apache2“ aufgefuehrt werden!

LDAP Auth in Vhost

/etc/apache2/nagios2.conf
<Directory "/usr/local/nagios/sbin">
    Options ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from 172.0.0.0/255.0.0.0
    AuthName "Nagios Access"
    AuthType Basic
    AuthBasicProvider file ldap
    AuthzLDAPAuthoritative Off
    AuthLDAPBindDN cn=LDAPUser,CN=Users,DC=GER,DC=DOMAIN-FIRMA,DC=LOCAL
    AuthLDAPBindPassword ldapuser
    AuthLDAPURL "ldap://adspdc:389/OU=Firma Users,DC=GER,DC=DOMAIN-FIRMA,DC=LOCAL?sAMAccountName?sub?(objectClass=user)"
    AuthUserFile /usr/local/nagios/etc/passwd
    Require valid-user
</Directory>

Apache neustarten:

/usr/sbin/apache2ctl restart
nagios/howtos/ldap_authentifizierung.txt · Zuletzt geändert: 2008/08/18 10:10 von deneu
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0