Contextual mapping of LDAP attributes

Enrico Polesel polesel at poisson.phc.unipi.it
Thu Jul 7 23:42:22 CEST 2016


On Fri, Jul 08, 2016 at 08:54:06AM +1200, Peter Lambrechtsen wrote:
> I use shortname and then Client-Shortname for exactly that.
> 
> I set my BNGs with two values "A_B" in client shortname then use unlang to
> split the string and use them for various parts of logic. One reason is
> "Environment_UniqueVal" so I can determine if it's production or another
> environment. This way I have a single config raddb across all environments.
> Release management is a case of taring the directory and dropping it onto a
> new environment then doing a -XC to make sure it's ok and bouncing the
> daemon.
> 

Shortname is just one variable, with custom variables you can use as
many as you want without using any '_' trick! ;)

Enrico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160707/7f6aa4b6/attachment.sig>


More information about the Freeradius-Users mailing list