This works for me as well. However, when added with (what I assume to be)
proper escaping in the first place like in this case, the entries also
appear with visible escaping when browsing the directory. The problematic
entries don't.
I also can't add more entries of the latter type, as the server responds
with 34 - syntax error, just like when attempting to delete the ones that
are already there. In any case, I guess I'll just go for the big hammer,
re-import and be done with it :)
-Audun
On Thu, Jun 26, 2014 at 4:58 PM, Ludwig Krispenz <lkrispen(a)redhat.com>
wrote:
Hi,
This works for me:
more inv.txt
dn: ou=ny\<group\>mmm,dc=redhat,dc=com
changetype: add
objectclass: organizationalunit
ldapmodify -x -h localhost -p 1390 -D "cn=directory manager" -w secret12
-f inv.txt
adding new entry "ou=ny\<group\>mmm,dc=redhat,dc=com"
[ludwig@elkris ~]$ ldapdelete -x -h localhost -p 1390 -D "cn=directory
manager" -w secret12
ou=ny\<group\>mmm,dc=redhat,dc=com
[26/Jun/2014:16:53:26 +0200] conn=9 op=1 ADD
dn="ou=ny\3Cgroup\3Emmm,dc=redhat,dc=com"
[26/Jun/2014:16:53:27 +0200] conn=9 op=1 RESULT err=0 tag=105 nentries=0
etime=1
[
[26/Jun/2014:16:54:23 +0200] conn=10 op=1 DEL
dn="ou=ny\3Cgroup\3Emmm,dc=redhat,dc=com"
[26/Jun/2014:16:54:26 +0200] conn=10 op=1 RESULT err=0 tag=107 nentries=0
etime=3