I wrote an answer thinking I was sending it to the mailing list but I
didn't notice it was a direct answer. Kindly, Gaël answered back, so I
send the result of both mails in the hope it may help someone.

Best regards,

Jorge

---------- Forwarded message ----------
From: Gaël Lams <[EMAIL PROTECTED]>
Date: Mar 6, 2007 7:44 AM
Subject: Re: [opensuse] mod_auth_ldap
To: [EMAIL PROTECTED]


HI Jorge,

You didn't respond to the list but to me ;-)

In order to work as expected, I had to include two more directives due
to this module change. So, if you're getting a
    Could not open password file
error in the log, you need to add the following directive:
    AuthBasicProvider ldap

yes, starting from apache 2.2, AuthBasicProvider is optional only if
you use a file created with htpasswd, because its default value is
"file"

If you used the
    Require valid-user
directive, you need to add the following one before:
    AuthzLDAPAuthoritative off
or else your authentication will never work.

you 're right, and it requires mod_authz_user to be loaded, because if
you use "require valid-user", it's mod_authz_user that will be used.

Kind regards

Gaël
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to