You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Erik Bloodaxe <E....@gold.ac.uk> on 2008/12/11 16:03:29 UTC

Help required with auth and ldap.

Hi, all,

I have a strange problem with ldap auth.

In a .htaccess file I have:

    AuthBasicProvider ldap
    AuthType Basic
    AuthName "Access to somesite logs"
    AuthLDAPURL ldap://ldap-server.dlog.ac.uk/dc=gold,dc=ac,dc=uk?uid?base
    require ldap-user user1 user2 user3

This is working fine.  However when I change the require ldap-user to 
valid-user things stop working:

    AuthBasicProvider ldap
    AuthType Basic
    AuthName "Access to somesite logs"
    AuthLDAPURL ldap://ldap-server.dlog.ac.uk/dc=gold,dc=ac,dc=uk?uid?base
    require valid-user

I have googled and searched the archives but this gives no answer.  Can 
anyone assist?

Thanks in advance.

Regards

Erik



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Help required with auth and ldap.

Posted by Eric Covener <co...@gmail.com>.
On Thu, Dec 11, 2008 at 10:03 AM, Erik Bloodaxe <E....@gold.ac.uk> wrote:
> Hi, all,
>
> I have a strange problem with ldap auth.
>
> In a .htaccess file I have:
>
>   AuthBasicProvider ldap
>   AuthType Basic
>   AuthName "Access to somesite logs"
>   AuthLDAPURL ldap://ldap-server.dlog.ac.uk/dc=gold,dc=ac,dc=uk?uid?base
>   require ldap-user user1 user2 user3
>
> This is working fine.  However when I change the require ldap-user to
> valid-user things stop working:
>
>   AuthBasicProvider ldap
>   AuthType Basic
>   AuthName "Access to somesite logs"
>   AuthLDAPURL ldap://ldap-server.dlog.ac.uk/dc=gold,dc=ac,dc=uk?uid?base
>   require valid-user
>
> I have googled and searched the archives but this gives no answer.  Can
> anyone assist?

AuthZLDapAuthoritative off or upgrade to 2.2.6 or later

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org