Bonobo Git服务器域身份验证失败

时间:2014-09-22 22:28:14

标签: git iis windows-server-2012-r2 bonobo

我最近在我的一台机器上安装了Bonobo.Git.Server。我有一个域控制器,我通过IIS中的设置连接了身份验证。 如果我已登录到属于域的计算机/用户,我可以执行" git clone"正好。但是,如果我连接到非域计算机并尝试克隆它将要求输入用户名和密码,但是当我输入它们时它会显示"身份验证失败:..."

我已经尝试了尽可能多的不同我可以找到的网址。

git clone https://{username}@{url}.git
git clone https://{domain}@{username}@{url}.git
git clone https://{domain}\{username}@{url}.git
git clone https://{username}:{password}@{url}.git
git clone https://{domain}@{username}:{password}@{url}.git
git clone https://{domain}\{username}:{password}@{url}.git

我在用户名和密码要求时也尝试了不同的用户名组合,因为它没有在网址中提供。他们似乎都没有工作。

我可以访问bonobo git服务器网页并查看所有存储库。但我似乎无法克隆存储库。 什么想法我做错了什么?

3 个答案:

答案 0 :(得分:2)

您需要在指定域的部分中添加额外的斜杠。例如:

git clone https://{domain}\\\{username}@{url}.git

我不确定这是Bonobo本身的工件还是IIS,无论哪种方式,当前版本(3.6.0)都需要它。

答案 1 :(得分:0)

您必须先以某种方式加载您的网页:URL / Bonobo.Git.Server / Repository / Index 网址必须已满 http://computername.domain.com但不是http://computername 希望它可以提供帮助,我花了很长时间才弄明白。

答案 2 :(得分:-1)

是的,当您收到用户提示时,使用 @ ,特别是如果您按照字面意思设置为Bonobo Git服务器设置Windows身份验证的说明:

http://bonobogitserver.com/windows-authentication/