https://bugs.openldap.org/show_bug.cgi?id=9531
Issue ID: 9531 Summary: change RootDSE Product: OpenLDAP Version: 2.4.57 Hardware: x86_64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: niko@dwolfix.ru Target Milestone: ---
Created attachment 816 --> https://bugs.openldap.org/attachment.cgi?id=816&action=edit RootDSE
OS Linux Debian 10, slapd 2.4.57+dfsg-2 When installing openldap, a RootDSE is formed with the objectClass 'organization' (2.5.6.4). The root entry cannot be deleted. How can the RootDSE be changed so that the objectClass becomes 'domain' (0.9.2342.19200300.100.4.13)?
https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #1 from niko@dwolfix.ru --- Created attachment 817 --> https://bugs.openldap.org/attachment.cgi?id=817&action=edit RootDSE_error
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Usage questions belong on the openldap-technical@openldap.org mailing list, not the bug tracker. And your issue is quite specific to what Debian is doing at setup time and not anything to do with the project.
You can sign up at https://lists.openldap.org/
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #3 from niko@dwolfix.ru ---
(In reply to Quanah Gibson-Mount from comment #2)
Usage questions belong on the openldap-technical@openldap.org mailing list, not the bug tracker. And your issue is quite specific to what Debian is doing at setup time and not anything to do with the project.
You can sign up at https://lists.openldap.org/
Does this mean that when using other Linux distributions, the problem does not appear?
https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #4 from niko@dwolfix.ru --- (In reply to niko from comment #3)
(In reply to Quanah Gibson-Mount from comment #2)
Usage questions belong on the openldap-technical@openldap.org mailing list, not the bug tracker. And your issue is quite specific to what Debian is doing at setup time and not anything to do with the project.
You can sign up at https://lists.openldap.org/
Does this mean that when using other Linux distributions, the problem does not appear?
The problem is reproduced in Arch Linux, openldap 2.4.58-1, database - mdb
https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #5 from niko@dwolfix.ru --- The root entry was created by the command: ldapadd -x -D 'cn=admin,dc=example,dc=org' -f root_entry.ldif
Content of the root_entry.ldif file: dn: dc=example,dc=org objectClass: dcObject objectClass: organization dc: example o: Example description: Example directory
dn: cn=root,dc=example,dc=org objectClass: organizationalRole cn: root description: Directory Manager
Trying to delete the root entry: ldapdelete -x -r 'dc=example,dc=org' -D 'cn=admin,dc=example,dc=org' -w admin
Output - dap_delete: No such object (32)
https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #6 from niko@dwolfix.ru --- Created attachment 818 --> https://bugs.openldap.org/attachment.cgi?id=818&action=edit No such object
https://bugs.openldap.org/show_bug.cgi?id=9531
niko@dwolfix.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |UNCONFIRMED Resolution|INVALID |---
https://bugs.openldap.org/show_bug.cgi?id=9531
niko@dwolfix.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|2.4.57 |unspecified
https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #7 from Ondřej Kuzník ondra@mistotebe.net --- Nothing you've reported yet suggests there is a bug here. As Quanah mentioned before, this is not the right place to post usage questions which should be directed to the openldap-technical mailing list.
https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #8 from niko@dwolfix.ru --- (In reply to Ondřej Kuzník from comment #7)
Nothing you've reported yet suggests there is a bug here. As Quanah mentioned before, this is not the right place to post usage questions which should be directed to the openldap-technical mailing list.
If it's not a bug, what is it? An undocumented feature?
https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #9 from niko@dwolfix.ru --- Until such a behavior of the service is given a clear technical justification, the impossibility of deleting the newly created root entry should be considered a bug.
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #10 from Quanah Gibson-Mount quanah@openldap.org --- Again, email the list and your questions will be answered.
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=9531
niko@dwolfix.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED
--- Comment #11 from niko@dwolfix.ru --- (In reply to Quanah Gibson-Mount from comment #10)
Again, email the list and your questions will be answered.
Request has been sent
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|change RootDSE |Unable to delete root DIT | |entry
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |CONFIRMED Resolution|INVALID |--- Ever confirmed|0 |1
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Unable to delete root DIT |back-mdb: Unable to delete |entry |root DIT entry Component|slapd |backends
--- Comment #12 from Quanah Gibson-Mount quanah@openldap.org --- With the bdb/hdb backends, it was possible to delete the root DIT entry, this is no currently possible with back-mdb.
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs_review
https://bugs.openldap.org/show_bug.cgi?id=9531
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|CONFIRMED |RESOLVED
--- Comment #13 from Howard Chu hyc@openldap.org --- fixed in master
https://bugs.openldap.org/show_bug.cgi?id=9531
--- Comment #14 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • 0c90b8c0 by Howard Chu at 2021-04-26T18:27:40+01:00 ITS#9531 back-mdb: fix delete of context entry
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.4.59 Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
--- Comment #15 from Quanah Gibson-Mount quanah@openldap.org --- RE24:
commit a31d554ba778ea6ad92e16468a4c4ca7d2c29d55 Author: Howard Chu hyc@openldap.org Date: Mon Apr 26 18:27:40 2021 +0100
ITS#9531 back-mdb: fix delete of context entry
https://bugs.openldap.org/show_bug.cgi?id=9531
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED