Subject: Re: fgets() behaviour
From: "Robert Collins" <[email-masked]>
To: "Mike Everest" <[email-masked]>
Cc: <[email-masked]>
Date: Sun, 1 Apr 2001 18:03:32 +1000

----- Original Message -----
From: "Mike Everest" <[email-masked]>
To: "Robert Collins" <[email-masked]>
Cc: <[email-masked]>
Sent: Sunday, April 01, 2001 10:22 AM
Subject: Re: fgets() behaviour

> Hello Rob!
>
> >     strange to see you here :]
>
> i've been getting about since i started toying with this stuff ;-)
>
> > Try running it in a wrapper script (Pop back to squid-users, look in
the
> > recent archives, Henrik posted a wrapper script for someone who had
> > problems with their helper exiting. A short modification  of that
script
> > and you should be able to test it.
>
> thanks for that advice...
>
> i have used this:
> #!/usr/bin/perl
>
> open(AUTH,"|/usr/local/sqltest.exe") ||die("Failed to start
pam_auth");
>
> select AUTH; $|=1;
>
> select STDOUT; $|=1;
>
> while(<>) {print AUTH$_;}
>

1) type -p perl should return /usr/bin/perl or /usr/bin/perl.exe - does
it?
2) does  /usr/local/sqltest.exe exist?
3) Does your userthe user you are running squid as have rx rights to
/usr/local/sqltest.exe? (hint: ls -l sqltest.exe in /usr/local)

Rob

> but it doesn't even run the auth module...  excuse me if i am
blatantly off
> the track :-}
>
> regards.
>
>
>
>
>

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple