On Thu, Sep 10, 2015 at 11:20:16AM +0200, Simon Oosthoek wrote:
> On 09/10/15 10:32, Wolfgang Schweer wrote:
> >On Wed, Sep 09, 2015 at 09:56:57PM +0200, Simon Oosthoek wrote:
> >>>'ldapvi -ZD '(cn=admin)'
> >>I tried this, but I can't figure out the password to enter when ldapvi asks
> >>it.
> >You need to use the root password entered during main server
> >installation (even if you changed the root pw later on).
> >
> 
> Is it possible to change this password? If so, how?

Not recommended (cause you risk to lock yourself out due to the 
slightest error).

Generate new password hash:
slappasswd -h {ssha} -s <cleartext password>

Replace the existing hash in LDAP (cn=admin, userPassword).

You should definitly try this first on a test system.

Wolfgang

Attachment: signature.asc
Description: Digital signature

Reply via email to