(RADIATOR) Problem with AuthBy EXTERNAL

1999-04-20 Thread Richi Plana

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  / / \ \   / / \ \   / / \ \   / / \ \   / /
L Mosaic Communications, Inc. \ \ / /   \ \ / /   \ \ / /   \ \ / / 
L 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.



Re: (RADIATOR) Flatfile format

1999-04-20 Thread Mike McCauley

On Apr 20,  3:16pm, Richard Hawley wrote:
 Subject: (RADIATOR) Flatfile format
 I'm using a flatfile as a backup to an SQL database.  What can I put in
 the field of a check or reply item in a flatfile if the corresponding
 field is blank in the SQL database.  Will NULL or NONE work?

No, it would use the string "NULL" or "NONE".
If you want to match the empty string, just use:
Attribute-Name=

If you want the same effect as a NULL in the databse, just omit it from the
flat file completely.

Hope that helps.

Cheers.



-- 
Mike McCauley   [EMAIL PROTECTED]
Open System Consultants Pty. LtdUnix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985   Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, external, etc etc on Unix, Win95/8, NT, Rhapsody
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Prefix configuration

1999-04-20 Thread Enrique Vadillo

Hi,

I am a newbie regarding radiator but i'm used to managing ascend's radius.

I want to configure radiator so that usernames that use prefix 'HELLO/'
are authenticated by radius server with IP 200.56.78.9 and all other users
authenticated by radius server with IP 190.34.6.89

I am using radiator 1.57. Can someone tip me on the configuration i must use?

Thank you all in advance,

Enrique-
-- 
--
 RCP - Internet Peru  Tel: +51 1 422-4848 
 Dpto de Operaciones  Fax: +51 1 421-8086
--

===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



Re: (RADIATOR) Prefix configuration

1999-04-20 Thread Richi Plana

Hi,

On Tue, 20 Apr 1999, Enrique Vadillo wrote:

|o| I want to configure radiator so that usernames that use prefix 'HELLO/'
|o| are authenticated by radius server with IP 200.56.78.9 and all other users
|o| authenticated by radius server with IP 190.34.6.89

You can probably use:

Realm /^HELLO\//
AuthBy RADIUS
Server 200.56.78.9
...
/AuthBy
/Realm

Realm DEFAULT
AuthBy RADIUS
Server 190.34.6.89
...
/AuthBy
/Realm


L   L Richi Plana 8^) ,-,-. ,-,-. ,-,-. ,-,-. ,-
LL LL Systems Administrator  / / \ \   / / \ \   / / \ \   / / \ \   / /
L Mosaic Communications, Inc. \ \ / /   \ \ / /   \ \ / /   \ \ / / 
L 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.