[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to change BaseDN? (OpenLDAP/slapd)



Hi

Am 07.08.2019 um 19:11 schrieb Quanah Gibson-Mount <quanah@symas.com>:

If the database is empty, something like (as the root user):

ldapmodify -Y EXTERNAL -H ldapi:///
dn: olcDatabase={#}mdb,cn=config
changetype: modify
replace: olcSuffix
olcSuffix: dc=ldap,dc=foo,dc=bar


Thanks a lot for the quick response. I didn‘t correctly specify the dn line (db entry) with ldapmodify. This worked perfectly. 

Thanks again,
Dominique