wiki:plugins/ldap

General

The LDAP plugin was originally implemented for 0.2x versions of OpenSync. There exists now a port to the 0.3x API.

Cf. LDAP plugin in svn and ticket about missing port.

Features

The LDAP plugin can synchronize all four object types. For "contact" the user can choose between the LDAP schemata "evolutionperson.schema" or "inetorgperson.schema". The other object types make use of general LDAP object classes like "document" or "organizationalUnit".

The LDAP plugin makes use of  calls to libldap as provided by  openldap and talks to their LDAP server " slapd" via the LDAP protocol.

Other LDAP servers have not been tested, yet.

Design

The plugin is split in the actual "ldap-sync" plugin and an "ldap-format" plugin, mainly because the the mapping to any of those LDAP schemata has turned out to be rather problematic. The mapping is not 100 % correct right now. This means that either certain XML attributes do not get matched, at all, or get matched in a wrong way. However, this should be only an exceptional case. A general problem for all XML attributes is, that most of them MUST NOT occur more than once, as the multiple storage of the one and the same LDAP attribute name on the LDAP side is not implemented, yet.

All the format related functions are most probably subject to change in the near future, while the actual "ldap-sync" plugin should not change too much in the next time.

Related OpenSync Pages