Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


iredmail_restore_from_ldif

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
iredmail_restore_from_ldif [2015/04/06 19:57] – [iRedMail (OpenLDAP) restore from LDIF] adminiredmail_restore_from_ldif [2015/04/06 20:17] – [iRedMail (OpenLDAP) restore from LDIF] admin
Line 19: Line 19:
   * Set correct permissions and restart slapd:<code>chown ldap. /var/lib/ldap/<yourdomain>/*.bdb   * Set correct permissions and restart slapd:<code>chown ldap. /var/lib/ldap/<yourdomain>/*.bdb
 systemctl restart slapd</code> systemctl restart slapd</code>
-  * Change passwords from iRedMail.tips file:<code>#cn=vmail,dc=xxx,dc=xxx+  * Change passwords for vmail and vmailadmin (see iRedMail.tips file):<code>#cn=vmail,dc=xxx,dc=xxx
 #cn=vmailadmin,dc=xxx,dc=xxx #cn=vmailadmin,dc=xxx,dc=xxx
  
- +ldappasswd -x -h localhost -D "cn=Manager,dc=<yourdomain>,dc=com" -w <rootpass> -s <userpass> "cn=vmail,dc=<yourdomain>,dc=com" 
- +ldappasswd -x -h localhost -D "cn=Manager,dc=<yourdomain>,dc=com" -w <rootpass> -s <userpass> "cn=vmailadmin,dc=<yourdomain>,dc=com"</code> 
-</code>+  * Verify example:<code>ldapsearch -D "cn=directory manager" -w secret -p 389 -h server.example.com -b "dc=example,dc=com"</code>
iredmail_restore_from_ldif.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1