Basic authentication problem

This is a discussion on Basic authentication problem within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, Apache 2.2.4 on Windows & Linux with OpenSSL 0.9.8e. Basic authentication does not accept my ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-28-2007
nickgearls@gmail.com
 
Posts: n/a
Default Basic authentication problem

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' !?!

  #2 (permalink)  
Old 09-28-2007
HansH
 
Posts: n/a
Default Re: Basic authentication problem

<nickgearls@gmail.com> schreef in bericht
news:1190966536.199581.309120@d55g2000hsg.googlegr oups.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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0