get name of authentication realm

Zdeněk Sobotka zdenek.sobotka at
Thu Nov 29 12:02:57 CET 2018

Hello, I'm trying to retreive name of "authentication realm" like a
variable in the Freeradius v3 ("LOCAL" in variable in my case). In debug
log, near suffix module i see:

(1) suffix: Checking for suffix after "@"
(1) suffix: Looking up realm "" for User-Name = "name at"
(1) suffix: Found realm ""
(1) suffix: Adding Stripped-User-Name = "name"
(1) suffix: Adding Realm = ""
(1) suffix: Authentication realm is LOCAL

I'm found in documentation, that the "Authentication realm" can be found
in "control:Proxy-To-Realm"

At logs i have, but that variable is empty:
(2)     if ("%{control:Proxy-To-Realm}" != "LOCAL") {
(2)     ERROR: Failed retrieving values required to evaluate condition

Thank you for the advice.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3064 bytes
Desc: Elektronicky podpis S/MIME
URL: <>

More information about the Freeradius-Users mailing list