--On Wednesday, August 9, 2023 7:31 PM +0530 Kaushal Shriyan kaushalshriyan@gmail.com wrote:
Configure OpenLDAP server while sending the configuration to the LDAP server. # cat db.ldif dn: olcDatabase={2}hdb,cn=config changetype: modify replace: olcSuffix olcSuffix: dc=itzgeek,dc=local dn: olcDatabase={2}hdb,cn=config changetype: modify replace: olcRootDN olcRootDN: cn=ldapadm,dc=itzgeek,dc=local dn: olcDatabase={2}hdb,cn=config changetype: modify replace: olcRootPW olcRootPW: {SSHA}RCQG8Sec/XtirtjxXL2cbAyeeWH2A9r/
This is not valid LDIF change format. I suggest reading documentation on how to create valid LDIF changes.
https://ldap.com/ldif-the-ldap-data-interchange-format/ has some good detail, see the section on:
LDIF Modify Change Records
Regards, Quanah