Legacy style generic LDAP attributes

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Mar 21 15:15:56 CET 2014


This was not included in 3.0.2 but will be in 3.0.3

The old v2.x.x rlm_ldap module supported generic valuepair attributes.

These attributes allowed any attribute to be represented in LDAP
without explicitly being added to the radius <-> LDAP attribute map.

In 3.x.x this functionality was retained in the form of the 'valuepair_attribute'.

https://github.com/FreeRADIUS/freeradius-server/blob/master/raddb/mods-available/ldap#L41

Unfortunately this isn't directly backwards compatible with with v2.x.x,
as v2.x.x used attributes without list qualifiers, and inferred the attribute list
from the attribute mapping type.

As an interim measure to ease migration the rlm_ldap module now supports the old 
style functionality.

https://github.com/FreeRADIUS/freeradius-server/blob/master/raddb/mods-available/ldap#L78

This will likely be removed in the next major version (unless someone comes up with a 
compelling reason to keep it) as it's essentially duplicate functionality.

-Arran 

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/mailman/private/freeradius-users/attachments/20140321/b27e4276/attachment.pgp>


More information about the Freeradius-Users mailing list