Welcome! Log In Create A New Profile

Advanced

Re: auth_basic password problems

All files from this thread

File Name File Size   Posted by Date  
.htpasswd.txt 188 bytes open | download tomval2k 07/14/2009 Read message
July 18, 2009 05:26AM
On Tue, Jul 14, 2009 at 10:47:04PM +0100, nginx@tomvalentine.net wrote:

> Hi
>
> The authentication on windows now seems to work, to an extent. No more
> 500 errors! --> thanks!
>
> However, I can not seem to get it to recognise the password supplied by
> the user unless the user supplies the hashed password.
>
> The attached htpasswd file was created by htpasswd in Linux (htpasswd in
> Windows doesn't do crypt); and nginx 0.6.32 running in Linux has no
> problems with it. But nginx 0.8.5 in Vista wont accept 'password' as the
> password, it will only accept 'xGtGE5iXWkYCI'
>
> E.g.
> htpasswd -db /var/www/.htpasswd nginx2 password
> produced
> nginx2:xGtGE5iXWkYCI
> and nginx accepts not 'password' but 'xGtGE5iXWkYCI' in Windows.
>
> Sorry, couldn't be bothered compiling nginx for Linux (I need sleep now)
> to see if it was Windows specific or version specific.
>
> Any ideas?
> Tom

This is Windows only issue: since Windows has no Unix style crypt(3).
I will probably add Apache compatible SHA1 "{SHA}" or MD5 "$apr1$" password:
http://httpd.apache.org/docs/2.2/misc/password_encryptions.html


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

auth_basic password problems Attachments

tomval2k July 14, 2009 05:47PM

Re: auth_basic password problems

smok3 July 17, 2009 08:16PM

Re: auth_basic password problems

acdc February 28, 2010 05:24AM

Re: auth_basic password problems

Igor Sysoev July 18, 2009 05:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 293
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready