On 06/27/2014 10:16 AM, Audun Røe wrote:
did you try with quotes: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 :)
ldapmodify .....
dn: ou="my<problematic>entry",suffix
changetype: delete
if that doesn't work, I'm afraid export/import is the last resort
-Audun
On Thu, Jun 26, 2014 at 4:58 PM, Ludwig Krispenz <lkrispen@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
-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
No comments:
Post a Comment