You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 6.3.0
Ruby: 3.3.4
Distribution: CentOS 7
Module version: HEAD
How to reproduce (e.g Puppet code you use)
profiles::openldap::overlay:
chain on ou=my-suffix:
ensure: present
options:
olcChainReturnError: 'TRUE'
What are you seeing
Error: Could not prefetch openldap_database provider 'olc': No resource and no name in property hash in olc instance
Error: Failed to apply catalog: No resource and no name in property hash in olc instance
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
I expected this entry to be made in cn=config:
Any additional information you'd like to impart
https://github.com/voxpupuli/puppet-openldap/blob/master/lib/puppet/provider/openldap_overlay/olc.rb does not include the chain overlay, with
objectClass olcChainConfig
.The chain overlay differs from other overlays in that it is built into the ldap backend, and is not a separate module. The OpenLDAP 2.6.8 code includes https://git.openldap.org/openldap/openldap/-/blob/master/tests/scripts/test022-ppolicy, which specifies two LDAP entries to implement the chain overlay:
The text was updated successfully, but these errors were encountered: