invalid character 45 in exportstr for

2002-12-18 Thread LoKoRadius
Hi All,

 I'm using xtradius-1.1-pre1-3-1 and I'm getting 

 sh: invalid character 45 in exportstr for

 message when I make an authentication request. The authentication is working.
 
 How can I solve it?

 Thank you

Alex Falcão


Account Help

2002-12-09 Thread LoKoRadius
Hi,

 I'm a new user from Radius and I'm getting some problems
 I have XtRadius Version xtradius-1.0beta3-3 and when I'm doing an account my script don´t work

If I use
Users File
42: DEFAULT Acct-Status-Type = "Stop"
43: Exec-Program-Account = "/usr/lib/cgi-bin/account.pl %u"
44:
45: DEFAULT NAS-Port-Type = 16, Auth-Type = External
46: Exec-Program-Wait = "/usr/lib/cgi-bin/autentica.pl %u %w",
47: Service-Type = Framed-User,
48: Framed-Protocol = PPP,
49: Class = ALF,
50: Fall-Through = 0

I get this
/usr/sbin/radiusd -sfxxyz -l STDOUT
[/etc/raddb/hints:42] WARNING: Check item "Exec-Program-Account"
 found in reply item list for user "DEFAULT".
 This attribute MUST go on the first line with the other check items.


or if I use
Users File
42: DEFAULT Acct-Status-Type = "Stop", Exec-Program-Account = "/usr/lib/cgi-bin/account.pl %u"
43: 
44:
45: DEFAULT NAS-Port-Type = 16, Auth-Type = External
46: Exec-Program-Wait = "/usr/lib/cgi-bin/autentica.pl %u %w",
47: Service-Type = Framed-User,
48: Framed-Protocol = PPP,
49: Class = ALF,
50: Fall-Through = 0

I get but no accounts were saved.
/usr/sbin/radiusd -sfxxyz -l STDOUT
Starting - reading configuration files ...
Ready to process requests.
radrecv: Request from host 10.5.108.73 code=4, id=6, length=58
 User-Name = "[EMAIL PROTECTED]"
 Acct-Status-Type = Stop
 Acct-Session-Id = "2368"
 NAS-Port-Type = 16
 users: Matched DEFAULT at 42
Sending Accounting Ack of id 6 to 10.5.108.73 (nas alefalcao)


The Script is working fine, if I run "/usr/lib/cgi-bin/autentica.pl alfspsp" the account is saved.

Is it possible anybody help me?

Alex


(no subject)

2002-12-05 Thread LoKoRadius
Hi folks,

   I'm using free radius and I need to use MySQL only for authentication. 
   Does somebody has any documentation about how can I configure it?

Thank you in advance
Alex


Realm issue

2002-12-05 Thread LoKoRadius
Hi All,

 I'm using XtRadius and I have 2 realms Localy, but I have to check in diferent databases. 

/etc/realms
alf.com LOCAL
alf.com.br LOCAL

How can I identify in user file?

alf.com.br Auth-Type = External
 Exec-Program-Wait = "/usr/lib/cgi-bin/autenticaBR.pl %u %w",
 Fall-Through = 0

alf.com Auth-Type = External
 Exec-Program-Wait = "/usr/lib/cgi-bin/autenticaUS.pl %u %w",
 Fall-Through = 0


Thank you


Running perl program

2002-10-16 Thread LoKoRadius
Hi guys,

 I'm new in this list and in the world Radius, and I aalready have doubts :-)

 I have this scenery:

 My Radius  Outside Radius RAS
 --- --- --
 | A | | B | | C |
 --- --- --

 C send a request to B that make a Proxy to A (my Radius) and then I need to AAA this request, but to validate this user, I need to run a perl script to check in my strange Database.
 Questions:
 1) is it possible freeradius receive a proxy radius request?
 2) Can "A" authenticate in this way?

 Thank you in advance
 Alex Falcão