Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329893

Summary: DAV Auth Problem
Product: [Technology] EGit Reporter: Meng-Yuan Huang <myh>
Component: UIAssignee: Matthias Sohn <matthias.sohn>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.sohn, myh
Version: 0.9.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 311640    
Bug Blocks:    

Description Meng-Yuan Huang CLA 2010-11-10 08:01:07 EST
I want to use egit with http & DAV.

This is my DAV settings:
<VirtualHost *>
    ServerAdmin user@example.com
    ServerName git.example.com
    ErrorLog /var/log/httpd/git-error.log
    CustomLog /var/log/httpd/git-access.log combined

    <Location "/git">
    DAV on
    AuthType Basic
    AuthName "Git"
    AuthUserFile /etc/httpd/dav_git.passwd
    Require valid-user
    </Location>
</VirtualHost>

Then, I used egit to clone a remote git repo:
http://pic.pimg.tw/zxvc/abf4f44fe714740b0d3ae0cc69aaca3e.png

Unfortunately, while I clicked the next button, an error message occurred:
http://pic.pimg.tw/zxvc/fbafef7b69f2e5421552196007d39741.png

I tried to disable the login auth, i.e. commented "Require valid-user,"
egit works well.

Does it mean that egit 0.9.3 doesn't support DAV auth?
Could egit support DAV auth in the future version?
Comment 1 Matthias Sohn CLA 2010-11-30 17:06:59 EST
we now implemented HTTP authentication in EGit, please try that on your environment
Comment 2 Matthias Sohn CLA 2010-11-30 17:07:45 EST
you need to use the latest nightly (change was submitted today)
Comment 3 Meng-Yuan Huang CLA 2010-12-01 09:56:23 EST
(In reply to comment #2)
> you need to use the latest nightly (change was submitted today)

It works.
Thank you, EGit developers.
Comment 4 Matthias Sohn CLA 2010-12-01 16:43:30 EST
user has confirmed that his problem is solved with the new HTTP authentication support