-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.Issue needs no code to be fixed, only a description on how to fix it yourself.

Description
- Gitea version (or commit ref): v1.6.0
- Git version: 2.17.1
- Operating system: Ubuntu 18.04.1
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
xxxx/xx/xx xx:xx:xx [W] Failed to login '[email protected]' via 'local_ldap': Invalid pattern for attribute 'username' [[email protected]]: must be valid alpha or numeric or dash(-_) or dot characters
xxxx/xx/xx xx:xx:xx [I] Failed authentication attempt for [email protected] from xxx.xxx.xxx.xxx
Description
Additional information:
- OpenLDAP: 2.4.45
- Authentication type: LDAP (simple auth)
- User DN: uid=%s,ou=my_ou,dc=example,dc=com
- User Filter: (&(objectClass=inetOrgPerson)(uid=%s))
Obviously the "@" character is not in a class of allowed characters for "username". Will it be possible to add the "@" in the next version?
Metadata
Metadata
Assignees
Labels
type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.Issue needs no code to be fixed, only a description on how to fix it yourself.