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
Currently group name that containes hyphens are handled incorrect:
Example:
a user has memberOf=CN=DE-APP-ACCESS,OU=Access,OU=Application,OU=Groups,OU=Client,OU=DE,DE=example,DC=com
--> Group name is handled as "DE" instead of "DE-APP-ACCESS".
It seems, that the regex in aldap.py / __find__match didn't include "-"
Should be
adGroup = re.match('CN=((\w*\s?_?-?]*)*)', adGroup).group(1)
instead of
adGroup = re.match('CN=((\w*\s?_?]*)*)', adGroup).group(1)
The text was updated successfully, but these errors were encountered:
Currently group name that containes hyphens are handled incorrect:
Example:
a user has memberOf=CN=DE-APP-ACCESS,OU=Access,OU=Application,OU=Groups,OU=Client,OU=DE,DE=example,DC=com
--> Group name is handled as "DE" instead of "DE-APP-ACCESS".
It seems, that the regex in aldap.py / __find__match didn't include "-"
Should be
adGroup = re.match('CN=((\w*\s?_?-?]*)*)', adGroup).group(1)
instead of
adGroup = re.match('CN=((\w*\s?_?]*)*)', adGroup).group(1)
The text was updated successfully, but these errors were encountered: