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