Bootstrap FreeKB - OpenLDAP - ldapmodify command
OpenLDAP - ldapmodify 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: modify
replace: oldSuffix
olcSuffix: dc=example,dc=com

 

Run the following command.

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