FreeKB - ldapadd command OpenLDAP
ldapadd command OpenLDAP

Home > Search


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

 



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 f6a25 in the box below so that we can be sure you are a human.




Comments