Hello Mindaugas -
>
> I'm trying to implement different reply items depending on
> the system you're loggin to. Radius compiles hook file but
> rewriting seems not to work.
> And I'd like to avoid <Handler > sections because of too
> much config duplication. Or there is some more elegant solution
> by moving duplicating content to common section?
>
The best way to avoid duplication is by using Identifiers in your AuthBy
clauses, and referring to them by Identifier in your Handlers (this also makes
your configuration files *much* easier to understand):
# configure common AuthBy clause(s)
<AuthBy SQL>
Identifier CheckSQL
DBSource ...
DBUsername ....
DBAuth ....
.....
</AuthBy>
......
<Handler Called-Station-Id = 484999>
AuthBy CheckSQL
</Handler>
.......
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.