set an ldap attribute in the ldap file

Alan DeKok aland at deployingradius.com
Wed Oct 24 12:53:04 CEST 2018


On Oct 24, 2018, at 5:19 AM, Yaƫl Rozanes <irozanes387 at hotmail.fr> wrote:
> 
> I would have liked to know if it was possible to "fix" an ldap attr in the ldap file, such as :
> Tunnel-Type is always equal to VLAN
> and
> Tunnel-Medium-Type is always equal to 6

  Why?  The server has many, many, ways to set attributes.  Why not use those?

> I searched with the operators but I didn't fully understand how they work.

  The rlm_ldap documentation describes the operators in detail.  It describes how the configuration works.

> and I would have liked something like this

  No.  You can't do that.  Don't do that.

> but I'd like to free these fields from my ldap

  See "man unlang".  Look for "update".

  Don't try to invent some new way of doing things.  Use the documented wats to do things.

  Alan DeKok.




More information about the Freeradius-Users mailing list