[turba] Composite field, firstname, lastname

Charles AMPEAU luma at galeo.net
Mon Jan 2 06:57:16 PST 2006


Hi list,

I'm using Turba 2.0.5 with LDAP and I'd like to submit contact with
firstname and lastname.

[...]
'map' => array(
        '__key' => 'dn',
        '__uid' => 'uid',
        //'name' => 'cn',
        'name' => array('fields' =>
array('firstname','lastname'),'format' => '%s %s'),
        'lastname' => 'object_lastname',
        'firstname' => 'object_firstname',
        'email' => 'mail',
[...]

This is not working. Do you have an idea how to solve this?

Failed to add an object: [34] "Invalid DN syntax" DN:
,ou=addressbook,dc=radiallsystems,dc=com (attributes:
[a:4:{s:15:"object_lastname";s:6:"AMPEAU";s:16:"object_firstname";s:7:"Charles";s:3:"uid";s:55:"20060102155552.1ilv2yisrsw0 at xxxxx.xxxxxx.xxx";s:11:"objectclass";a:4:{i:0;s:3:"top";i:1;s:6:"person";i:2;s:20:"organizationalPerson";i:3;s:13:"inetOrgPerson";}}]).Charset:UTF-8

Regards

Charles



More information about the turba mailing list