Roundcube Community Forum

 

Where can we find a listing of all possible 'fieldmap' array values?

Started by cam815, November 17, 2011, 04:59:50 PM

Previous topic - Next topic

cam815

I'm currently using this to map my Roundcube LDAP Addressbook fields to my Apple Open Directory:

'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]
  • What array values I can use on the roundcube side of the array (left side of the defined array)?
  • What LDAP labels Apple uses for their Open Directory fields (right side of the defined array)?

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!

SKaero

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

cam815