Must use 'Attr-26 = ...' instead of 'Vendor-Specific = ...' even when setting explicitly Attr-26 (or vendor data type)
Francesco Di Nucci
francesco.dinucci at na.infn.it
Fri Apr 24 10:06:39 UTC 2026
Hi,
I am using FreeRADIUS 3.0.27 on EL9, and I'm trying to set a Vendor
Attribute in replies.
For context, I am trying to authenticate SuperMicro BMCs with LDAP (see
thread
https://lists.freeradius.org/pipermail/freeradius-users/2018-March/091085.html)
So in my enabled site I edited the post-auth section
post-auth {
update {
reply:Attr-26 := "0x483D342C20493D34"
}
}
This results in "Cannot parse RHS hex as the data type of the attribute
Vendor-Specific"
As it's missing Vendor ID, I tried to add it. Super Micro PEN on IANA is
10876, so full vendor attribute should be 1A1200002A7C483D342C20493D34
if I am correct:
post-auth {
update {
reply:Attr-26 := "1A1200002A7C483D342C20493D34"
}
}
And here the result is Must use 'Attr-26 = ...' instead of
'Vendor-Specific = ...' , even if I am setting reply:Attr-26
Does anyone have a suggestion? I'd like to add it to post-auth (and not
to mods-enabled/ldap) to then add a conditional on NAS-Identifier =
"SUPERMICRO BMC"
Thanks in advance
Francesco
--
Francesco Di Nucci
System Administrator
Compute & Networking Service, INFN Naples
Email: francesco.dinucci at na.infn.it
More information about the Freeradius-Users
mailing list