James, this looks like the same thing I am seeing in both attr_rewrite and with rlm_perl.
I am afraid this is a bug. I am happy to help fix it as I need this to work soon. However I would appreciate some pointers where to look. Paul James Nedila wrote: > 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 > -- Paul Sijben tel: +31205210321 VP Architecture and Business Development direct: +31205210333 Picopoint fax: +31205210320 Amsterdam mobile: +31629582154 the Netherlands http://www.picopoint.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
