1

Topic: Inconsistency when creating user via shell script

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

All,

Maybe I just haven't searched with the right keywords, but I seem to have encountered an inconsistency with the usage of the create_mail_user_OpenLDAP.sh script. The usage in the Centos/PureFTPD/OpenLDAP integration guide is as follows:

./create_mail_user_OpenLDAP.sh example.com user1 user2

However, this creates users with a common name of only user1 or user2, not user1@example.com or user@example.com, like the iRedAdmin user manager produces.

My question: Is the common name (cn) used for anything at the user entry level? Does this inconsistency make any difference?

----

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

2

Re: Inconsistency when creating user via shell script

I think I found the culprit. 'DIsplay Name' in the iredadmin web UI most likely correlates to the common name entry. It appears it's just an abitrary name that isn't used for reference by anything?

3

Re: Inconsistency when creating user via shell script

'Display Name' is just used in iRedAdmin, or LDAP address book.

4

Re: Inconsistency when creating user via shell script

That's the conclusion I came to. Thanks for verifying!