Results 1 to 5 of 5

Thread: Change server name in Zimbra Network 5.0.6_GA_2313

  1. #1
    Myrddin is offline Intermediate Member
    Join Date
    Aug 2007
    Location
    Stamford, CT USA
    Posts
    16
    Rep Power
    8

    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!

  2. #2
    p24t is offline Moderator
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    8

    Default

    If you're changing the server's hostname, you might try ZmSetServerName - Zimbra :: Wiki

  3. #3
    Myrddin is offline Intermediate Member
    Join Date
    Aug 2007
    Location
    Stamford, CT USA
    Posts
    16
    Rep Power
    8

    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?

  4. #4
    p24t is offline Moderator
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    8

    Default

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

    Resetting LDAP & MySQL Passwords - Zimbra :: Wiki

  5. #5
    Myrddin is offline Intermediate Member
    Join Date
    Aug 2007
    Location
    Stamford, CT USA
    Posts
    16
    Rep Power
    8

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 02:00 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. Replies: 16
    Last Post: 09-07-2006, 06:39 AM
  5. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •