====== 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 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 Apache neustarten: /usr/sbin/apache2ctl restart