* Re: [msysGit] Git fails to push to secured webdav
[not found] ` <4D944EE0.3090806@gmail.com>
@ 2011-03-31 9:57 ` Erik Faye-Lund
0 siblings, 0 replies; only message in thread
From: Erik Faye-Lund @ 2011-03-31 9:57 UTC (permalink / raw)
To: Edwin Amsler; +Cc: Git Mailing List, msysGit
Please don't cull the CC-list (hit "reply all" in your mailing list).
I'm not personally interested in the subject, so I'm not a likely
person to get help from.
On Thu, Mar 31, 2011 at 11:52 AM, Edwin Amsler <edwinguy@gmail.com> wrote:
> On 2011-03-31 4:19 AM, Erik Faye-Lund wrote:
>>
>> On Thu, Mar 31, 2011 at 11:06 AM, RandomInsano<edwinguy@gmail.com> wrote:
>>>
>>> Aloha!
>>>
>>> I built a simple WebDAV share on my server. WebDAV is working
>>> marvelously! Git isn't :(
>>>
>>> Basically, when I auth with the server, git doesn't use those
>>> credentials when it does a WebDAV PROPFIND command, so it recieves a
>>> 401 not authorized response.
>>>
>>> This is the back and forth between git and my webserver:
>>>
>>> [Initial push, failing due to security settings[
>>> 10.0.0.100 - - [31/Mar/2011:03:48:27 -0500] "GET /dav/git/coral.git/
>>> info/refs?service=git-receive-pack HTTP/1.1" 401 409
>>> 10.0.0.100 - - [31/Mar/2011:03:48:31 -0500] "GET /dav/git/coral.git/
>>> info/refs?service=git-receive-pack HTTP/1.1" 401 409
>>> [Git has now asked for my password]
>>> 10.0.0.100 - edwin [31/Mar/2011:03:48:31 -0500] "GET /dav/git/
>>> coral.git/info/refs?service=git-receive-pack HTTP/1.1" 200 0
>>> 10.0.0.100 - edwin [31/Mar/2011:03:48:31 -0500] "GET /dav/git/
>>> coral.git/HEAD HTTP/1.1" 200 23
>>> [Woo! Auth'd!]
>>> 10.0.0.100 - - [31/Mar/2011:03:48:32 -0500] "PROPFIND /dav/git/
>>> coral.git/ HTTP/1.1" 401 397
>>> [WTF?! FAIL!]
>>>
>>> Any ideas what's causing this? Which libraries are to blame, etc?
>>>
>> Didn't you already report this to the main Git list yetsterday?
>>
>> http://article.gmane.org/gmane.comp.version-control.git/170280
>>
>> Besides, it seems to me that this question has been asked and answered
>> before:
>>
>> http://article.gmane.org/gmane.comp.version-control.git/105397
>
> Indeed I did report to the main list! Sometimes it's best to ask at multiple
> sources, despite the annoyance for those who are members of both groups.
> Sorry for the double post for you.
>
> The problem you referenced (git/webdav is refusing to authenticate properly)
> has the issue that git never tried to authenticate. Mine did. Then just
> forgot to use the authentication.
>
Did you setup your .netrc file like
Documentation/howto/setup-git-server-over-http.txt tells you to?
http://git.kernel.org/?p=git/git.git;a=blob;f=Documentation/howto/setup-git-server-over-http.txt;h=622ee5c8dd7c384794a21baa6093d85a47f89a54;hb=HEAD
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-31 9:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <7867a559-ea24-49c3-978b-a2b65100525f@o20g2000yqk.googlegroups.com>
[not found] ` <AANLkTinrwn7k=69wrgTr8YW6GzwOeBP-mKSs2b+ZZHv2@mail.gmail.com>
[not found] ` <4D944EE0.3090806@gmail.com>
2011-03-31 9:57 ` [msysGit] Git fails to push to secured webdav Erik Faye-Lund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).