If you edit a deleted object and exit the editor using :wq but without making any changes, an error occours. Steps to reproduce: 1.) Delete an object. For example a user account. 2.) Open the deleted object in ldbedit: # ldbedit -H ldap://localhost -Uadministrator --show-recycled --show-binary --show-deleted -b "CN=demo08\\0ADEL:85f2ba20-7474-42e5-a9f5-c6cb6356bc42,CN=Deleted Objects,DC=samdom,DC=example,DC=com" 3.) Save and exit the editor _without_ making any changes (:wq). Actual results: failed to modify CN=demo08\0ADEL:85f2ba20-7474-42e5-a9f5-c6cb6356bc42,CN=Deleted Objects,DC=samdom,DC=example,DC=com - LDAP error 16 LDAP_NO_SUCH_ATTRIBUTE - <acl_modify: attribute 'DEL' on entry 'CN=demo08\0ADEL:85f2ba20-7474-42e5-a9f5-c6cb6356bc42,CN=Deleted Objects,DC=samdom,DC=example,DC=com' was not found in the schema!> <> Expected results (this is the result doing the same on a not-deleted object): # 0 adds 0 modifies 0 deletes
(In reply to Marc Muehlfeld from comment #0) Never!!!! use --show-binary on anything other than ldbsearch. Does this also happen without?
(In reply to Stefan Metzmacher from comment #1) > Does this also happen without? No, it doesn't. > Never!!!! use --show-binary on anything other than ldbsearch. Why do we provide this option in ldbadd|ldbdel|ldbmodify|ldbrename if there is a reason to never use it? Can we remove this option from the commands or at least remove it from --help.