https://bugs.openldap.org/show_bug.cgi?id=9629
Issue ID: 9629 Summary: When configuring ppolicy with back-sql backend ppolicy rules are not obeyed Product: OpenLDAP Version: 2.5.4 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: backends Assignee: bugs@openldap.org Reporter: aapo.romu@eficode.com Target Milestone: ---
Created attachment 832 --> https://bugs.openldap.org/attachment.cgi?id=832&action=edit Patch for processing the needed op attributes to make ppolicy work
When configuring ppolicy with back-sql backend ppolicy rules are not obeyed. The back-sql does not process op attributes at all so it misses the ppolicy configuration
https://bugs.openldap.org/show_bug.cgi?id=9629
--- Comment #1 from aapo.romu@eficode.com --- Eficode Oy / Aapo Romu hereby place the following modifications to OpenLDAP Software (and only these modifications) into the public domain. Hence, these modifications may be freely used and/or redistributed for any purpose with or without attribution and/or other notice.
https://bugs.openldap.org/show_bug.cgi?id=9629
aapo.romu@eficode.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|2.5.4 |2.4.58
https://bugs.openldap.org/show_bug.cgi?id=9629
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Howard Chu hyc@openldap.org --- (In reply to aapo.romu from comment #1)
Eficode Oy / Aapo Romu hereby place the following modifications to OpenLDAP Software (and only these modifications) into the public domain. Hence, these modifications may be freely used and/or redistributed for any purpose with or without attribution and/or other notice.
Thanks, added to git master. 2.4 is not open to any new patches; this could be included in 2.5 though.
https://bugs.openldap.org/show_bug.cgi?id=9629
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE25:
Commits: • ab3db653 by Aapo Romu at 2021-08-12T14:40:40+01:00 ITS#9629 back-sql: Add support for ppolicy opattrs
https://bugs.openldap.org/show_bug.cgi?id=9629
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.7
https://bugs.openldap.org/show_bug.cgi?id=9629
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- previous was head, not re25.
RE25:
• ea1b130b by Aapo Romu at 2021-08-16T16:29:16+00:00 ITS#9629 back-sql: Add support for ppolicy opattrs
https://bugs.openldap.org/show_bug.cgi?id=9629
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED Resolution|TEST |FIXED