1 (edited by Bozra 2011-09-29 00:29:36)

Topic: Creating Multiple users

Dear all,

is there a way of creating multiple  users in a domain in iredmail? please share with me

----

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

2

Re: Creating Multiple users

iRedMail ships script for this: iRedMail-x.y.z/tools/create_mail_user_*.

3 (edited by Bozra 2011-09-29 18:03:42)

Re: Creating Multiple users

i have modfied the script  according to the script instructions and when i run it i get the following errors

adding new entry "mail=x@abc.tld,ou=Users,domainName=abc.tld,
ldapadd: Insufficient access (50)
        additional info: no write access to parent.

4

Re: Creating Multiple users

Bozra wrote:

ldapadd: Insufficient access (50) additional info: no write access to parent.

It means the bind dn you used in this script doesn't have necessary permission to create new LDAP users.

You can try "cn=Manager,dc=xx,dc=xx", it has full access to whole LDAP server. (replace "dc=xx,dc=xx" with the real one.)

5

Re: Creating Multiple users

ZhangHuangbin wrote:
Bozra wrote:

ldapadd: Insufficient access (50) additional info: no write access to parent.

It means the bind dn you used in this script doesn't have necessary permission to create new LDAP users.

You can try "cn=Manager,dc=xx,dc=xx", it has full access to whole LDAP server. (replace "dc=xx,dc=xx" with the real one.)

==== Provide basic information to help troubleshoot ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====

thanks i have managed and i see the script is working