LDAP filter wildcards

Hello everyone,
I recently synced my GiTea with my Active Directory. This works perfectly fine. My only Problem right now is that under “Verify LDAP Group membership” I can’t put in any filters which contain a wildcard, because when I do that user can’t log into Gitea anymore which obviously not goal

For example things like: (|(cn=example1_*)(cn=example1_*)(cn=example1_*’))
simply don’t work. I also tried:

(&(objectClass=group)(|(cn=example2_*)(cn=example1_*)(cn=example3_*)))

As soon as I use a none wildcard filter like:
(&(objectClass=group)(cn=testGroup))

it works perfectly fine and works just as intended. Does anyone know what the reasons could be that I can’t a wildcard in my config? I already looked through the wiki but found nothing.
Thanks in advance