Hey @manics,
I solved the problem.
My configuration has to be like this:
hub:
config:
bind_dn_template:
- cn={username},ou=users,ou=department,dc=institute,dc=de
valid_username_regex: ^[A-Z][a-z]*.[A-Za-z]*$
I found out, how to handle a connection to an AD server with ldap3 and what the ldapauthenticator is doing exactly. That’s why I found this solution.
Thank you again for you help.