This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: fgets() behaviour
- To: "Mike Everest" <mike at gsat dot net dot au>
- Subject: Re: fgets() behaviour
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Sun, 1 Apr 2001 18:03:32 +1000
- Cc: <cygwin at cygwin dot com>
- References: <002c01c0b9f5$e4a8d5d0$0200a8c0@mike> <013501c0ba33$c2028f60$0200a8c0@lifelesswks> <00a701c0ba41$d5fa86e0$0200a8c0@mike>
----- Original Message -----
From: "Mike Everest" <mike@gsat.net.au>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin@cygwin.com>
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