LDAP VS Kerberos for authentication breaks php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 corprmssvc@xxxxx

#       AuthLDAPBindPassword ****

#       AuthLDAPURL "ldap://lb1101.na.hq:3268/DC=na,DC=hq?sAMAccountName?sub"

#       Require valid-user

#</Directory>


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux