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

ldap-authentication. Get no page whatever I enter

Hi everyone,

I've got a strange behaviour of Apache2 concerning LDAP-authentication.
I configured a directory with

                AuthType Basic
                AuthBasicProvider ldap
                AuthName "test"
                Require valid-user
                AuthLDAPUrl ldap://localhost:389/dc=gcls,dc=priv

The result: I can't authenticate although the password works to login to my linux-box. Even stranger:

I enter a wrong password. Apache writes in error.log:

[warn] [client] [28447] auth_ldap authenticate: user kfueller authentication failed; URI /x [ldap_simple_bind_s() to check user credentials failed][Invalid credentials] [error] [client] user kfueller: authentication failure for "/x": Password Mismatch

I enter the correct password:

Apache issues no error-message. I therfore assume that LDAP correctly checks the password.

In both cases (wrong and correct password) apache2 writes in it's access.log: - kfueller [29/Nov/2006:22:16:14 +0100] "GET /x HTTP/ 1.1" 401 589 "-" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3"

Has anybody any idea what's going on.

PS Binding to LDAP with a password doesn't change anything.

Desperate greetings


Reply to: