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 Search this Thread Display Modes
  #1 (permalink)  
Old 06-20-2008, 02:21 PM
Intermediate Member
 
Posts: 16
Default Change server name in Zimbra Network 5.0.6_GA_2313

I would like to change my server name so that I can use already signed SSL certificates for the mail server.

I believe this setting is zimbra_server_hostname in zmlocalconfig, but it's clearly not as simple as changing this variable.

When I change this, the LDAP tree does not match and the mailbox process does not start.

What is the correct way to make this change?

Searching for help on this issue has not been fruitful.

Thank you!
Reply With Quote
  #2 (permalink)  
Old 06-23-2008, 06:05 AM
Moderator
 
Posts: 441
Default

If you're changing the server's hostname, you might try ZmSetServerName - Zimbra :: Wiki
Reply With Quote
  #3 (permalink)  
Old 06-23-2008, 04:51 PM
Intermediate Member
 
Posts: 16
Default

Ok, I've used the zmsetserver command, but now my LDAP tree appears to be very broken:

Jun 23 19:08:26 server postfix/trivial-rewrite[24685]: warning: dict_ldap_connect: Unable to bind to server
ldap://zimbra.domain.com:389 as uid=zmpostfix,cn=appaccts,cn=zimbra: 49 (Invalid credentials)

Using ldapsearch I confirmed that I do not know the password to the zmpostfix account. So I tried to reset it using the following:

# ldapmodify -H ldap://zimbra.domain.com:389 -x -D 'cn=config' -W
Enter LDAP Password:
dn: uid=zmpostfix,cn=appaccts,cn=zimbra
changetype: modify
replace: userPassword
userPassword: password
modifying entry "uid=zmpostfix,cn=appaccts,cn=zimbra"
ldapmodify: No such object (32)
matched DN: cn=zimbra

As you can see, this doesn't work.

Any suggestions?
Reply With Quote
  #4 (permalink)  
Old 06-23-2008, 05:54 PM
Moderator
 
Posts: 441
Default

Try searching the wiki. It's got lots of useful info.

Resetting LDAP & MySQL Passwords - Zimbra :: Wiki
Reply With Quote
  #5 (permalink)  
Old 06-23-2008, 10:26 PM
Intermediate Member
 
Posts: 16
Default

This link was not helpful.

In fact, what happened was that zmsetservername ran and removed the entire "appaccts" cn. All the accounts, zmpostfix, zmamavis, and zmreplica were all missing completely.

I was able to add them back using sections of zimbra.ldif and ldapadd with the correct passwords.

If anyone has an explanation for this behavior, please reply. Otherwise, this thread is closed.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.