Help in understanding variable expansion
Alan DeKok
aland at deployingradius.com
Tue Feb 11 21:51:09 UTC 2025
On Feb 11, 2025, at 4:02 PM, Luca Cavana via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
>
>> What other User-Name format will the Linux supplicants send?
>
> Whatever you want them to send. To keep things simple, I want them to send their FQDNs which are equal to the certificate subject they are issued.
That's best, yes.
>> You can instead use the "tolower" function to compare the two strings:
>
> This worked perfectly. Thank you, thank you very much Alan.
Good to hear.
> I have one last question about this function; it isn't documented in man unlang (at least in Fedora 41 running freeradius 3.2.5).
The "man" pages are pretty minimal, because they're not meant to be huge.
> Now that I know it exists I found plenty of references online, including this one https://www.networkradius.com/doc/FreeRADIUS-Implementation-Ch16.pdf.
> Is there a reference in the documentation provided with the server that I missed?
https://www.freeradius.org/documentation/freeradius-server/3.2.8/
And
https://www.freeradius.org/documentation/freeradius-server/3.2.8/unlang/xlat/index.html
All of that documentation is included with the server source, under the doc/antora directory. It should probably also be installed as a "freeradius-doc" package.
The documentation for v4 is pretty exhaustive. We're actively working on updates.
Alan DeKok.
More information about the Freeradius-Users
mailing list