freeradius 3.0.13 LDAP - reply custom Vendor Specific

Matthew Newton mcn at freeradius.org
Thu Nov 30 16:09:20 CET 2017


On Thu, 2017-11-30 at 15:56 +0100, Paweł Cituk wrote:
> 
> I try to authenticate IPMI server trough freeradius but it require
> two
> custom attributes (Vendor Specfic) ie for admin H=4 and I=4.
> 
> How should I configure freeradius to reply for every request with
> custom
> above attributes (without adding them in the ldap schema)

Use unlang in the post-auth section to add reply attributes, e.g.

update reply {
  Attribute-1 = "value1"
  Attribute-2 = "value2"
}

If the attributes aren't already in the supplied FreeRADIUS dictionary
files then you'll need to add them to raddb/dictionary.

-- 
Matthew



More information about the Freeradius-Users mailing list