-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openldap::server::overlay incorrectly parses suffix #334
Comments
Hey!
Hum… Should probably be like 🧐 : openldap::server::overlay { 'syncprov on dc=example,dc=com':
ensure => present, # ^^^^^^^^^^^^^^^^^
options => { # the suffix
'olcSpCheckpoint' => '100 10',
'olcSpSessionlog' => '100'
},
} |
The (working) configuration I am trying to obtain is this one:
So enabling the syncprov overlay on the mdb database I want to synchronize, as mentioned in the openldap documentation: https://www.openldap.org/doc/admin24/guide.html#N-Way%20Multi-Provider I tried the one you suggested, but I'm not obtaining the desired result. |
Same behaviour in version 6.0.0, you aren't able to add an overlay with suffix |
Okay, giving it another try reveals, after looking into openldap_overlay, following example openldap::server::overlay { 'ppolicy on dc=example,dc=net':
ensure => present,
options => {
'olcPPolicyDefault' => 'cn=default,ou=policies,dc=example,dc=net',
'olcPPolicyForwardUpdates' => 'FALSE',
'olcPPolicyHashCleartext' => 'TRUE',
'olcPPolicyUseLockout' => 'FALSE'
},
} produces expected result in database:
I would suggest closing this issue, if it is not used to improve the docu. |
👍 for improving any documentation! Can you please contribute some example based on your experience in a PR 😁 ? |
Using an "overlay on suffix" title for the
openldap::server::overlay
ends up with an incorrect suffix ("[]", see below). Is seems that the title is incorrectly parsed.Using the
suffix
attributes provides the same result.Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce
What are you seeing
What behaviour did you expect instead
Obtained
dn
should be something likedn: olcOverlay=syncprov,olcDatabase={2}mdb,cn=config
The text was updated successfully, but these errors were encountered: