rlm_realm(5) | FreeRADIUS Module | rlm_realm(5) |
rlm_realm - FreeRADIUS Module
The rlm_realm module parses the User-Name attribute into a User section and a Realm section. This is used primarily in a proxy situation, however, Realms can also be used locally to provide different service profiles based on the Realm being used.
The main configuration items to be aware of are:
This module parses the realm from the User-Name attrbiute according to the instance configuration, and then performs a lookup to find a matching realm in the '/etc/freeradius/3.0/proxy.conf' file. Depending on the configuration of the Realm as matched in the file, the username may be rewritten in a 'stripped' format, or with the Realm portion removed. In either case, a Realm attribute is created and added to the packet on a match, which can be used by other modules.
modules {
... stuff here ...
# useranme@realm syntax
realm suffix {
format = suffix
delimiter = "@"
}
# realm/username syntax
realm prefix {
format = prefix
delimiter = "/"
}
... stuff here ...
}
authorization, pre-accounting
/etc/freeradius/3.0/radiusd.conf, /etc/freeradius/3.0/proxy.conf
Chris Parker, cparker@segv.org
14 March 2004 |