1

Topic: Global Address Book - how to add other fields

==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
==== ==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version:0.7.4
- Linux/BSD distribution name and version: RHEL 6.2 /iRedadmin Pro 1.6.3
- Any related log? Log is helpful for troubleshooting.
====

Hi Zhang,

Is it possible to display other fields like  employee ID,designation,description etc.  in roundcubemail global
address book area?

IRedadmin Pro 1.6.3 console various filed I am adding like user ID,cell number,description etc. but how it will get displayed in global address book.

attached one sample address book for reference.

Thanks in advance.

Post's attachments

addressbook.png
addressbook.png 18.69 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

2

Re: Global Address Book - how to add other fields

Hi santoshkrg,

Roundcube cannot display these fields in global LDAP address book due to lack of LDAP attribute maps, but it's improved in Roundcube-0.8.0 (not released yet), hope we can get them work in Roundcube 0.8.0.

3

Re: Global Address Book - how to add other fields

ZhangHuangbin wrote:

Hi santoshkrg,

Roundcube cannot display these fields in global LDAP address book due to lack of LDAP attribute maps, but it's improved in Roundcube-0.8.0 (not released yet), hope we can get them work in Roundcube 0.8.0.


Hi Zhang,

iRedmail 8.3 and roundcube 0.8.2 LDAP attribute support to add custom field in global address book should be there.

I am seeing phone numbers are coming in Global address book in roundcube but how to add or display another field say Designation or Department which we are filing it while creating new user in iRedadmin Pro.

How to create new user in command Line on iRedmail Server console itself.

Hope this time I get solution for custom field additon and display in roundcube.

Thanks in advance Zhang !!!

Regards,
Santosh

4

Re: Global Address Book - how to add other fields

Please check sample of global ldap address book in Roundcube config file /var/www/roundcubemail/config/main.inc.php.

5

Re: Global Address Book - how to add other fields

ZhangHuangbin wrote:

Please check sample of global ldap address book in Roundcube config file /var/www/roundcubemail/config/main.inc.php.

Hi Zhang,

I have seen the roundcube config file LDAP attribute but not able to understand and co-related the iredmin Control Panel field " Job Title/Responsibility" - how this will appear in roundcube Global address book.

If you get time see how this can be achieved as all good mail web interface having this features.

Thanks,
Santosh

6

Re: Global Address Book - how to add other fields

I checked with Roundcube 0.8.2, seems it cannot display title with default setting in LDAP address book settings:

    'fieldmap' => array(
        ...
        'title'       => 'title',
        'email'       => 'mail:*',

Looks like bug of Roundcube.

Value of User ID in iRedAdmin is stored in LDAP attribute employeeNumber, title is "title".