LDAP Tools/Sync Mapping

From Authentication Tools for Joomla! (JAuthTools)

< LDAP Tools(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
-
The synchronisation map is a new line seperated map of information with the field name in the table, a pipe character and then either an LDAP field name with optional index enclosed in square brackets or a fixed value (for example for category ID) enclosed in square brackets.
+
The synchronisation map is a new line seperated map of information with the field name in the table, a colon character and then either an LDAP field name with optional index enclosed in square brackets or a fixed value (for example for category ID) enclosed in square brackets.
<pre>
<pre>
-
tablefield|ldapfield
+
tablefield:ldapfield
-
tablefield|ldapfield[index]
+
tablefield:ldapfield[index]
-
tablefield|[fixedvalue]
+
tablefield:[fixedvalue]
</pre>
</pre>

Current revision as of 22:28, 13 July 2009

The synchronisation map is a new line seperated map of information with the field name in the table, a colon character and then either an LDAP field name with optional index enclosed in square brackets or a fixed value (for example for category ID) enclosed in square brackets.

tablefield:ldapfield
tablefield:ldapfield[index]
tablefield:[fixedvalue]

An example for jos_contact_details:

name:fullName
con_position:title
telephone:telephoneNumber
misc:objectClass[2]
catid:[12]
published:[1]
email_to:mail

This is used by the advanced synchronisation mambot. The objectClass link for Misc is added for demonstration purposes.

Additional settings to use with the example sync map above for the advanced synchronisation mambot:

  • External Table Name: jos_contact_details
  • User ID field: user_id
  • Primary Key: id
Personal tools