Re: Must use 'Attr-26 = ...' instead of 'Vendor-Specific = ...' even when setting explicitly Attr-26 (or vendor data type)
Alan DeKok via Freeradius-Users <[email protected]> Fri, 24 Apr 2026 08:01:41 -0400
| Newsgroups | gmane.comp.freeradius.user |
|---|---|
| Message-ID | <[email protected]> |
--===============5502900292040376681== Content-Type: multipart/signed; boundary="Apple-Mail=_7AA6F592-E77D-49BB-9396-3B0A154A6927"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Apple-Mail=_7AA6F592-E77D-49BB-9396-3B0A154A6927 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Apr 24, 2026, at 6:06=E2=80=AFAM, Francesco Di Nucci = <[email protected]> wrote: > I am using FreeRADIUS 3.0.27 on EL9, and I'm trying to set a Vendor = Attribute in replies. >=20 > For context, I am trying to authenticate SuperMicro BMCs with LDAP = (see thread = https://lists.freeradius.org/pipermail/freeradius-users/2018-March/091085.= html) >=20 > So in my enabled site I edited the post-auth section >=20 > post-auth { > update { > reply:Attr-26 :=3D "0x483D342C20493D34" That's a double quoted string. The "0x" text is part of the string. > This results in "Cannot parse RHS hex as the data type of the = attribute Vendor-Specific" Exactly it can't parse it as hex, because it's not hex. It's a double = quoted string. > 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: >=20 > post-auth { > update { > reply:Attr-26 :=3D "1A1200002A7C483D342C20493D34" Drop the quotes. Use: reply:Attr-26 :=3D 0x1A1200002A7C483D342C20493D34 The server has tests for this, so it should work. Alan DeKok. --Apple-Mail=_7AA6F592-E77D-49BB-9396-3B0A154A6927 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEIUl02elqcIsf1zM0v3SJ0h7dTTMFAmnrW6YACgkQv3SJ0h7d TTNtrg//QLfdTSALZFU7N4PYqQihglYYMhrk0f7TU7hmK+1D6A2HQJeCDniwnG/+ x0d8Z83B9zSWmV/vN84bDMD9FiAmLarq7hoppEHsnxD7s196Wil6OQJys3fVyS5V eaJyR3SIE+qo4EiBCRxEESztET/tGWXhbyQ4LNmxGKW86KVSMb84AHpFmkoWX93b /ArpFPIfmGFzTkW8EEXhpEySmSripOR5cxfO4MqQn2UskzPLMUP9lQjCOxedbz0Z x6TXpLEaDjVB2TW03CEFP7v1Nas5zVTdh4IEVIc4C91VVEPLQ4LEXN8DNqEPPtdU lsAXL+ui0gDMwdSEpVRc/rmqp38PSybbLXRQCmrFJqM81XbmePmghnWQtG28etbj 6dfTCJSunIVFH0457e3U9cQ+F5jAx5pHKJPZUnUcgN4/haPo2WaG818DIIp4W4ba AwkAdZDG491CnUPwJcRdh9YEvdo2k6FKq3rpDSZXkEZv1wsQ7WgtrKDVuTqNL30U MWd+gMY8ssAyMiB6eXyf2R1kr0U7hBFsZu+IAO9yndIBPTDiiGyWLs//3vLuT/ol knhmJgc1Rnl4CS9yxyzqQk6IeLGWwcR7C5hHlcsPqyiCOApmR1iii9ot8mt6irSX pi0bpS59xu2oWyGTAThyoPv52+wN89bU9agjE2qwii7crlP2YgM= =tgPc -----END PGP SIGNATURE----- --Apple-Mail=_7AA6F592-E77D-49BB-9396-3B0A154A6927-- --===============5502900292040376681== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --===============5502900292040376681==--