[cvs] [Wiki] changed: SyncMLTurbaConfiguration

Ben Klang ben at alkaloid.net
Sun Apr 1 16:04:44 UTC 2007


bklang  Sun, 01 Apr 2007 09:04:43 -0700

Modified page: http://dev.horde.org/horde/wicked/SyncMLTurbaConfiguration
New Revision:  1.2
Change log:  Add LDAP sync info

@@ -1,6 +1,9 @@
 + Turba Configuration suitable for !SyncML

+[[toc]]
+
+++ Turba with an SQL backend
 The sql script below provides a sql database schema and source.php snippet
to make SyncML work better with Turba address books. Run the sql script to
create the table. You have to rename/delete/backup your original
turba_objects table first.

 You also have to use the sources.php below or paste it into your existing
sources.php (in the turba/conf directory)

@@ -153,4 +156,13 @@
 ALTER TABLE turba_objects CHANGE object_workaddress object_workstreet
VARCHAR(255);

 ALTER TABLE turba_objects CHANGE object_name object_lastname VARCHAR(255);
 </code>
+
+++ Turba with an LDAP backend
+The default LDAP configuration does not include a mapping for the firstname
attribute.  Fortunately the LDAP schemas do provide such a field.  Simply
add the following to the field maps in your sources.php to any LDAP source
definitions:
+
+<code>
+"firstname" => "givenname",
+</code>
+
+One caveat:  Since the LDAP driver stores contacts using their full name as
the object key, this will necessitate duplicately entering information in
Turba.  You will see that three fields, First Name, Last Name, and Name are
all required fields.  !SyncML will handle this properly and automatically
(by concatenating the users two name fields), but web users will see all
three fields blank.  There may be alternative workarounds to this issue
depending on your environment.


More information about the cvs mailing list