You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Roman Gelfand <rg...@gmail.com> on 2012/12/03 00:11:40 UTC

[users@httpd] LDAP Authentication

Here is my .htaccess file...

AuthName "DSPAM Authentication"
AuthType Basic
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPURL "ldap://somehost:389/ou=People,dc=domain,dc=com"
require valid-user

It is able to retrieve the user, but it is not checking the password.

Any help is appreciated

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


Re: [users@httpd] LDAP Authentication

Posted by Igor Cicimov <ic...@gmail.com>.
On Mon, Dec 3, 2012 at 11:41 AM, Igor Cicimov <ic...@gmail.com> wrote:

>
> On Mon, Dec 3, 2012 at 10:11 AM, Roman Gelfand <rg...@gmail.com>wrote:
>
>> Here is my .htaccess file...
>>
>> AuthName "DSPAM Authentication"
>> AuthType Basic
>> AuthBasicProvider ldap
>> AuthzLDAPAuthoritative on
>> AuthLDAPURL "ldap://somehost:389/ou=People,dc=domain,dc=com"
>> require valid-user
>>
>> It is able to retrieve the user, but it is not checking the password.
>>
>> Any help is appreciated
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>> Have you checked if it is working when ran manually with ldapsearch? What
> happens if you put
>
>         AuthBasicAuthoritative off
>         AuthzLDAPAuthoritative off
>
> Also increase the log level to debug and look for ldap messages in the
logs, might help finding out what is actually failing.

Re: [users@httpd] LDAP Authentication

Posted by Igor Cicimov <ic...@gmail.com>.
On Mon, Dec 3, 2012 at 10:11 AM, Roman Gelfand <rg...@gmail.com> wrote:

> Here is my .htaccess file...
>
> AuthName "DSPAM Authentication"
> AuthType Basic
> AuthBasicProvider ldap
> AuthzLDAPAuthoritative on
> AuthLDAPURL "ldap://somehost:389/ou=People,dc=domain,dc=com"
> require valid-user
>
> It is able to retrieve the user, but it is not checking the password.
>
> Any help is appreciated
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> Have you checked if it is working when ran manually with ldapsearch? What
happens if you put

        AuthBasicAuthoritative off
        AuthzLDAPAuthoritative off