[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing rootdn password



Mihamina Rakotomandimby wrote:
Didar Hossain <didar.hossain@gmail.com> :
I would like to change that admin password without calling
'dpkg-reconfigure slapd'.
Is there an ldap utility or built-in command for that purpose?
Please, do not cross-post the same message to multiple mailing lists -
instead use separate messages.

Ok, heard.

Look for "rootpw" in slapd.conf

After dpkg confguring it, I only have a commented:
  rootdn "cn=admin,dc=malagasy,dc=com"
but no "rootpw".
I am able to bind with the credential provided to the dpkg-reconfigure.

Where is it stored?


If not in slapd.conf, then it is in the database itself i.e. the admin entry has a userPassword attribute. This is an alternative to placing the [usually encrypted] admin password in slapd.conf.

You should be able to change it with an LDAP editor, if you are not comfortable with working with the command line. Luma should be able to do that, though I work with LDAP mostly with Windows, and use a Windows LDAP editor.

--
Joe


Reply to: