1

Topic: Add Object Class

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====

I am working on horde and iredmail LDAP integration. I want to add objectClass turbaContact and calEntry for every existing user and all new users that will come in the future when adding user account using iredadmin. Can anyone assist me on how to go?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Add Object Class

*) For existing users, you have to write a script to update them. You can modify our existing script for this: https://bitbucket.org/zhb/iredmail/src/ … ra/update/
*) For new users created with iRedAdmin, you can modify file 'libs/ldaplib/iredldif.py', function 'ldif_mailuser()' to add custom ldap objectclasses/attributes.

3

Re: Add Object Class

Thanks alot ZhangHuangbin. I am done with new users but not yet with existing users as I am not good in Python.