LDAP password

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
12313jimbo
Advanced member
Advanced member
Posts: 114
Joined: Fri Sep 12, 2014 10:01 pm

LDAP password

Post by 12313jimbo »

Need some help!
I'm trying to get Zimbra working after a restore and the startup fails when starting ldap. It's prompting for the ldap password. I have no idea what it is and can't find any saved configuration files from the original install.
I've tried changing the ldap password with:



zmldappasswd --root newpass

zmldappasswd newpass


but it just prompts me for the password when I type that command.
How do I fix this?
edit: The output of the first command is:


Updating local config

Stopping ldap

slapd not running

Updating ldap configuration

Starting ldap

Password:

User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

LDAP password

Post by jholder »

Are you trying to simply start zimbra?
12313jimbo
Advanced member
Advanced member
Posts: 114
Joined: Fri Sep 12, 2014 10:01 pm

LDAP password

Post by 12313jimbo »

Yes, when I run zmcontrol start it begins to start the ldap service and prompts for a password:


Starting ldap...Password:

User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

LDAP password

Post by jholder »

Are you running zmcontrol start as Zimbra or Root?
Not sure it matters though. I think it's a FS Permissions issue.
12313jimbo
Advanced member
Advanced member
Posts: 114
Joined: Fri Sep 12, 2014 10:01 pm

LDAP password

Post by 12313jimbo »

A bit more info...
I seem to get this in /var/log/messages when running "service zimbra restart"
"authentication failure; logname=james uid=0 euid=0 tty=pts/1 ruser= rhost= user=zimbra"
so could this be a problem with the zimbra user? I didn't think there was a password set for this user?
12313jimbo
Advanced member
Advanced member
Posts: 114
Joined: Fri Sep 12, 2014 10:01 pm

LDAP password

Post by 12313jimbo »

Solved:
I fixed the /etc/sudoers file and pointed the path references there to the appropriate postfix version directory
Post Reply