Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329893 - DAV Auth Problem
Summary: DAV Auth Problem
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthias Sohn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 311640
Blocks:
  Show dependency tree
 
Reported: 2010-11-10 08:01 EST by Meng-Yuan Huang CLA
Modified: 2010-12-01 16:43 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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