OpenLDAP - Configure domain name

by
Jeremy Canfield |
Updated: October 02 2023
| OpenLDAP articles
By default, the /etc/openldap/slapd.d/cn=config/olcDatabase={2}hdb.ldif file will have domain name my-domain.com, like this.
olcSuffix: dc=my-domain,dc=com
Use the ldapmodify command to configure OpenLDAP to use your domain name, such as dc=example,dc=com (example.com).
Did you find this article helpful?
If so, consider buying me a coffee over at