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:[email protected]
END:VCARD

C: Add [dn:
[email protected],ou=roundcube,o=roundcube,dc=dupie,dc=be]: Array
(
    [cn] => first last
    [sn] => lastnet
    [givenname] => first
    [mail] => [email protected]
    [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',
...
)

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to