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

LDAP/AD sync not working when dash in OU name #18981

Open
felixtech-msp opened this issue Mar 2, 2022 · 0 comments
Open

LDAP/AD sync not working when dash in OU name #18981

felixtech-msp opened this issue Mar 2, 2022 · 0 comments

Comments

@felixtech-msp
Copy link

Gitea Version

Go1.17.6

Git Version

2.25.1

Operating System

Ubuntu 20.04.4 LTS

How are you running Gitea?

Gitea is running in a Docker container

Database

MySQL

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Description

When syncing with Active Directory and there is a dash (-) in an OU name Gitea doesn't find any users which is also shown in the logs (no users found, no errors).
When using an OU without a dash it works fine.

User-Filter: (&(objectCategory=Person)(memberOf=OU=IT,OU=Internal,OU=User-Management,DC=example,DC=com)(sAMAccountName=%s))

Screenshots

No response

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

2 participants