FreeKB - OpenLDAP ldapadd command
OpenLDAP - ldapadd command

Let's say you want to update your domain name in OpenLDAP to be Create an LDIF file, such as example.ldif, and add the following to the LDIF file.

dn: olcDatabse{2}hdb,cn=config
changetype: add
replace: oldRootPW
olcRootPW: {SSHA}df934jFHB82hfV737rDF19sdfV#$ds


Run the following command.

ldapadd -Y EXTERNAL -H ldapi:/// -f example.ldif


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 20242 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |