I looked at debug again:
rad_recv: Access-Request packet from host 62.*.*.5:1641, id=20, length=45
User-Name = "test"
CHAP-Password = 0x6bdd1b91c37533a5**********
Processing the authorize section of radiusd.conf
"searchin = packet" know only %{User-Name} and %{CHAP-Password}
attributes. That�s why I can�t use attr_rewrite to add NAS-identifier
or Called-Station-Id sufix to User-Name.
Do you know any way how to do it?
Zdenek Svarc
On Fri, 17 Sep 2004 13:17:11 -0400, Alan DeKok <[EMAIL PROTECTED]> wrote:
> Zdenek Svarc <[EMAIL PROTECTED]> wrote:
> > but attr_rewrite doesn't know %{NAS-Identifier} as well as others NAS*
> > and Call* and points back only "user."
>
> Are those attributes in the RADIUS packet? If not, they don't
> exist, and can't be used.
>
> And yes, when you run in debug mode, you will not only see which
> attributes exist in the packet, but exactly how the %{...} strings are
> getting expanded.
>
> Alan DeKok.
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html