Results 1 to 3 of 3

Thread: Changing the LDAP default password

  1. #1
    Join Date
    Jan 2007
    Rep Power

    Default Changing the LDAP default password

    Following the directions here:

    I change my ldap password by doing:

    zmcontrol stop
    zmldappasswd --root newpass
    zmldappasswd newpass

    zmlocalconfig -s |fgrep ldap

    confims the password has been changed to the new password.

    I restarted all services, including tomcat.

    It's clear that I have LDAP connectivity issues, but slapd is running:

    zimbra 30721 0.0 1.0 56892 2600 ? Ssl 15:18 0:00 /opt/zimbra/openldap-2.3.21/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap:// -f /opt/zimbra/conf/slapd.conf

    DNS things look to be correct:

    [root@derb log]# host has address
    [root@derb log]# ifconfig eth0 |fgrep inet
    inet addr: Bcast: Mask:

    Additionally, this was working fine prior to the ldap password change.

    When I login to the admin console I get an error and stack trace. (see below). It almost makes me think I changed what the zimbra clients think the password is but I didn't really change it in ldap. I'm not sure. Thoughts appreciated.


    Message: system failure: unable to list all servers
    com.zimbra.cs.service.ServiceException: system failure: unable to list all servers
    at com.zimbra.cs.service.ServiceException.FAILURE(Ser
    at com.zimbra.cs.account.ldap.LdapProvisioning.getAll Servers(
    at com.zimbra.cs.service.admin.GetAllServers.handle(G
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:162)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:84)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:223)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at ternalDoFilter(
    at Filter(
    at org.apache.catalina.core.StandardWrapperValve.invo ke(
    at org.apache.catalina.core.StandardContextValve.invo ke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke (
    at org.apache.catalina.core.StandardEngineValve.invok e(
    at org.apache.catalina.valves.AccessLogValve.invoke(A
    at org.apache.catalina.connector.CoyoteAdapter.servic e(
    at org.apache.coyote.http11.Http11Processor.process(H
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt
    at Socket(
    at ead.runIt(
    at org.apache.tomcat.util.threads.ThreadPool$ControlR
    Caused by: javax.naming.NamingException: [LDAP: error code 80 - internal error]; remaining name 'cn=servers,cn=zimbra'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3029)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt
    at com.sun.jndi.ldap.LdapCtx.searchAux( 808)
    at com.sun.jndi.ldap.LdapCtx.c_search( 31)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_sea rch(
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex
    at com.zimbra.cs.account.ldap.LdapProvisioning.getAll Servers(
    ... 23 more

    Error code: service.FAILURE
    Method: ZmCsfeCommand.prototype.invoke

  2. #2
    Join Date
    Oct 2005
    Thatcher, AZ
    Rep Power


    Have you changed the name of your sever recently?
    Caused by: javax.naming.NamingException: [LDAP: error code 80 - internal error]; remaining name 'cn=servers,cn=zimbra'

    run a zmlocalconfig and look to see if things look normal. You can run the -s switch, but don't post that, as it will display your passwords.

  3. #3
    Join Date
    Jan 2007
    Rep Power


    I didn't change the hostname, so I don't think that was it. That being said, because it was a fresh install, I opted to just re-install from scratch.

    Thanks anyway,


Similar Threads

  1. Replies: 45
    Last Post: 11-28-2007, 06:39 PM
  2. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 07:45 AM
  3. perdition won't start after 4.5 Upgrade
    By freeformz in forum Administrators
    Replies: 1
    Last Post: 01-29-2007, 07:39 PM
  4. Replies: 4
    Last Post: 11-15-2006, 12:16 PM
  5. MTA is Dying after yum update
    By tonyawbrey in forum Administrators
    Replies: 27
    Last Post: 04-02-2006, 07:11 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