Resetting LDAP & MySQL Passwords: Difference between revisions
(Add info from forums) |
Wannabetenor (talk | contribs) |
||
Line 3: | Line 3: | ||
== Resetting the LDAP Password == | == Resetting the LDAP Password == | ||
First, we need to make sure that Zimbra is stopped. | |||
Try running zmcontrol stop | Try running: | ||
>su zimbra | |||
>zmcontrol stop | |||
Just to be safe, you can make sure that all Zimbra services are stopped: | |||
>ps auxww | grep zimbra | |||
>ps auxww | grep slapd | |||
Kill any left over processes. | |||
Now, we can reset the passwords: | |||
First the root(note: these are run as user zimbra) | |||
zmldappasswd '''newpass''' | >zmldappasswd --root '''newpass''' | ||
Next the zimbra: | |||
>zmldappasswd '''newpass''' | |||
Make sure you use the same password for both! | Make sure you use the same password for both! |
Revision as of 02:09, 16 May 2006
By far, one of the most common problems in getting a service started is an incorrect password.
Resetting the LDAP Password
First, we need to make sure that Zimbra is stopped.
Try running: >su zimbra >zmcontrol stop
Just to be safe, you can make sure that all Zimbra services are stopped: >ps auxww | grep zimbra >ps auxww | grep slapd
Kill any left over processes.
Now, we can reset the passwords:
First the root(note: these are run as user zimbra)
>zmldappasswd --root newpass
Next the zimbra: >zmldappasswd newpass
Make sure you use the same password for both!