Bootstrap FreeKB - OpenLDAP - ldapadd command
OpenLDAP - ldapadd command

Updated:   |  OpenLDAP articles

Let's say you want to update your domain name in OpenLDAP to be example.com. 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

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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