Hi,

I am trying to follow this thread ( http://blog.roeften.com/2015/03/openldap-24-on-centos-7-using-mdb.html ) to initialize the ldap config in non-default directory but i am getting this error.

cat example.ldif | slapadd -v -F /opt/data/slapd.d -n 0 -d -1

59d29ce6 >>> dnPrettyNormal: <cn=config>
59d29ce6 <<< dnPrettyNormal: <cn=config>, <cn=config>
59d29ce6 str2entry: entry -1 has multiple DNs "cn=config" and "cn=module,cn=config"
slapadd: could not parse entry (line=1)

If i add one by one (one dn at a time) it seems to be working.

Any idea?


Thanks