help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] different situations for different called numbersI


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] different situations for different called numbersIn-reply-to: Your message of Wed, 26 Mar 2003 16:41:30 +0100 <address@hidden>
Date: Thu, 27 Mar 2003 10:06:11 +0200

Hi Kurt,

> DEFAULT Called-Station-Id = "123456",
>       Auth-Type = Accept
>         Replace-User-Name = "%C{User-Name}replaced",

Yes, that won't work because Replace-User-Name is allowed only in 
raddb/hints. The bug is actually in the documentation, which
incorrectly states it may be used in raddb/users as well.

So, the proper setup would be:

# raddb/hints:

username        Replace-User-Name = "%C{User-Name}replaced"     NULL

# raddb/users:

DEFAULT Called-Station-Id = "123456",
              Auth-Type = Accept,
              User-Name = "usernamereplaced"
        User-Service = Framed-User,
              Framed-Protocol = PPP,
              Framed-Routing = None,
              Framed-Netmask = 255.255.255.255,
              Framed-Compression=Van-Jacobsen-TCP-IP,
              Framed-MTU = 1500,
              Ascend-Idle-Limit = 14400

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]