Hello Gerald -
On Tue, 19 Oct 1999, Gerald Faerber wrote:
> Hello,
>
> how to send different default attributes (with AddToReply) to
> different Client Types? This should be done only for one Realm, but
> without using the "NasType" command (to prevent radiator to contact the
> Clients via SNMP).
>
I don't know how complex your configuration file is, but probably the best way
to do this is with Handlers and Client-Id. As you say, NasType is the obvious
check item, but if you can't use it, then Client-Id will have to do. Note that
you can use regular expressions for the Client-Id's.
Something like this (you will need to change your Realms to Handlers):
<Handler Realm = what.ever, Client-Id = some.thing>
<AuthBy ....>
....
</AuthBy>
AddToReply ....
</Handler>
<Handler Realm = what.ever, Client-Id = other.thing>
<AuthBy ....>
....
</AuthBy>
AddToReply ....
</Handler>
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.