Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upProblem authenticating through Active Directory #1048
Labels
Comments
GitPython handles URLs absolutely incorrectly, and it feels like hack on hack just to fix one particular problem. In that tradition… :D … and after having read the comment I think this code exists to handle paths in particular, like c:\git-repo. In order not to break that, we could check if a scheme is present and if so, assume a valid URL. If some other problem surfaces from that, I guess that will be fixed separately. Please feel free to submit a PR for this kind of solution to get this problem fixed soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My company authenticates its Azure DevOps git repositories on Windows Active Directory. So I have to add domain name to correctly authenticate and clone repositories.
Like this:
And I got this error:
fatal: unable to access 'https://domain/user:[email protected]/tfs/.../my_repo/': Empty reply from server
Notice that the backslash right after the domain has been replaced by a slash. Probably the problem is related to this function
python cmd.polish_url()
and this line[327] url = url.replace("\\\\", "\\").replace("\\", "/")
.My environment is:
Thank you in advance.