On Thu, Oct 26, 2023 at 11:13 PM Quanah Gibson-Mount quanah@fast-mail.org wrote:
--On Thu> Try the following (and replace with the correct URL):
$ ldifmodify -x -H ldap://localhost/ -D cn=config -W << EOF
dn: olcDatabase={0}config,cn=config changetype: modify add: olcRootPW olcRootPW: {SSHA}cZbRoOhRew8MBiWGSEOiFX0XqbAQwXUr EOF
There doesn't appear to be an old olcRootPW value either, so that wouldn't work.
Thanks for your response.
There actually is one in dn: olcDatabase={1}mdb,cn=config
Anyway I solved my issue and was able to modify the config DB using slapadd and slapmodify directly on the filesystem as root and that is that.
Thanks again for your help!
--On > --On Thu> Try the following (and replace with the correct URL):
$ ldifmodify -x -H ldap://localhost/ -D cn=config -W << EOF > dn: olcDatabase={0}config,cn=config > changetype: modify > add: olcRootPW > olcRootPW: {SSHA}cZbRoOhRew8MBiWGSEOiFX0XqbAQwXUr > EOF
There doesn't appear to be an old olcRootPW value either, so that wouldn't work.
Thanks for your response.
There actually is one in dn: olcDatabase={1}mdb,cn=config
That's immaterial, it has no relation to the ability to modify cn=config. You should have a method for doing online modifications of the config DB.
--Quanah
openldap-technical@openldap.org