Love Gogs! works great!
Recently I’ve installed FreeIPA on my home server and I wanted to authenticate gogs using IPA.
I was trying to follow instructions from gogs.io/docs/features/authentication
(I wish there was also text version of filters as it was not easy to read/copy from a screenshot).
After setup, when i try to login using domain user/password, I just get “Username or password is not correct.”
journalctl is not helpful here as it does not give much info:
Mar 09 23:16:05 ipaserver .mydomain .com gogs: [Macaron] 2019-03-09 23:16:05: Started POST /user/login for 10.0.1.4
Mar 09 23:16:05 ipaserver .mydomain .com gogs: [Macaron] 2019-03-09 23:16:05: Completed POST /user/login 200 OK in 102.869595ms
FreeIPA version: 4.7.2
Bind DN: uid=gogs,cn=sysaccounts,cn=etc,dc=home,dc.mydomain,dc=com User Search Base: cn=accounts,dc=home,dc.mydomain,dc=com User Filter: (&(uid=%s)(memberOf=cn=gogs_users,cn=groups,cn=accounts,dc=home,dc.mydomain,dc=com|))
Any suggestions how and where i could start debugging?
ps. It was very hard to post this question with “New Users are allowed only for 2 links”
Thank you in advance!