Hi,
I originally wrote this email with the software author as the intended
recepient, but then I read the Terms of Support (which to say is none), so
I'm posting here:
Because of certain requirements, we need to use <AuthBy EXTERNAL> to
authenticate our users. Each time I try, however, the Radius client simply
times out. We know the external program gets executed, but Radiator can't
seem to "see" the external program's reply.
We're running Radiator on a Sparc/Solaris 2.6 system. We tried using the
ff. test programs:
external.c:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char argv[]) {
printf("\tUser-Service-Type = Framed-User\n");
printf("\tFramed-Protocol= PPP\n");
exit(0);
}
and external.pl:
#!/opt/perl/bin/perl -w
open LOG, ">>/opt/Radiator/log/external.log" || exit 1;
while (<STDIN>) {
print LOG $_;
}
close LOG;
print "\tUser-Service-Type = Framed-User\n".
"\tFramed-Protocol= PPP\n";
exit 0;
Both programs get executed, but the clients just Times out. In
AuthEXTERNAL.pm, in sub handle_request, after waitpid, I get $? = -1 (and
$result = $? >> 8 = 16777215). I am positive that the external program
gets executed.
Hope someone can help.
L L Richi Plana 8^) ,-,-. ,-,-. ,-,-. ,-,-. ,-
LL LL Systems Administrator / / \ \ / / \ \ / / \ \ / / \ \ / /
LLLLL Mosaic Communications, Inc. \ \ / / \ \ / / \ \ / / \ \ / /
LLLLL mailto:[EMAIL PROTECTED] `-'-' `-'-' `-'-' `-'-'
------PGP key http://www2.mozcom.com/~richip/richip.asc ----------------
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.