Error added: 2008-01-15T17:53:53Z
With apache 2.2, if you are not using the .htaccess files, you have to set AuthBasicProvider to the module that you are using. For me that was: AuthBasicProvider ldap
As well as the AuthUserFile /dev/null, I needed to put: AuthBasicAuthoritative Off
The correct AuthBasicProvider directive is actually the better solution. The value of the directive depends on what authentication type you have. In my case AuthBasicProvider ldap
Options Indexes FollowSymLinks MultiViews AllowOverride None AuthType Basic AuthName \"Area Restrict\" AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPURL \"ldap://dominio.com.br:389/ou=Usuarios, dc=kyapanel,dc=com?uid\" require valid-user Order allow,deny allow from all
For anyone who has the same problem the fix is to add the following line to the <directory> directives AuthUserFile /dev/null The error messages are apparently caused by apache 2.2.2 expecting a users file even if the auth method doesn\'t use one. http://www.linuxquestions.org/questions/linux-server-73/apache-modauthmysql-problem-493429/
Thanks. This worked. You are awesome!
I\'d wonder if I\'m able to thanks you! It works!! Realy great solution!
Really great! I wasted a whole afternoon struggling with that error. Thanks a lot for sharing this hint.
This is a good answer. Add AuthBasicProvider ldap to your subversion.conf file along with the normal LDAP authentication lines.
<Location /> AuthUserFile /dev/null </Location>
If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people
struggling with this too.
If you want to be notified via email when this is solved, enter your email address here: