Topic: LDAP Migration Issue
======================== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 14.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Pro
- Related log if you're reporting an issue:
====
We are migrating the current 0.9.1 iredmail server to the latest 0.9.5-1:
Built a brand-new server with the clean 0.9.5-1 iredmail installed.
Installed iRedAdmin-Pro.
The default postmaster account could now login to the iredadmin backend (admin working) and SOGo web interface (SOGo working) properly.
Migrated the LDAP accounts:
reference: this
used vmail and vmailadmin passwords from the new 0.9.5-1, and overwrote them in the backup .ldif.bz2 file generated by the ired daily backup script.
stoped the slapd server
since the default db is MDB not BDB as the doc described, DB_CONFIG/ is now in ldap/ not in ldap/example.com
we removed everything in the /var/lib/ldap/ except /var/lib/ldap/DB_CONFIG/ and /var/lib/ldap/example.com folders.
there were two mdb files in /var/lib/ldap/example.com, we removed them as well.
started and stoped slapd service once.
imported this modified .ldif file into the new 0.9.5-1 system using slapadd. the system responsed _#################### 100.00% eta none elapsed none fast!.
started the slapd service.
copied over the vmail folder, also confirmed owner/group permissions were correct.
At this point the admin users can logged into the iRedAdmin-Pro properly, but both the admins and the ordinary users can't login into the SOGo web interface.
Any clues where we should check into?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.