Squid - always htpasswd users

This is Interesting: Free IT Magazines  
Home > Archive > Squid > October 2004 > always htpasswd users





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 always htpasswd users
David

2004-07-20, 8:46 pm

Hello...

I've just installed squid (latest) on my RH 7.2 box. I use NCSA_AUTH
for proxy_auth. I created user with:

htpasswd -cd /etc/squid/.squidpasswd username

Then the user could be authenticated and access the Internet with
success. However, for some hours ago, the user couldn't be
authenticated with his created username and password, unless I issued
the above command again.

I have to do this everyday.

Please help me.

Any solution would be greatly appreciated.

David
Muthukumar_K

2004-10-12, 4:41 pm

htpasswd -cd /etc/squid/.squidpasswd username
>>>>

Why are you trying to create new file for every user there. We can maintain user informations in a common passwd file as like /etc/passwd there. Generally passwd files are created as,

/usr/local/squid/bin/passwd

Try to use method as,

htpasswd -d /usr/local/squid/bin/passwd <username>

We can check NCSA authentication module on command line as,

/path to squid libexec/ncsa_auth
<username> <passwd>
OK

<username> <passwd>
ERR

OK -- indicates you have entered correct one
ERR -- indicated wrong one there.


Then configure this on squid.conf file.

HTH.

REgards
Muthukumar.

Visolve Squid Support Team.
url: http://squid.visolve.com/squid/index.htm
mail: support@visolve.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com