Apache Server configuration support - Basic authentication problem

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > September 2007 > Basic authentication problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Basic authentication problem
nickgearls@gmail.com

2007-09-28, 7:35 am

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.

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

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

HansH

2007-09-28, 1:27 pm

<nickgearls@gmail.com> 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.
>
> <Location "/">
> Authname "MyApp"
> AuthType Basic
> AuthUserFile conf/users.auth
> Require valid-user
> </Location>
>
> 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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com