Hi Arnie,

On Apr 30, 11:28am, Arnie Roberts wrote:
> Subject: RE: (RADIATOR) beginners question
> On Friday, April 30, 1999 3:42 PM, Mike McCauley [SMTP:[EMAIL PROTECTED]]
> >
> > There are a number of ways to do this, probably the best is:
> >
> > Use DefaultReply in your AuthBy clause. This will add reply items for
> > who do not have any reply items in your users file. So you can set up your
> > "normal" users in teh users file without any reply items, and DefaultReply
> > add reply items for them. Users who have specific reply items in the users
> > wil get those reply itmes and not the ones in DefaultReply.
> Ah I see.
> It would be really nice if the special character replacement thing we spoke
about before
> worked -

Well, it does work, its just that User-Name is not usually available in the
reply in order to do the replacement.

There is a way you could do this:

1. In a PreHandlerHook, copy User-Name from the incoming packet to the reply
2. Put something like Reply-Message="Hello %n" in your add-to-reply
3. In PostAuthHook, remove the User-Name attribute from the reply packet/.

Its a bit ugly, but its a workaround that will work.


Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

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
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to