1rlm_attr_rewrite(5) FreeRADIUS Module rlm_attr_rewrite(5)
2
3
4
6 rlm_attr_rewrite - FreeRADIUS Module
7
9 The rlm_attr_rewrite module provides functionality to rewrite data in
10 radius packets on the fly. This can be useful in authorization and
11 accounting functions.
12
13 The main configuration items to be aware of are:
14
15 attribute
16 The name of the attribute that you want to be rewritten
17
18 searchfor
19 String to be replaced.
20
21 searchin
22 Where to look for the attribute. Valid values are: packet,
23 reply, proxy, proxy_reply, config
24
25 replacewith
26 String to replace "searchfor".
27
28 append Set to yes or no. If set to yes then the replace string will be
29 appended to the original string.
30
31 ignore_case
32 Set to yes or no. Determines whether search will be case insen‐
33 sitive or case sensitive.
34
35 new_attribute
36 Set to yes or no. If set to yes, then new attribute will be
37 created with values from "searchin" and "replacewith". Other
38 options will be ignored.
39
40 max_matches
41 Set the max number of attributes to match against. This is use‐
42 ful if you need to rewrite the value in multiple Vendor Specific
43 Attributes.
44
46 authorization, authentication, postauthentication, preaccounting,
47 accounting, preproxy, postproxy
48
50 /etc/raddb/radiusd.conf
51
53 radiusd(8), radiusd.conf(5)
54
56 Chris Parker, cparker@segv.org
57
58
59
60
61 3 February 2004 rlm_attr_rewrite(5)