readthefuckingmanual.net

[SOLVED] (9)Bad file descriptor: Could not open password file: (null)

Error added: 2008-01-15T17:53:53Z

1 people waiting for the answer...

10 answers found.

Answer 618 (87.5% helpful)

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

Permalink

Answer 494 (71.42857% helpful)

As well as the AuthUserFile /dev/null, I needed to put:
AuthBasicAuthoritative Off
Permalink

Answer 654 (66.666664% helpful)

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
Permalink

Answer 1444 (66.666664% helpful)

     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
Permalink

Answer 472 (57.142857% helpful)

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/
Permalink

Answer 518 (33.333332% helpful)

Thanks. This worked. You are awesome!
Permalink

Answer 547 (0.0% helpful)

I\'d wonder if I\'m able to thanks you! It works!!
Realy great solution!
Permalink

Answer 742 (0.0% helpful)

Really great! I wasted a whole afternoon struggling with that error. Thanks a lot for sharing this hint.
Permalink

Answer 1356 (0.0% helpful)

This is a good answer. Add AuthBasicProvider ldap to your subversion.conf file along with the normal LDAP authentication lines.
Permalink

Answer 2072 (0.0% helpful)

<Location />
AuthUserFile /dev/null
</Location>
Permalink

Add an answer/solution

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.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: