Hello Thao -
At 16:24 +0700 30/11/00, Le Van Thao wrote:
Hi,
Can I use Radiator and Rodopi together to implement a dialup system with prepaid function?
Can I call a stored procedure from MS SQL from Radiator (on linux)?
Yes. Have a look at the source code for in the file
"Radius/AuthRODOPI.pm" in the Radiator distribution.
If so, I thinh I can call interface_vircomusers and interface_vircomdetail (just make something change).
But currently I'm testing on Vircom radius on NT (Just test because NT can't be a Server it died every day! ).
My problem now is : when I created Prepaid card using Preapaid Usage Info and Online Hour type when I run interface_vircomusers 'Username' the first time
the result returned : sessionTime out=0 or <0 and message is divide by 0. I can't use this user to dial up.
When I create prepaid user using Usage Info I can use this user to dial up but when I disconnect I run interface_vircomusers 'Username'
again I can see the same amount ot time before I dial up. This mean that no money is deducted from this account. Althought I can see the accounting record on table OnlineUsageHours.
If you just use the AuthBy RODOPI clause in Radiator, you should
be able to do everything that is available in Rodopi.
Could you give me some advise?
Using MS-SQL and radiator for dialup system is a good or bad solution?
I wonder if NT server where MS-SQL died so User can't login.
Is there any solution?
Use a more reliable operating system.
I ask Support at Rodopi this question (my problem about Rodopi) many times but I haven't receive any answer. They just said I should by a support.
But I can't spend my Money to buy their support. My boss tell me to research and report to him. If I'm not able to finish this job may be I'll be sacked.
I have also copied this message to Mike, as he may have
additional comments.
regards
Hugh
--
NB: I am travelling this week, so there may be delays in our correspondence.
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux,
FreeBSD, Windows 95/98/2000, NT, MacOS X.
