delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/01/04:05:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <003b01c0ba82$3ffaa6c0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Mike Everest" <mike AT gsat DOT net DOT au>
Cc: <cygwin AT cygwin DOT com>
References: <002c01c0b9f5$e4a8d5d0$0200a8c0 AT mike> <013501c0ba33$c2028f60$0200a8c0 AT lifelesswks> <00a701c0ba41$d5fa86e0$0200a8c0 AT mike>
Subject: Re: fgets() behaviour
Date: Sun, 1 Apr 2001 18:03:32 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 01 Apr 2001 07:57:56.0642 (UTC) FILETIME=[76679020:01C0BA81]

----- Original Message -----
From: "Mike Everest" <mike AT gsat DOT net DOT au>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
Cc: <cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019