mod_ldap and Basic Auth

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

 



I have finally moved to Apache Httpd 2.4 from 2.2 and I am having issues getting our basic authentication to our ldap for some very specific areas. Below is what our 2.2 configuration used and worked just fine and the new 2.4 config that is not working. When I use the 2.4 it prompts for username and password but throws a Internal Server Error after submitting.  I am sure it is something I am missing but I cannot figure it out.

 

2.2 config

 

<Location /tpg>

                AuthType basic

                AuthBasicProvider ldap

                AuthName "Partners"

                SetHandler none

                Order deny,allow

                Deny from all

                Allow from all

                AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com

                AuthzLDAPAuthoritative off

                Require valid-user

</Location>

 

<Location /SoftwareDownload>

                AuthType basic

                AuthBasicProvider ldap

                AuthName "Partners"

                SetHandler none

                Order deny,allow

                Deny from all

                Allow from all

                AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com

                AuthzLDAPAuthoritative off

                Require valid-user

</Location>

 

<Location /focis>

                AuthType basic

                AuthBasicProvider ldap

                AuthName "Partners"

                SetHandler none

                Order deny,allow

                Deny from all

                Allow from all

                AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com

                AuthzLDAPAuthoritative off

                Require valid-user

</Location>

 

 

2.4 config (If I add “Required all granted” if does not prompt and lets everyone in)

 

   <Location /tpg>

                AuthType basic

                AuthBasicAuthoritative On

                AuthBasicProvider ldap

                AuthName "Partners"

                SetHandler none

                AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com

                Require valid-user

   </Location>

 

   <Location /SoftwareDownload>

                AuthType basic

                AuthBasicAuthoritative On

                AuthBasicProvider ldap

                AuthName "Partners"

                SetHandler none

                AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com

                Require valid-user

   </Location>

 

   <Location /focis>

                AuthType basic

                AuthBasicAuthoritative On

                AuthBasicProvider ldap

                AuthName "Partners"

                SetHandler none

                AuthLDAPURL ldap://servername:389/o=directory1.fnc.fujitsu.com

                Require valid-user

   </Location>

 

John Berger


[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