Bug 2061966 - Unable to set olcPasswordHash attribute on frontend database
Summary: Unable to set olcPasswordHash attribute on frontend database
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 39
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Simon Pichugin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-08 20:09 UTC by nilskemail
Modified: 2024-11-27 21:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-27 21:01:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
File containing the ldif change instruction (106 bytes, text/plain)
2022-03-08 20:09 UTC, nilskemail
no flags Details

Description nilskemail 2022-03-08 20:09:04 UTC
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.

Comment 1 nilskemail 2022-03-08 20:19:10 UTC
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

Comment 2 Ben Cotton 2022-11-29 18:31:32 UTC
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.

Comment 3 Simon Pichugin 2022-12-03 00:44:16 UTC
(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.

Comment 4 nilskemail 2023-04-07 21:19:18 UTC
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

Comment 5 Ben Cotton 2023-04-25 16:55:00 UTC
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.

Comment 6 Fedora Release Engineering 2023-08-16 07:05:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 7 Aoife Moloney 2024-11-08 10:42:50 UTC
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.

Comment 8 Aoife Moloney 2024-11-27 21:01:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.