Hello:

On 18.04.2012 20:06, A.L.E.C wrote:
On 04/18/2012 05:45 PM, Achim wrote:

Once I add an N: field and a corresponding value manually to those 6
contacts, the import is successful also for those remaining cards.

It should work. Show your fieldmap and required_fields definition again.

'LDAP_Object_Classes' => array("top", "person", "inetOrgPerson", "organizationalPerson", "evolutionPerson"),

  'required_fields' => array('cn', 'sn', 'mail', 'givenName'),

  'fieldmap' => array(
    // Roundcube  => LDAP
    'prefix'  => 'title',
    'name'        => 'cn',
    'surname'     => 'sn',
    'firstname'   => 'gn',
    'email'  => 'mail',
// for importing existing contacts that only have field EMAIL;type=INTERNET (without type=WORK)
//    'email'  => 'mail',
//    'email:home'  => 'mail',
    'phone:home'  => 'homePhone',
    'phone:work'  => 'telephoneNumber',
    'phone:mobile' => 'mobile',
    'phone:workfax' => 'facsimileTelephoneNumber',
    'photo' => 'jpegPhoto',
    'website' => 'labeledURI',
    'address:work'      => 'street',
    'zipcode:work'     => 'postalCode',
    'locality:work'    => 'l',
    'region:work'      => 'st',
    'country:work'     => 'c',
    'zipcode:home'  => 'postalAddress',
    'locality:home'  => 'otherPostalAddress',
    'region:home'  => 'st',
    'country:home'  => 'co',
    'organization' => 'o',
    'notes'  => 'note',
    'jobtitle'  => 'businessRole',
    'manager'  => 'managerName',
    'assistant'  => 'secretary',
    'department'  => 'departmentNumber',
    'anniversary'  =>  'anniversary',
    'birthday'  => 'birthDate',
    'spouse'  => 'spouseName',
  ),


Thanks for looking into this, Achim
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to