Rules

As it was explained here some compromises had to be made in order to make both systems compatible. One of those compromises was to be able to turn the DIF entities attributes into something meaningful for the LDAP, and vice versa. This section compiles the attribute mapping between the IDIFUser and LDAPUser and the IDIFGroup and LDAPGroup.

Mapping IDIFUser to LDAPUser

The following table shows the mapping between attributes when converting from IDIFUser into LDAPUser objects.

IDIFUser LDAPUser
id login name, name, user name
profile ID parent group DN
nick display name
name given name
password password
e-mail e-mail

Mapping LDAPUser to IDIFUser

The following table shows the mapping between attributes when converting from LDAPUser into IDIFUser objects.

LDAPUser IDIFUser
login name id
parent group DN profile ID
display name nick
given name name
password password
e-mail e-mail

Mapping IDIFGroup to LDAPGroup

The following table shows the mapping between attributes when converting from IDIFGroup into LDAPGroup objects.

IDIFGroup LDAPGroup
id common name
name name
parent group ID parent group DN
description description

Mapping LDAPGroup to IDIFGroup

The following table shows the mapping between attributes when converting from LDAPGroup into IDIFGroup objects.

LDAPGroup IDIFGroup
common name id
name name
parent group DN parent group ID
description description