[go: nahoru, domu]

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

Groups are not allowed to have parenthesis in their name #151

Open
consideRatio opened this issue Dec 20, 2019 · 2 comments
Open

Groups are not allowed to have parenthesis in their name #151

consideRatio opened this issue Dec 20, 2019 · 2 comments

Comments

@consideRatio
Copy link
Member
consideRatio commented Dec 20, 2019

I extracted this from @leetim's issue #148 where two issues were described in one github issue, making it hard to track them properly. Below is the issue as described by @leetim in #148.


Users cannot be authorized if the group name contains the characters ( and ).

c.LDAPAuthenticator.allowed_groups = [
 'CN=_ IT-группа Бизнес-анализа данных,OU=_ДолжностиИОтделы,OU=DNS Users,DC=partner,DC=ru',
 # Authorization with next line doesn't work
 'CN=_ Федеральный директор - Фед. адм. (Управление),OU=_ДолжностиИОтделы,OU=DNS Users,DC=partner,DC=ru',
]
@consideRatio consideRatio changed the title Groups with parenthesis in name issue Groups are not allowed to have parenthesis in their name Dec 20, 2019
@csayler
Copy link
csayler commented Feb 19, 2020

yes, we ran into the same problem...

@kinow
Copy link
Contributor
kinow commented Jul 9, 2020

Strange, that worked for me. My group name is dn: cn=admin (2),ou=roles,dc=wimpi,dc=net. My settings have:

c.LDAPAuthenticator.allowed_groups = [
    "cn=admin (2),ou=roles,dc=wimpi,dc=net"
]

And when I debug the authenticator, it's possible to confirm that the LDAP search used that value in the filters (I had to remove memberUid and uniqueMember due to #133 as I'm using OpenLDAP).

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants