[Date Prev][Date Next] [Chronological] [Thread] [Top]

"index delete failed" and "Inappropriate matching"



1. "index delete failed"

i'm trying to delete two dn's that were inserted by the padl scripts,
but i get the error in the subject line.

the DN's are of the form:

nisMapName=netgroup.byuser,dc=jakma, dc=org

what happens:

[paul@fogarty tmp]$ ldapdelete -x -ZZ  -D
"cn=manager,dc=jakma,dc=org" -W "nisMapName=netgroup.byuser,dc=jakma, dc=org"
Enter LDAP Password:
Delete Result: Unknown error (80)
Additional info: DN index delete failed

2. "Inappropriate matching"

i'm trying to add a triple to a netgroup, but i can't get it to work/


[paul@fogarty tmp]$ ldapmodify -x -ZZ -D
"cn=manager,dc=jakma,dc=org" -W -f nis.ldif
Enter LDAP Password:
modifying entry "cn=irix-mips-hosts,ou=Netgroup,dc=jakma, dc=org"
ldap_modify: Inappropriate matching
	additional info: modify: add values failed

ldif_record() = 18

[paul@fogarty tmp]$ cat nis.ldif
dn: cn=irix-mips-hosts,ou=Netgroup,dc=jakma, dc=org
changetype: modify
add: nisnetgrouptriple
nisnetgrouptriple: (schwantz,,)


i guess in both cases that i need to escape some characters, eg
perhaps = , and maybe ( and ). But i've tried escaping them with \
and no joy unfortunately.

regards,
-- 
Paul Jakma	paul@clubi.ie	paul@jakma.org
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
13. ...  r-q1