title: Adding new objectclass/attribute to existing ldap entry returns error
body: <p>I have created 4 new attributes on cn=schema and also created a new objectclass with the 4 attributes set as MUST.</p>
  
  <p>I tried to add the objectclass to existing entry which obviously return an error because those 4 new attributes are not setup for the ldap entry. </p>
  
  <p>I created an ldif file and ran ldapmodify but get object violation error. Can anyone tellme whats causing this error and if I'm missing anything.</p>
  
  <p>ldif</p>
  
  <pre><code>#ldapmodify.bat -h localhost -p 1389 -D "cn=Directory Manager" -w xxxxx -a -f entry.ldif
  dn: uid=user.0,ou=People,dc=example,dc=com
  changetype: modify
  add: disabledFlag
  disabledFlag: n
  -
  add: passwordData
  passwordData:&lt; file:/C:\\oud\\asinst_1\\OUD\\bat\\images.png
  -
  add: anonymousID
  anonymousID: nah
  -
  add: challengeResponse
  challengeResponse: nah
  </code></pre>
  
  <p>Error after executing the command.</p>
  
  <pre><code>Processing MODIFY request for uid=user.0,ou=People,dc=example,dc=com
  MODIFY operation failed
  Result Code:  65 (Object Class Violation)
  Additional Information:  Entry uid=user.0,ou=People,dc=example,dc=com cannot not be modified because the resulting entry would have violated the server schema: Entry uid=user.0,ou=People,dc=example,dc=com violates the Directory Server schema configuration because it includes attribute anonymousID which is not allowed by any of the objectclasses defined in that entry
  </code></pre>
  
  <p>LDAP installed is OUD 11gR2.</p>