On 19.04.2012 19:30, Achim wrote:
Hello Alec:
On 19.04.2012 17:53, A.L.E.C wrote:
On 04/19/2012 05:13 PM, Achim wrote:
'required_fields' => array('cn', 'sn', 'mail', 'givenName'),
change to
'required_fields' => array('cn', 'sn', 'mail', 'gn'),
Correct, "givenName" was a relict from the time before I used the evolutionPerson schema.
Unfortunately, still only 57 out of 63 contacts (the ones *with* a N: field value) get imported, independent of the above setting.
Works for me.
BEGIN:VCARD VERSION:3.0 FN:first last EMAIL;type=INTERNET;type=OTHER:first.last@example.com END:VCARD
C: Add [dn: mail=first.last@example.com,ou=roundcube,o=roundcube,dc=dupie,dc=be]: Array ( [cn] => first last [sn] => lastnet [givenname] => first [mail] => first.last@example.com [objectClass] => Array ( [0] => top [1] => inetOrgPerson ) )
S: OK
'LDAP_rdn' => 'mail', 'required_fields' => array('cn', 'sn', 'mail', 'givenName'), 'fieldmap' => array( 'name' => 'cn', 'surname' => 'sn', 'firstname' => 'givenName', 'email' => 'mail', ... )