Hi,
I have an entry in the directory that has a leading space as follows
dn: uid= username,dc=domain,dc=com
I cannot workout how to use ldapdelete to delete this entry, either by specifying the DN on the command line, or in a file.
I have a file called userdel.ldif which has the following
dn: uid= username,dc=domain,dc=com
But when I execute ldapdelete I get
Delete Result: Invalid DN syntax (34)
Additional info: invalid DN
I've tried "escaping" the space with a backslash, and a few other ideas (like using quotes all over the place), but I can't get rid
of it...