Hi,
Thanks for your suggestion. was able to load backend modules after adding following lines to slapd.conf file
# Load dynamic backend modules: modulepath /usr/lib/openldap #moduleload back_mdb.la #moduleload back_ldap.la moduleload back_mdb moduleload back_ldap
After making this change, my slaptest passed which was failing earlier.
/opt/hpe/nns/NVME-OF-Server/open-ldap/initial_config # slaptest -f /etc/openldap/slapd.conf -F /etc/ldap/sns/slapd.d -d 256 -u config file testing succeeded /opt/hpe/nns/NVME-OF-Server/open-ldap/initial_config #
but the original issue still persists, as below:
/opt/hpe/nns/NVME-OF-Server/open-ldap/initial_config # ldapadd -x -D 'cn=config' -w secret -f create_sns_db.ldif adding new entry "olcDatabase=mdb,cn=config" ldap_add: Invalid syntax (21) additional info: objectClass: value #0 invalid per syntax
/opt/hpe/nns/NVME-OF-Server/open-ldap/initial_config #