Beiträge zum Stichwort ‘ Apache ’

Apache und ActiveDirectory per Kerberos- und LDAP-Auth

30. Januar 2009 | Von admin | Kategorie: Perl, Webserver

AD-Authentifizierung per Kerberos mit dem Modul auth_kerb_module
[root@server ~]# vi /etc/httpd/conf/httpd.conf
### Apache Kerberos Auth
AuthType  Kerberos
KrbAuthRealms OSNETS.DE
KrbServiceName HTTP
Krb5Keytab /etc/httpd/conf.d/proxy.osnets.de.keytab
KrbMethodNegotiate on
KrbMethodK5Passwd off
require valid-user
AD-Authentifizierung per LDAP mit dem Modul mod_auth_ldap (RHEL4):
[root@server ~]# vi /etc/httpd/conf/httpd.conf
### LDAP-Auth gegen AD
order allow,deny
allow from all
AuthType Basic
AuthName “AD Anmeldung”
AuthLDAPAuthoritative on
AuthLDAPBindDN LDAPUSER@internal.osnets.de
AuthLDAPBindPassword LDAPKENNWORT
AuthLDAPURL ldap://DOMÄNENCONTROLLER:3268/?sAMAccountName??(objectclass=*)
require valid-user
AD-Authentifizierung per LDAP mit [....]

>> Weiterlesen...