Skip to content
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

Setting limits fails for groups with spaces in their name #289

Open
kasimon opened this issue Apr 30, 2021 · 0 comments · May be fixed by #357
Open

Setting limits fails for groups with spaces in their name #289

kasimon opened this issue Apr 30, 2021 · 0 comments · May be fixed by #357

Comments

@kasimon
Copy link
Contributor

kasimon commented Apr 30, 2021

As can be seen in

https://github.com/camptocamp/puppet-openldap/blob/82f3bd04b006e3c5816d5533d95cb8fd61eb7e46/lib/puppet/type/openldap_database.rb#L210

the module uses \S+ to verify the dn of a group to set a limit. \S matches any non-whitespace character, but it is perfectly allowed to use whitespaces in LDAP DNs, like cn=directory administrators, .... In order to allow such groups, the regexp has to be fixed.

@smortex smortex linked a pull request Aug 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant