openLDAP with slapd-config backend

William Muriithi william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Dec 1 19:47:39 UTC 2011


Update,

On 30 November 2011 10:40, William Muriithi <william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> Morning guys,
>
> Curious, anyone here have had the "fun" of setting up openLDAP with
> the new dynamic backend? How the heck do we change the password for
> the oclRootDN?
>
> A little about the problem, it look like now, whenever you set up
> openLDAP, you have to explicitly add the super user password on the
> backend so that you can be able to bind and do further configuration
> either though ldapmodify or the GUI based  tools?
>
Found a solution, just in case it help someone else

root at testldap2:~# cat changePW.ldif
# 2.4.
#delete: olcRootPW
dn: olcDatabase={1}hdb,cn=config
replace: olcRootPW
olcRootPW: my-secret

ldapadd -Y EXTERNAL -H ldapi:/// -f  changePW.ldif
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list