Re: [squid-users] RE: Re: multiple users

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 25 Sep 2004 22:47:19 +0200 (CEST)

On Sat, 25 Sep 2004, Adam Aube wrote:

> Windows and Unix-like systems represent newlines in different and
> incompatible ways. This can cause problems if you edit a text file on
> Windows and use it on a Unix-based system, or vice-versa.

Indeed. A quick investigation of ncsa_auth shows it is sensitive to this,
possibly failing if the password file is transferred between Windows and
UNIX.

Will fix this for 2.5.STABLE7 to make ncsa_auth more resistent to this
trivial thing and accept both UNIX and Windows/DOS format on the password
file (MAC format can not be supported however..)

> Create the file from scratch on the Squid server and edit it using a text
> editor on the server itself. Then copy and paste the contents of the
> htpasswd file from your desktop into the window for the text editor on the
> Squid server.

Or make sure to transfer the file in ASCII format when uploading it to the
Squid server.

Note: If you use Squid on Windows then ncsa_auth should accept Windows/DOS
formatted password files without any problems. Only if you run Squid on
UNIX and edit the password file using Windows should you run into this
problem.

Regards
Henrik
Received on Sat Sep 25 2004 - 14:47:21 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT