Using FreeRadius for Supermicro IPMI

1. Create a new FreeRadius Virtual site for Supermicro IPMI (without enabling SQL support)

https://pangnet.net/freeradius-sql

2. Edit /usr/local/etc/raddb/dictionary and add a new attribute

ATTRIBUTE	IPMI-radius		26	octets

3. Edit /usr/local/etc/raddb/policy.d/foo and add

foo {
      update reply {
        # Vendor-Specific = "H=4"
        &Attr-26 = 0x483D34
      }
}

0x483D34 is Hex Code for String "H=4"

If you need other type of permission (e.g. H=3) just change the string to hex code.

4. Edit /usr/local/etc/raddb/users and add the following user

ipmiAdmin	Cleartext-Password := "Any-password"
	IPMI-radius += "0x483d34"

You can replace ipmiAdmin and authorization type.

5. Restart FreeRadius

6. Login to Supermicro IPMI and enable Radius support.