1

Topic: import users in ldap / create_mail_user_OpenLDAP.py

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.7
- Linux/BSD distribution name and version: CentOS release 6.6 (Final)
- 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:
====


Hello,
I'm trying to import users in ldap, but I'm facing a problem :

I have an existing domain domainA.tld, and an user user@domainA.tld.
When I want to import in ldap a user user@domainB.tld, I get the following error in phpldapadmin :
"This update has been or will be cancelled, it would result in an attribute value not being unique. You might like to search the LDAP server for the offending entry."

I don't know if this error comes from ldap scheme or from phpldapadmin (I'm not familiar with ldap).
I hope somebody here already faced this problem and will be able to help me.

Regards,
Cédric

----

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

2

Re: import users in ldap / create_mail_user_OpenLDAP.py

Dear Cedric,

You must create `domainB.tld` with iRedAdmin first, then import this user (user@domainB.tld).

3

Re: import users in ldap / create_mail_user_OpenLDAP.py

Hello Zhang,
Domain 'domainB.tld' is already created when I try to import users.

Regards,
Cédric

4

Re: import users in ldap / create_mail_user_OpenLDAP.py

Rico29 wrote:

"This update has been or will be cancelled, it would result in an attribute value not being unique. You might like to search the LDAP server for the offending entry."

Please show us what you're trying to import. Detailed ldap attribute names and values.