[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ghost entry's in ldap db
Hello,
I have some troble with my bdb. After a crash I recoverd the bdb files
and regenerated the index,
but now I have a sort of ghost entrys.
If I search for them 2 levels down, I can see them.
But if I search just 1 level down, it does not exists any more.
I also can not delete them, I get "DN index delete failed".
db_verify does not find any problems. db_recover also doesn't do anything.
If I run slapcat, they are there, looking good.
I use openldap 2.2.28 with Berkeley DB 4.2.52.
How can I fix my database?
Command output:
ldapsearch -Y gssapi -b ou=application,dc=MIVZ,dc=SPUGIUM,dc=NET
# application, MIVZ.SPUGIUM.NET
dn: ou=application,dc=MIVZ,dc=SPUGIUM,dc=NET
objectClass: organizationalUnit
objectClass: top
ou: application
description: application data
# webadmin, application, MIVZ.SPUGIUM.NET
dn: ou=webadmin,ou=application,dc=MIVZ,dc=SPUGIUM,dc=NET
objectClass: organizationalUnit
objectClass: top
ou: webadmin
description: webadmin application data
# mivz@MIVZ.SPUGIUM.NET, webadmin, application, mivz.spugium.net
dn:
ou=mivz@MIVZ.SPUGIUM.NET,ou=webadmin,ou=application,dc=mivz,dc=spugium,dc=
net
objectClass: organizationalUnit
objectClass: top
ou: mivz@MIVZ.SPUGIUM.NET
description: webadmin application data for user mivz
ldapsearch -Y gssapi -b ou=webadmin,ou=application,dc=MIVZ,dc=SPUGIUM,dc=NET
# search result
search: 4
result: 0 Success
ldapdelete -Y gssapi
ou=mivz@MIVZ.SPUGIUM.NET,ou=webadmin,ou=application,dc=MIVZ,dc=SPUGIUM,dc=NET
Delete Result: Internal (implementation specific) error (80)
Additional info: DN index delete failed
slapcat
dn: ou=application,dc=MIVZ,dc=SPUGIUM,dc=NET
objectClass: organizationalUnit
objectClass: top
ou: application
description: application data
structuralObjectClass: organizationalUnit
entryUUID: 0625df5a-5f6b-102a-8120-8884f7efb047
creatorsName:
krb5PrincipalName=mivz/admin@MIVZ.SPUGIUM.NET,ou=kerberos,dc=miv
z,dc=spugium,dc=net
createTimestamp: 20060413185656Z
entryCSN: 20060413185656Z#000001#00#000000
modifiersName:
krb5PrincipalName=mivz/admin@MIVZ.SPUGIUM.NET,ou=kerberos,dc=mi
vz,dc=spugium,dc=net
modifyTimestamp: 20060413185656Z
dn: ou=webadmin,ou=application,dc=MIVZ,dc=SPUGIUM,dc=NET
objectClass: organizationalUnit
objectClass: top
ou: webadmin
description: webadmin application data
structuralObjectClass: organizationalUnit
entryUUID: 5bc1687c-73ce-102a-8c09-beaa85a1cb9d
creatorsName:
krb5PrincipalName=mivz/admin@MIVZ.SPUGIUM.NET,ou=kerberos,dc=miv
z,dc=spugium,dc=net
createTimestamp: 20060509173823Z
entryCSN: 20060509173823Z#000001#00#000000
modifiersName:
krb5PrincipalName=mivz/admin@MIVZ.SPUGIUM.NET,ou=kerberos,dc=mi
vz,dc=spugium,dc=net
modifyTimestamp: 20060509173823Z
dn:
ou=mivz@MIVZ.SPUGIUM.NET,ou=webadmin,ou=application,dc=mivz,dc=spugium,dc=
net
structuralObjectClass: organizationalUnit
entryUUID: c293704a-73ce-102a-8c0a-beaa85a1cb9d
creatorsName:
krb5PrincipalName=mivz/admin@MIVZ.SPUGIUM.NET,ou=kerberos,dc=miv
z,dc=spugium,dc=net
createTimestamp: 20060509174116Z
objectClass: organizationalUnit
objectClass: top
ou: mivz@MIVZ.SPUGIUM.NET
description: webadmin application data for user mivz
entryCSN: 20060509174848Z#000001#00#000000
modifiersName:
krb5PrincipalName=mivz/admin@MIVZ.SPUGIUM.NET,ou=kerberos,dc=mi
vz,dc=spugium,dc=net
modifyTimestamp: 20060509174848Z