Git authentication over apache_mod_krb

后端 未结 3 875
清歌不尽
清歌不尽 2021-01-13 18:02

I\'m using git repo with git-http-backend. In apache2 I have location what needs authentication for clone and push actions. When I protected it location with AuthType Basic

3条回答
  •  不知归路
    2021-01-13 19:02

    Problem in curl, because git in debian was compiled with curl option ANY_AUTH, and when git client try connect to webserver and first ask it negotiate auth and it can't do it, git don't try basic auth, because basic is lower security than negotiate. When I try curl --anyauth I can' get data from webserver too, but if I change --basic all works fine, problem in that I can't tell git what auth should use.

提交回复
热议问题