Topic: One of those LDAP migration problems
==== Required information ====
- iRedMail version 0.9.7
- Debian 9 Stretch x64 with Proxmox 5 (4.10.17-3-pve #1 SMP PVE 4.10.17-21)
- Store mail accounts in which backend: LDAP
- Web server: Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I try to Migrate my existing iRedMail Install to a new machine.
For that, i used this tutorial:
http://www.iredmail.org/docs/backup.restore.html
In order to get somethign working i installed iredmail on the new server using my old config file.
After that i went forward with the howto (including generating new password hashes for the old passwords for vmail and vmailadmin)
slapd is starting normaly but i cant login to ldap at all (not even with the manager password) and postfix & dovecot cant either:
postfix/proxymap[8713]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=52k,dc=de: 49 (Invalid credentials)
So clearly i did somethign wrong. But im out of idears.
(i redid all of the above several times to ensure im not missing anything)
The replaced password hashes in my backup look like thes (i used the iredmail ldap backup script to genrate those backups manualy):
dn: cn=vmail,dc=52k,dc=de
objectClass: person
objectClass: shadowAccount
objectClass: top
cn: vmail
sn: vmail
uid: vmail
userPassword: {SSHA}M6ctDlUXFRmRQnZatPqOi07GKNqfcd4p
Any idears?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.