Roundcube Community Forum

Release Support => Pending Issues => Topic started by: cam815 on November 17, 2011, 04:59:50 PM

Title: Where can we find a listing of all possible 'fieldmap' array values?
Post by: cam815 on November 17, 2011, 04:59:50 PM
I'm currently using this to map my Roundcube LDAP Addressbook fields to my Apple Open Directory:

Code: [Select]
'fieldmap' => array(      // mapping of contact fields to directory attributes
// roundcube  => ldap
'name'        => 'cn',
'surname'     => 'sn',
'firstname'   => 'givenName',
'phone:home'  => 'homePhone',
'phone:work'  => 'telephoneNumber',
'phone:mobile' => 'mobile',
'email'       => 'mail',
'street'      => 'street',
'zipcode'     => 'postalCode',
'locality'    => 'l',
'country'     => 'c',
'organization' => 'o'
);


I checked the wiki but a search for 'fieldmap' didn't turn up anything. Where can I find:

[LIST=A]


I realize B is really isn't a question I should expect to be answered here but it can't hurt to ask ;)

For example, even though I have the 'Company' field filled in in my Open Directory record, it doesn't show up in my Roundcube LDAP Address Book. I don't know if the 'organization' or 'o' parts of the mapping above are correct.

Thanks in advance!
Title: Where can we find a listing of all possible 'fieldmap' array values?
Post by: SKaero on November 17, 2011, 09:06:27 PM
I'm not sure on the Apple LDAP options but the standard RoundCube fields are: name, firstname, surname, middlename, prefix, suffix, nickname, jobtitle, organization, department, assistant, manager, gender, maidenname, spouse, email, phone, address, birthday, anniversary, website, im, notes, photo
Title: Where can we find a listing of all possible 'fieldmap' array values?
Post by: cam815 on November 21, 2011, 05:04:39 PM
Great, thank you. The Roundcube Wiki (http://trac.roundcube.net/) could use this info!