Basic authentication problem

Basic authentication problem

am 28.09.2007 10:02:16 von nickgearls

Hello,

Apache 2.2.4 on Windows & Linux with OpenSSL 0.9.8e.
Basic authentication does not accept my password.

Ex: user 'frank' and password 'sinatra'.
Depending on my password file, I get the following errors:
- frank:mlVo7KaArYZhg (from htpasswd)
-> dialog box -> frank/sinatra
-> user frank: authentication failure: Password Mismatch
- frank:$apr1$9U1.....$C.5OJhZ4UxxM9SIzv4XAY0
-> no dialog box
-> configuration error: couldn't check access. No groups file?
- frank:{SHA}7DUut/wAuxmp4mKiKKNr9eEUeG0=
-> no dialog box
-> configuration error: couldn't check access. No groups file?
So, MD5 & SHA-1 are not used, CRYPT well.


Authname "MyApp"
AuthType Basic
AuthUserFile conf/users.auth
Require valid-user


PS: Under Windows, 'htpasswd.exe -nbd', responds 'Automatically using
MD5
format' !?!

Re: Basic authentication problem

am 28.09.2007 16:48:32 von HansH

schreef in bericht
news:1190966536.199581.309120@d55g2000hsg.googlegroups.com.. .
> Apache 2.2.4 on Windows & Linux with OpenSSL 0.9.8e.
> Basic authentication does not accept my password.
>
>
> Authname "MyApp"
> AuthType Basic
> AuthUserFile conf/users.auth
> Require valid-user
>

>
> PS: Under Windows, 'htpasswd.exe -nbd', responds 'Automatically
> using MD5 format' !?!
Both default and inability to crypt on windows are documented
http://httpd.apache.org/docs/2.2/programs/htpasswd.html

If you need cross-platform passwords use -m ... or -p

HansH