I have openldap server version I am trying to create a cn=module{0} I created an ldif but can't seem to get the proper syntax. I've spent a lot of time searching but haven't found a solution. Any suggestions are appreciated.Â
   1 dn: cn=module{0},cn=config
   2 changetype: modify
   3 add:olcModuleList
   4 objectClass: olcModuleList
   5 olcModulePath: /usr/lib64/openldap/
   6 cn: module{0}
   7 changetype: modify
   8 add: olcModuleLoad
ldapmodify -Y EXTERNAL -H ldapi:/// -vn -f ldapMdynalist.ldif
ldapmodify: wrong attributeType at line 4, entry "cn=module{0},cn=config"