title: can't find cn=module,cn=config entry
body: <p>I'm new to openLdap , I am setting up a module for monitoring using on-line configuration (OLC) based on this guide : <a href="https://blog.kmp.or.at/monitoring-openldap/" rel="nofollow noreferrer">https://blog.kmp.or.at/monitoring-openldap/</a>.</p>
  
  <p>i use ldapmodify as bellow :</p>
  
  <pre><code>ldapmodify -x -H ldap:/// -D "cn=config"   -W -f module.ldif
  </code></pre>
  
  <p>result is :</p>
  
  <pre><code>modifying entry "cn=module{0},cn=config"
  ldap_modify: No such object (32)
  </code></pre>
  
  <p>content of module.ldif is :</p>
  
  <pre><code>dn: cn=module{0},cn=config
  changetype: modify
  add: olcModuleLoad
  olcModuleLoad: {1}back_monitor
  </code></pre>
  
  <p>i understand that i can't modify on non-existing entry so i tried to add a new entry for DN = (cn=module,cn=config).</p>
  
  <p>i tried to create new dn using :</p>
  
  <pre><code>dn: cn=module,cn=config
  objectClass: olcModuleList
  cn: module
  olcModulepath:  /etc/openldap/libexec/openldap
  </code></pre>
  
  <p>but i got this error</p>
  
  <pre><code>ldap_add: Invalid syntax (21)
  additional info: objectClass: value #0 invalid per syntax
  </code></pre>
  
  <p>Do i really need to create this DN , or it must be created during setup.</p>