1

Topic: User Creation Issue with create_mail_user_OpenLDAP.sh

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: CentOS Linux release 7.2.1511 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? : Yes
- Related log if you're reporting an issue:
====

Hi,

I have rebuild my new iRedMail server, I am have just created new domain and approx 500 users using create_mail_user_OpenLDAP.sh. All users were perfectly created without issues, however if I add new domain and only 3 users it throws an error as:

adding new entry "mail=my.user@mynewdomain.co.uk,ou=Users,domainName=mynewdomain.co.uk,o=domains,dc=myprimarydomain,dc=co,dc=uk"
ldap_add: Other (e.g., implementation specific) error (80)
        additional info: index generation failed

It does not give any other errors, if I run it again with just one user than also it gives the same error. But the same file created my primary domain and 500 users without any issues.

What could be the issue?

----

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

2 (edited by ketan.aagja 2016-10-03 23:29:01)

Re: User Creation Issue with create_mail_user_OpenLDAP.sh

got it working by supplying maxsize 2073741824 parameter in slapd.conf

I hope this helps anyone.

3

Re: User Creation Issue with create_mail_user_OpenLDAP.sh

Upcoming iRedMail release will have "maxsize     2147483648" (2GB) by default.