[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapdelete: Invalid DN on an Accesslog generated DN
- To: openldap-technical@openldap.org
- Subject: ldapdelete: Invalid DN on an Accesslog generated DN
- From: Giuseppe Civitella <gcivitella@enter.eu>
- Date: Mon, 14 May 2018 15:52:27 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=enter.eu; s=201710; t=1526305948; bh=ezPJYhnxXqKKv+1nN0+EfWVWEO/0EDp+f7OXjvLKtB0=; h=From:To:Reply-To:Subject:Date:From; b=Tclghy0nA8rf14BILlPwNon6qFtk/zcwhidDmyP5kgi1ST3MvkQdTV2jjk3aqI4Up 0AvzSSEFW5W+Pms+vHztVoFgoEV5bD7cWZ8j90oT8NwhURoZCccRefLjhhh9OPurdg cGp/ELJD+QB4z14Ix5dg3JfKaEqHbJEml82IIERo=
Hi all,
while doing some tests to enable accesslog in my directory, I did enable the
overlay and then disabled it because of login problems.
Once restored the directory, I found a few entries like this:
dn: reqStart=20180509102412.000000Z,BASEDN
objectClass: auditModify
structuralObjectClass: auditModify
REQSTART: 20180509102412.000000Z
REQEND: 20180509102412.000001Z
REQTYPE: modify
REQSESSION: 1679
REQAUTHZID: cn=admin,BASEDN
REQDN: cn=gcivitella,ou=users,BASEDN
REQRESULT: 0
REQMOD: description:= description utente gcivitella (update check accesslog)
REQMOD: entryCSN:= 20180509102412.246481Z#000000#000#000000
REQMOD: modifiersName:= cn=admin,BASEDN
REQMOD: modifyTimestamp:= 20180509102412Z
REQENTRYUUID: 53620528-9276-1037-8c51-e5b01d96303b
entryUUID: dc744658-e7be-1037-9c6f-71aa77ba1fb3
creatorsName: cn=admin,BASEDN
createTimestamp: 20180509102412Z
entryCSN: 20180509102412.246481Z#000000#000#000000
modifiersName: cn=admin,BASEDN
modifyTimestamp: 20180509102412Z
Now I'm unable to delete them. I get an "invalid DN" error:
ldapdelete -D "cn=admin,BASEDN" -W -H ldap://127.0.0.1 -v
"reqStart=20180509102412.000000Z,BASEDN"
ldap_initialize( ldap://127.0.0.1:389/??base )
Enter LDAP Password:
deleting entry "reqStart=20180509102412.000000Z,BASEDN"
ldap_delete: Invalid DN syntax (34)
additional info: invalid DN
Is there a way to force the deletion or temporary disable the schema check?
Best regards,
Giuseppe