Hey guys,
I have an interesting problem. Up until recently I was using LDAP for my
authentication against a win2k3 domain. Now I'm trying to switch to
Kerberos for the single sign on benefits. All I did was comment out the old
directory stanza that had the LDAP in it, and add a new directory stanza for
the Kerberos. However, now all the PHP scripts prompt to download instead
of running. If I switch it back to LDAP by commenting/uncommenting the
correct paragraphs they run again just fine. Anyone have any ideas?
#LDAPSharedCacheSize 200000
#LDAPCacheEntries 1024
#LDAPCacheTTL 300
#LDAPOpCacheEntries 1024
#LDAPOpCacheTTL 300
<Directory "/var/www/html/ipplan">
AuthName "Kerberos Login"
AuthType Kerberos
KrbAuthRealms NA.HQ
KrbServiceName HTTP
Krb5Keytab /etc/httpd/http.keytab
KrbMethodNegotiate on
KrbMethodK5Passwd on
require valid-user
</Directory>
#<Directory "/var/www/html/ipplan">
# AuthBasicProvider ldap
# AuthName "Active Directory Authentication"
# AuthType Basic
# AuthzLDAPAuthoritative off #
# AuthLDAPBindDN [email protected]
# AuthLDAPBindPassword ****
# AuthLDAPURL
"ldap://lb1101.na.hq:3268/DC=na,DC=hq?sAMAccountName?sub"
# Require valid-user
#</Directory>