gitea: Active Directory not working

  • Gitea version (or commit ref): gitea:latest from Docker
  • Git version: gitea:latest from Docker
  • Operating system:
  • 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:

Description

I’m trying to configure AD Authentication. I followed all guides on Internet, but the output is the same:

2019/10/07 15:26:12 ...dels/login_source.go:717:UserSignIn() [W] Failed to login '<username>' via 'AD': user does not exist [uid: 0, name: <username>, keyid: 0]
2019/10/07 15:26:12 routers/user/auth.go:167:SignInPost() [I] Failed authentication attempt for <username> from <source_ip>

I’m using now the config above in Authentication Source (sorry it’s in Spanish):

Is it possible to “automate” this process when using Docker? In case the pod is restarted or I update the info. Or is this info stored in the MySQL, so I will need some script to deploy it from scratch? …

Screenshots

imagen

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

set “LEVEL=debug” in the file app.ini to see error messages (restart required)