[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: changing rootdn password
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mihamina Rakotomandimby wrote:
> Manao ahoana, Hello, Bonjour,
>
> On a Debian and a Ubuntu I install OpenLDAP with the package manager.
> It usually asks for an admin password.
>
> But when looking in /etc/ldap/ I found no place where it is stored
> (even in an encrypted form).
>
> 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?
>
> Misaotra, Thanks, Merci.
>
Hello,
try to look in /etc/openldap/ instead. But I know a little about Debian
and Google is not unified in results about location of - well, try %
find /etc/ -name slapd.conf; there :)
That's where rooddn password should be stored.
And how to change it?
Use % slappasswd; to generate HASH, then edit slapd.conf and look for:
rootpw {SSHA}SomeHASHofPassword
For the syntax - man pages. SSHA is strongly recommended, I'd say
especially for rootdn password.
I'm not sure if the restart of % slapd; is required.
I hope that helps.
Regards,
Zdenek
- --
Zdenek Styblik
Net/Linux admin
OS TurnovFree.net
email: stybla@turnovfree.net
jabber: stybla@jabber.turnovfree.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAks7d/4ACgkQ8MreUbSH7imltgCeL5c7jcnDHPJN3KUw9nMWWqyJ
GNYAoMQwAjFYVvTyNiXrLscrSxTU0XEc
=/B9H
-----END PGP SIGNATURE-----