How to delete 'uid=,ou=people,dc=domain,dc=local' in opends/ldap?

692 views Asked by At

by accident wrong entry was added to ldap:

uid=,ou=people,dc=domain,dc=local

Which screwed up our ou=people.. Now we can't even delete that entry:

ldapdelete -h localhost -p 1389 -D cn=admin -w password -vvv "ou=people,dc=domain,dc=local"

Error we're getting is:

DELETE operation failed
Result Code:  34 (Invalid DN Syntax)
Additional Information:  The provided value "uid=,ou=people,dc=domain,dc=local" could not be parsed as a valid distinguished name because an attribute value started with a character at position 5 that needs to be escaped

I tried escaping character, special characters but still no dice.

How can we remove 'ou=people,dc=domain,dc=local'??

Is that even possible or we have to reinstall opends/ldap?

Thanks

0

There are 0 answers