Closed maniel closed 1 year ago
Hello, @maniel
Thanks for your interest in ldapAuth
.
This problem comes from here: https://github.com/wiltonsr/ldapAuth/blob/0f224f694dc1e2f2d151bfe1f52541d4fdc76213/ldapauth.go#L442
This ReplaceAll
is applied to prevent breaks in go/template
substitutions.
You are right, LDAP
must support spaces
.
I'll work on this soon.
tried this filter:
(&(memberOf=CN=Administratorzy domeny,CN=Users,DC=wupb,DC=lokalna)(objectClass=user)(sAMAccountName={{.Username}}))
it fails and i see this in the logs:using quotation marks around the group name doesn't seem to solve the problem, as far as i know spaces in group names are common in Active Directory