Setting zimbra admin password in LDAP: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:


1. As zimbra, type:  
1. As zimbra, type:  
   zmlocalconfig -s zimbra_admin_password ldap_master_url
   zmlocalconfig -s zimbra_ldap_password ldap_master_url
This returns the values for what is believed to be the password for the zimbra admin user and the URL to talk to the master for making the change.
This returns the values for what is believed to be the password for the zimbra admin user and the URL to talk to the master for making the change.



Revision as of 18:55, 10 January 2008

When you upgrade to 5.0, if your zimbra admin password in the config file does not match the zimbra admin password in LDAP, the upgrade will fail. There is no way to test that the zimbra admin password is correct in LDAP prior to upgrading. You can reset the zimbra admin password before you upgrade to make sure that the passwords match.

1. As zimbra, type:

  zmlocalconfig -s zimbra_ldap_password ldap_master_url

This returns the values for what is believed to be the password for the zimbra admin user and the URL to talk to the master for making the change.

2. Run the following as the zimbra user:

  /opt/zimbra/openldap/bin/ldapmodify -x -H <ldap master URL value> -D
  "uid=zimbra,cn=admins,cn=zimbra" -W

3. When prompted with Enter LDAP password, add the value for zimbra_admin_password returned in Step 1. Press Enter.

4. Then type:

  dn: uid=zimbra,cn=admins,cn=zimbra
  changetype: modify
  replace: userPassword
  userPassword: <value of zimbra_admin_password> 

5. Press Enter twice for the changes to take place.



  Article Footer|Zimbra Collaboration Suite 5.0|1/2/2008
Jump to: navigation, search