always htpasswd users
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Squid > always htpasswd users




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    always htpasswd users  
David


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-21-04 01:46 AM

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





[ Post a follow-up to this message ]



Muthukumar_K is offline     Re: always htpasswd users  
Muthukumar_K


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for Muthukumar_K Click here to Send Muthukumar_K a Private Message Visit Muthukumar_K's homepage! Find more posts by Muthukumar_K Add Muthukumar_K to your buddy list
 
10-12-04 09: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. General
ly 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




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:02 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register