This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fgets() behaviour


----- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]