Skip to content

Conversation

gcoxmoz
Copy link
Contributor

@gcoxmoz gcoxmoz commented Jan 22, 2025

Pull Request (PR) description

https://www.openldap.org/doc/admin26/guide.html#ppolicy%20overlay
In upgrading openldap 2.5->2.6, you have to make ppolicy adjustments.
The upgrade guide is documented in "assumes ldap expert-ese", but from an older bug:

  • You add (one config-overlay) olcPPolicyCheckModule=somemodule.so
  • You add (any policies using) pwdUseCheckModule=TRUE
  • You remove (any policies using) pwdCheckModule=somemodule.so

... and puppet doesn't know about PPolicyCheckModule. So here we are.

It's lumped in with a lot of other attributes, but it has sibling attrs from https://www.openldap.org/software/man.cgi?query=slapo-ppolicy&manpath=OpenLDAP+2.6-Release

https://www.openldap.org/doc/admin26/guide.html#ppolicy%20overlay
In upgrading openldap 2.5->2.6, you have to make ppolicy adjustments.
It's documented in "assumes ldap expert-ese", but from in an older bug:
https://bugs.openldap.org/show_bug.cgi?id=9666#c1

* You add (config-overlay) olcPPolicyCheckModule=somemodule.so
* You add (policies) pwdUseCheckModule=TRUE
* You remove (policies) pwdCheckModule=somemodule.so

... and puppet doesn't know about PPolicyCheckModule.  So here we are.
It's lumped in with a lot of other attributes, but it has siblings from
https://www.openldap.org/software/man.cgi?query=slapo-ppolicy&manpath=OpenLDAP+2.6-Release
@bastelfreak bastelfreak added the enhancement New feature or request label Jan 24, 2025
@bastelfreak bastelfreak merged commit 786cd80 into voxpupuli:master Jan 24, 2025
23 checks passed
@gcoxmoz gcoxmoz deleted the ppolicy-check-module branch January 24, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants