Re: self written auth_programme

From: Clifton Royston <>
Date: Thu, 14 Oct 1999 06:39:23 -1000

On Thu, Oct 14, 1999 at 10:31:21AM +0200, Thomas Peruzzi wrote:
> hi squid-users!
> I have a problem with a self-written auth_programme. As far as I know, the
> most important thing is that the programme runs in an endless loop and
> returns OK if the pair username/password is correct and otherwise ERR.

At least as you pasted it in, there's a bug (typo variety); don't know
why it would work on the command line.

> # does the password match?
> if ($crypt eq $usr{$user}
                                   ^^^ No closing ")" !

Try fixing that?

  -- Clifton

 Clifton Royston  --  LavaNet Systems Architect --
        "An absolute monarch would be absolutely wise and good.  
           But no man is strong enough to have no interest.  
             Therefore the best king would be Pure Chance.  
              It is Pure Chance that rules the Universe; 
          therefore, and only therefore, life is good." - AC
Received on Thu Oct 14 1999 - 10:51:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:49 MST