1

Topic: Invalid DN syntax (34) for user

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

I have just installed iredmail, I have tested the webmail and the admin panel and they are ok. But when I attempt to login in phpldapadmin I have this error:

Unable to connect to LDAP server My LDAP Server
Error: Invalid DN syntax (34) for user
error    Failed to Authenticate to server
Invalid Username or Password.

Slapd is running.
What user I have to use for login?

----

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

2

Re: Invalid DN syntax (34) for user

It's better to share with us what username you used to login.

You can login to phpLDAPadmin with two accounts (LDAP DN), you can find them in root directory of iRedMail installation directory, e.g. /root/iRedMail-0.7.3-rc2/iRedMail.tips, includes password of them:
* cn=Manager,dc=xxx,dc=xxx: This is root dn, same as root user on Linux system in OpenLDAP server.
* cn=vmailadmin,dc=xxx,dc=xxx: This is a special account, used to manage mail account related LDAP data. It has read+write permissions under o=domains,dc=xxx,dc=xxx and o=domainAdmins,dc=xxx,dc=xxx.

3

Re: Invalid DN syntax (34) for user

For someone who also search to this topic
The login page said "Login DN"
So your input must me like "cn=Manager,dc=example,dc=com" but "Manager"