rlm_attr_rewrite(5) FreeRADIUS Module rlm_attr_rewrite(5)NAME
rlm_attr_rewrite - FreeRADIUS Module
DESCRIPTION
The rlm_attr_rewrite module provides functionality to rewrite data in radius packets on the fly. This can be useful in authorization and
accounting functions.
The main configuration items to be aware of are:
attribute
The name of the attribute that you want to be rewritten
searchfor
String to be replaced.
searchin
Where to look for the attribute. Valid values are: packet, reply, proxy, proxy_reply, config
replacewith
String to replace "searchfor".
append Set to yes or no. If set to yes then the replace string will be appended to the original string.
ignore_case
Set to yes or no. Determines whether search will be case insensitive or case sensitive.
new_attribute
Set to yes or no. If set to yes, then new attribute will be created with values from "searchin" and "replacewith". Other options
will be ignored.
max_matches
Set the max number of attributes to match against. This is useful if you need to rewrite the value in multiple Vendor Specific
Attributes.
SECTIONS
authorization, authentication, postauthentication, preaccounting, accounting, preproxy, postproxy
FILES
/etc/raddb/radiusd.conf
SEE ALSO radiusd(8), radiusd.conf(5)AUTHOR
Chris Parker, cparker@segv.org
3 February 2004 rlm_attr_rewrite(5)
Check Out this Related Man Page
rlm_always(5) FreeRADIUS Module rlm_always(5)NAME
rlm_always - FreeRADIUS Module
DESCRIPTION
The rlm_always module provides a simple way to "always" return a value during the processing of a configuration section. The module does
nothing other than return a configured value.
The main configuration item to be aware of is:
rcode This module will always return with the rcode specified. The default, if none specified is: fail (RLM_MODULE_FAIL).
The valid options are:
reject RLM_MODULE_REJECT
fail RLM_MODULE_FAIL
ok RLM_MODULE_OK
handled
RLM_MODULE_HANDLED
invalid
RLM_MODULE_INVALID
userlock
RLM_MODULE_USERLOCK
notfound
RLM_MODULE_NOTFOUND
noop RLM_MODULE_NOOP
updated
RLM_MODULE_UPDATED
CONFIGURATION
modules {
...
always ok {
rcode = ok
}
...
}
...
authorize {
...
redundant {
sql1 # try to find the user in sql1
sql2 # try to find the user in sql2
ok # if still not found, it's OK.
}
...
}
SECTIONS
authorization, authentication, postauthentication, preaccounting, accounting, preproxy, postproxy
FILES
/etc/raddb/radiusd.conf
SEE ALSO radiusd(8), radiusd.conf(5)AUTHOR
Chris Parker, cparker@segv.org
3 February 2004 rlm_always(5)
Hi,
I have a string which can be completely unstructred. I am looking to parse out values within that String.
Here is an example
<Random Strings> String1=<some number a> String2=<some number b> String3=<some number c> Satish=<some number d> String4=<some number e>
I only want to parse out... (1 Reply)
I am trying to find case insensitive file names and then replace that particular file with other name.
if
then
ls | grep -i "update" | xargs -I {} mv {} LineItems.csv
echo "File moved from *update*"
elif
then
ls | grep -i "priority" | xargs -I {} mv {} ... (1 Reply)
Hi Guys,
I need to search and replace a string in AIX using variables and should be case insensitive.
I am able to search and replace using below command but its not working as case insensitive.
cat abc.txt | sed -e 's/$a/$b/g' > abc.txt
But i need to perform this with case... (9 Replies)