On Fri, 9 Aug 2002, Alan DeKok wrote:
> Thomas Jalsovsky <[EMAIL PROTECTED]> wrote:
> > I have a strange problem. My NAS sends User-Name like
> > User-Name = "<username>:<called-station-id>"
> > This is not a bug in the NAS but it is a feature (I can't solve my problem
> > in another way). I would like to separate this value
> > like <username> -> User-Name and <called-station-id> -> Called-Station-Id
> > (rewrite)
>
> That would be really handy. Right now, I'm not sure how to do it.
> The simplest method would be to add some C to rlm_preprocess. But a
> more general solution would be preferable.
Yes, I thought I will write it into the rlm_preprocess module, but this
feature is not needed in common (I need it because I can't send from NAS
the needed info only throught User-Name attribue in accounting records).
I would like to make it through rlm_perl or rlm_python, but I'm not shure
that rlm_python can rewrite attributes (rlm_perl can't at the moment).
In this way a simple Perl script should be used for whatever bizarre
attribute rewrite.
Any idea? Does rlm_python support this?
Kind regards,
Thomas
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html