Results 1 to 6 of 6

Thread: [SOLVED] upgrade 4.5.6 > 5.0GA unable to bind to ldap

  1. #1
    captainmish is offline Loyal Member
    Join Date
    Mar 2007
    Location
    Plymouth, uk
    Posts
    93
    Rep Power
    8

    Default [SOLVED] upgrade 4.5.6 > 5.0GA unable to bind to ldap

    Hello

    I am trying to upgrade a test server to 5.0GA from 4.5.6 (NE) on ubuntu 6.06. The initial install and then restore of the live data went fine, and everything worked as expected (running the test in a vmware guest).

    I then ran the 5.0 install.sh as root, and proceeded to upgrade. The process seems to go fine, but then starts giving errors:

    Unable to bind to ldap://serveraddy:389 with password PASSWORD:
    in the logs

    and

    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.Authentication... could not scroll back to console output, so dont know how this ends, but its similar to the log message)

    It eventually gets to the configuration menu (setting defaults from existing config...) and then has almost no config settings, with the error

    Address unconfigured (**) items or correct ldap configuration

    Anyone seen this, or have any ideas? Now that the upgrade is half way, I cant go and reset the ldap password. Does it keep the autogenerated ldap password from setup, or is this restored from the backups during a restore (if so, I can just use the live server's password)

    Any ideas appreciated!

  2. #2
    JHill is offline Active Member
    Join Date
    Jun 2006
    Posts
    28
    Rep Power
    9

    Default

    Had the same problem, ended up being resolved by a support engineer...

  3. #3
    captainmish is offline Loyal Member
    Join Date
    Mar 2007
    Location
    Plymouth, uk
    Posts
    93
    Rep Power
    8

    Default

    thanks jhill, any idea what they did? spose i might have to use one of those tickets then...

  4. #4
    JHill is offline Active Member
    Join Date
    Jun 2006
    Posts
    28
    Rep Power
    9

    Default

    Unfortunately, I don't know for sure. They logged in to our server and fixed it.

    They sent along this:
    "The syntax for zmldappassword has changed for 5.0 (you may have noticed this), though it still wasn't working for the zimbra admin dn, so I set the ldap password manually. I think everything is running ok now. Check it out and let me know if there are still any problems."

    At that point, I ran back through /opt/zimbra/libexec/zmsetup.pl, which ran fine. Had a couple issues after that with commercial certs, but the fixes for those have been covered pretty well in the forums.

  5. #5
    captainmish is offline Loyal Member
    Join Date
    Mar 2007
    Location
    Plymouth, uk
    Posts
    93
    Rep Power
    8

    Default

    Cool, thanks - the ldappasswd was a clue - i reset the ldap password with this, and then killed a straggling slapd process, it seems to be getting further than before now

  6. #6
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,262
    Rep Power
    10

    Default

    Unfortunately, in the 4.5.x release series, it was possible for the password stored in LDAP for the admin user to be incorrect, as it was never actually used. This is because the admin user was also the LDAP rootdn user. 5.0 splits that out so that the rootdn user and the admin user are different. Unforutnately, this is exposing the fact that in some cases, the LDAP database password for the admin user was not set correctly in the past.

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Upgrading from 4.5.6 to 4.5.9: LDAP error
    By smcgrath1111 in forum Installation
    Replies: 17
    Last Post: 12-06-2007, 10:15 AM
  2. LDAP failure? Upgrade 4.5.6 - 4.5.9 failed
    By jeschulze in forum Installation
    Replies: 10
    Last Post: 11-01-2007, 09:51 AM
  3. Replies: 0
    Last Post: 08-30-2007, 10:06 AM
  4. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 09:23 PM
  5. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 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
  •