Hello Cassidy -
>
> Hello all:
>
> I've been learning Radiator over the last 3 weeks, and have been able to do
> quite a bit, however I am lacking some information to be able to code
> radiator how I want..
>
> Here's my scenario:
> I have multiple NAS's all over my state, all authenticating great through
> radiator on my main server.. however I wish to return a individual class for
> each NAS without having to create a lot of realms.. Is this possible?
>
> I have tried the AcctSQLStatement with a small table I'm working on that has
> a list of NAS IP's and the return I want.. this is what I've tried:
> AcctSQLStatement select nas_return from nas where ipaddress='%N'
>
> then a simple
> AddToReply Class='%{nas_return}'
> but that doesnt work..
>
> does anybody have any simpler methods of doing what I'm trying to do? or any
> suggestions?
>
You will probably have to use an intermediate value as you have above, but add
a PostAuthHook to do the translation via the SQL table you mention. There are
some example hooks in the Radiator 2.16.1 distribution in the file:
"goodies/hooks.txt"
hth
Hugh
--
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.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.