Created attachment 1864703 [details] File containing the ldif change instruction Description of problem: It impossible to set the olcPasswordHash attribute on the frontend database. Version-Release number of selected component (if applicable): openldap-2.4.59-3.fc35.src.rpm How reproducible: Repeatable, deteministic Steps to Reproduce: 1. Install openldap-servers 2. Start the server (`systemctl start slapd`) 3. Create a file (test.ldif) as in the attachement 4. Apply the ldip file with `sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f test.ldif` Actual results: An object class violation is thrown with the detail: `attribute 'olcPasswordHash' not allowed` Expected results: The change should be applied Additional info: It seems like the frontend database has only the olcDatabaseConfig objectClass and not the olcFrontendConfig class in fedora [1] as opposed to debian [2] or a sample entry in the official admin guide [3] [1] https://src.fedoraproject.org/rpms/openldap/blob/f35/f/slapd.ldif#_101 [2] https://salsa.debian.org/openldap-team/openldap/-/blob/dfe34480ed105e35c8fa742a6aa4648d19539d27/debian/slapd.init.ldif#L19 [3] https://www.openldap.org/doc/admin26/slapdconf2.html section 5.2.5.11.
I assume that the config was copied from the openldap source repository at a point during which said config had an error. Because there was a single commit in which the olcFrontendConfig objectClass was added to the default slapd.ldif file: https://git.openldap.org/openldap/openldap/-/commit/1ad90643b5085a79451b70cd93fc0911be7d8529
This message is a reminder that Fedora Linux 35 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '35'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 35 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
(In reply to nilskemail from comment #1) > I assume that the config was copied from the openldap source repository at a > point during which said config had an error. Because there was a single > commit in which the olcFrontendConfig objectClass was added to the default > slapd.ldif file: > https://git.openldap.org/openldap/openldap/-/commit/ > 1ad90643b5085a79451b70cd93fc0911be7d8529 We don't have enough capacity now to look into the openldap-servers issues. Could you please open the issue on the Upstream bug tracker? https://bugs.openldap.org/ Feel free to post the number here. I'll move the issue to Fedora 36 for now.
I asked upstream but forgot to add myself to the CC list. However, I checked today and in the meantime have gotten confirmation that the observed issue does indeed seem to be caused by shipping very outdated configuration files: https://bugs.openldap.org/show_bug.cgi?id=7933#c8
This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
This message is a reminder that Fedora Linux 39 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '39'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 39 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26. Fedora Linux 39 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.