Hi Arnie,

On Apr 21,  5:59pm, Arnie Roberts wrote:
> Subject: (RADIATOR) Re:(Radiator) Special characters
> Mike,
> You said
>
> >To get the %n replaced, you need to specify Reply-Message as one of the
dynamic
> >reply items with something like this in your AuthBy clause:
>
> >DynamicReply Reply-Message
>
> I'm still doing something wrong obviously. In my radius.cfg file I have

Actually I misled you.
DynamicReply does replacements from the reply message, not the incoming request
message. So that %n is looking in vain for a User-Name in the reply. That means
you cant use %n to get the user name into your Reply-Message.

Sorry I told you the wrong thing.

Cheers.

>
> #Realm
> <Realm>
>         <AuthBy FILE>
>         Filename %D/users
>         DynamicReply Reply-Message
>         </AuthBy>
> </Realm>
>
> In my users file I have
>
> NOBACK          User-Password = "NOBACK"
>                         Service-Type = Login-User,
>                         Reply-Message = "Hello %n  Welcome. "
>
> but the %n does not get replaced.
>
> Code:       Access-Accept
> Identifier: 3
> Authentic:  SE<0><0>'<171><18>"<7><21><4>c<0><28>E<130>
> Attributes:
>         Service-Type = Login-User
>         Reply-Message = "Hello   Welcome. "
>
>
>
> Arnie
>
>
> ===
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>-- End of excerpt from Arnie Roberts



-- 
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, 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