I’m trying to get GOGS to work with windows active directory.
I’ve searched this forum and the internet for a solution here:
I have seen people managed to get this to work. Followed many suggestions but none seem to work.
Locally created users in Gogs work fine.
When I try to login with a domain user I get the following error:
“Username or password is not correct.”
I tried username, username@domain, domain\username, firstname.lastname@example.org.
I have Gogs version 0.11.43_windows_amd64, running on Windows 7, MySql 188.8.131.52.
Setup Authentication setting along with Bind DN.
Tried to creating a user with authentication source as the authentication created.
Still didn’t work.
In the command line window where i started Gogs, “gogs web”, when I try to login with a domain user, i do see entries like these:
[Macaron] date time : Started POST /user/login for IP
[Macaron] date time : Completed POST /user/login 200 OK in 15.6ms