Today i tried to see what is the difference in working Centos and Alpine container:
1> Verified that the ldif file used to add is correct, no spaces or extra characters there. 2> When compared the debug output for slapadd of centos and Alpine i see that in centos back_mdb is initialized but in Alpine back_mdb is not initialized
then the ldap add command "ldapadd -x -D 'cn=config' -w secret -f create_sns_db.ldif" is working in centos and fails in Alpine. This behavior makes me think if back_mdb has to be initialized for Alpine as well? if that is the case how to do that on Alpine? , as in Centos these modules are loaded by default.