rlm_realm(5)
πΈ NAME πΈ
rlm_realm(5) is the page for rlm_realm, aka the FreeRADIUS Module that handles realms. Bestie, it's giving "split the username, find the realm, keep it cute" energy β¨
π DESCRIPTION π
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, but Realms can also be used locally to provide different service profiles based on the Realm being used. No cap, that's the whole vibe π«Ά
The main configuration items to be aware of are:
formatβ This can be either'prefix'or'suffix'. It specifies whether the Realm is before or after the User portion in theUser-Namestring.delimiterβ A single character in quotes, which is used as the delimiting character that separates the Realm and User sections of the string.ignore_defaultβ This is set to either'yes'or'no'. If set to'yes', this will prevent the module instance from matching a realm against theDEFAULTentry. This may be useful if you have multiple realm module instances. The default is'no'.ignore_nullβ This is set to either'yes'or'no'. If set to'yes', this will prevent the module instance from matching a realm against theNULLentry. This may be useful if you have multiple realm module instances. The default is'no'.
This module parses the realm from the User-Name attribute according to the instance configuration, and then performs a lookup to find a matching realm in the /etc/raddb/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. Periodt π
π CONFIGURATION π
Here's the config moment, bestie β keep it exactly like this:
modules {
... stuff here ...
# useranme@realm syntax
realm suffix {
format = suffix
delimiter = "@"
}
# realm/username syntax
realm prefix {
format = prefix
delimiter = "/"
}
... stuff here ...
}
β¨ SECTIONS β¨
This module shows up in these sections: authorization, pre-accounting. Slay π
π¦ FILES π¦
/etc/raddb/radiusd.conf/etc/raddb/proxy.conf
π SEE ALSO π
Go read these too, iykyk:
radiusd(8)radiusd.conf(5)proxy.conf(5)
π AUTHORS π
Shoutout to Chris Parker, cparker@segv.org. Iconic π
π That's the whole page, bestie! Cute little sign-off: this came from the FreeRADIUS Module source/version, dated 14 March 2004, and the page is rlm_realm(5). Slay and goodbye! β¨π
π¦ where this page comes from
- alpine 3.22: freeradius-doc 3.0.27-r1 Β· GPL-2.0-or-later
- alpine 3.23: freeradius-doc 3.0.27-r2 Β· GPL-2.0-or-later
- alpine 3.24: freeradius-doc 3.0.27-r3 Β· GPL-2.0-or-later
- arch rolling: freeradius 3.2.10-4 Β· GPL-2.0-or-later
- centos-stream 10: freeradius 3.2.8-2.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- centos-stream 9: freeradius 3.0.27-4.el9 Β· GPLv2+ and LGPLv2+
- fedora 43: freeradius 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius 3.2.7-6.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: freeradius 3.2.8-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: freeradius 3.2.8-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- opensuse-leap 16.0: freeradius-server 3.2.5-160000.2.2 Β· GPL-2.0-only AND LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms