Here we are.
I've found out what's goin on with this directive.
If I ask a rewrite for an attribute defined as "string" ( Reply-Item for
example ), everything works well, but If ( or when ) I ask for an
attribute like ipaddres, or everithing else, then it fail.

The problem seems to be in rlm_attr_rewrite.c, and the module seems to
work only on attr_vp->strvalue, without checking in dictionary file if the
attribute is ( or not ) string.

Maybe the bug could be workarounded by explaining that it could work only
on string attribute, or it could be implemented all the usual stuff for
checking the attribute type, and modify the value accordly.

... or I'm yet missing something ?

Pigi



___________
 FRULLANI   Pierluigi Frullani                | Tel. +3902-29003554
    &       System & Network Engineer         | Fax. +3902-29003580
 FRULLANI   Frumar s.r.l.                     | Email: [EMAIL PROTECTED]
___________ Milano,Via Varese 12,20121 Italia | Web:http://www.frumar.it


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to