freeradius-0.9.3

First, my rewrite config:

         attr_rewrite addEventTimestamp
                  attribute = Event-Timestamp
                  searchfor = NULL
                  searchin = packet
                  replacewith = "%l"
                  new_attribute = yes
                  max_matches = 1
                  append = no
          }


This module is called in the pre-acct block of radiusd.conf.


radiusd in debug mode says:

modcall: entering group preacct for request 0
  modcall[preacct]: module "preprocess" returns noop for request 0
radius_xlat:  '1070149333'
rlm_attr_rewrite: Added attribute Event-Timestamp with value '1070149333'
  modcall[preacct]: module "addEventTimestamp" returns ok for request 0


So this returns correctly, but the attribute is never added to the request.


If I modify the dictionary entry for Event-Timestamp to integer, the attribute is added correctly.

Any ideas?
Thanks,
James






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

Reply via email to