Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 05-07-2008, 11:32 AM
Moderator
 
Posts: 5,806
Default

Now that has been done could you shutdown all the ZCS services, and also ensure any potential stale processes are also killed off. Especially slapd and Postfix. Then start ZCS back up again.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #12 (permalink)  
Old 05-07-2008, 11:38 AM
Active Member
 
Posts: 39
Default

Rebooted completely. Same error.
Reply With Quote
  #13 (permalink)  
Old 05-07-2008, 05:03 PM
Zimbra Employee
 
Posts: 393
Default

Quote:
Originally Posted by ecologist09 View Post
Rebooted completely. Same error.
Use ldapsearch to validate you can bind as the user with the password you believe is the correct one. If not, you need to fix the password in the LDAP server. If it does work, then you need to fix zmlocalconfig's value for the password for the postfix user. If that matches the password value you have set as well, then you need to run "postfix stop" followed by "postfix start rewrite" so it'll update the postfix files used to bind to LDAP.

--Quanah
__________________
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #14 (permalink)  
Old 05-08-2008, 08:36 AM
Active Member
 
Posts: 39
Default

I tried all of the suggestions posted in this thread but the following is what actually worked.

We viewed the contents of /opt/zimbra/conf/ldap-vad.cf and found the password stored therein. Then we used an ldap browser/editor to set the password for zmamavisd and zmpostfix to the value that was in the file - NOT to what was in zmlocalconfig. Now it is connecting again and has returned me to my original problem which i will post in a separate thread so as not to hijack this one.

So the question that remains is - why wasn't :

Code:
zmlocalconfig -e ldap_postfix_password=password
or
zmldappasswd -p password
updating the passwords in the /opt/zimbra/conf/ldap* files?
Reply With Quote
  #15 (permalink)  
Old 05-08-2008, 08:38 AM
Active Member
 
Posts: 39
Default

Quote:
Originally Posted by quanah View Post
Use ldapsearch to validate you can bind as the user with the password you believe is the correct one. If not, you need to fix the password in the LDAP server. If it does work, then you need to fix zmlocalconfig's value for the password for the postfix user. If that matches the password value you have set as well, then you need to run "postfix stop" followed by "postfix start rewrite" so it'll update the postfix files used to bind to LDAP.

--Quanah
Yes, ldapsearch was authenticating with my "new" password, the one that was set in zmlocalconfig. However, per my post (above) i had to reset the password to the one in /opt/zimbra/conf/lpda-vad.cf in order to get it working again.
Reply With Quote
  #16 (permalink)  
Old 05-08-2008, 08:41 AM
Zimbra Employee
 
Posts: 393
Default

Quote:
Originally Posted by ecologist09 View Post
Yes, ldapsearch was authenticating with my "new" password, the one that was set in zmlocalconfig. However, per my post (above) i had to reset the password to the one in /opt/zimbra/conf/lpda-vad.cf in order to get it working again.
Running postfix start rewrite is what would have updated the ldap-*.cf files to use the new password. In 5.0.6, any time you restart postfix, it will update those files, but that's not the current behavior.
__________________
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #17 (permalink)  
Old 05-08-2008, 08:43 AM
Active Member
 
Posts: 39
Default

Quote:
Originally Posted by quanah View Post
Running postfix start rewrite is what would have updated the ldap-*.cf files to use the new password. In 5.0.6, any time you restart postfix, it will update those files, but that's not the current behavior.

We ran the rewrite option several times and it did not appear to have any effect.
Reply With Quote
  #18 (permalink)  
Old 05-08-2008, 08:50 AM
Active Member
 
Posts: 39
Default

My original problem, before this password mess was:

http://www.zimbra.com/forums/install...html#post90869
Reply With Quote
  #19 (permalink)  
Old 05-08-2008, 09:03 AM
Zimbra Employee
 
Posts: 393
Default

Quote:
Originally Posted by ecologist09 View Post
We ran the rewrite option several times and it did not appear to have any effect.
Sorry, it is "postfix reload" in 5.0.5 and previous. With 5.0.6, postfix will always rewrite the configs when restarted.
__________________
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #20 (permalink)  
Old 05-08-2008, 09:29 AM
Active Member
 
Posts: 39
Default

Thanks. Will mark as solved.
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0