Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netware WebDAV requires cookie set before authentication #2116

Closed
cyberduck opened this issue May 20, 2008 · 4 comments
Closed

Netware WebDAV requires cookie set before authentication #2116

cyberduck opened this issue May 20, 2008 · 4 comments
Assignees
Labels
bug webdav WebDAV Protocol Implementation wontfix
Milestone

Comments

@cyberduck
Copy link
Collaborator

27cc8cf created the issue

Using cyberduck to connect to a webdav server from novell (netstorage) over https gives a login error and a prompt for a username and password. username and password were already saved and clicking login does result in a successful login.
Downloading a file over https/webdav results in the same problem, where each file will prompt for a new login. Quick looking a file does work though.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you install the latest nightly build (3faadb6) which logs the HTTP headers in the log view (Command-L) and post the transcript here. Or is it possible for me to connect to this server? The latest nightly build is available from http://update.cyberduck.ch/nightly.

@cyberduck
Copy link
Collaborator Author

dereus3 commented

Here's the logged data. Including me clicking login again and the successful login.

PROPFIND /oneNet/NetStorage/ HTTP/1.1[\r][\n]
Authorization: Basic czEzOTcyNTc6RWwzbWVudGVu[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.0.2 (4015)[\r][\n]
Host: netstorage.id.rug.nl[\r][\n]
Content-Length: 207[\r][\n]
Depth: 0[\r][\n]
[\r][\n]
HTTP/1.1 401 Authorization Required[\r][\n]
HTTP/1.1 401 Authorization Required[\r][\n]
Date: Mon, 26 May 2008 12:31:34 GMT[\r][\n]
Server: Apache/2.0.59 (NETWARE) mod_jk/1.2.21[\r][\n]
Set-Cookie: novellsession1=bE5B9NmJyAEAAAAAAAAAAA==; path=/[\r][\n]
WWW-Authenticate: Basic realm="RUG-TREE"[\r][\n]
Vary: accept-language,accept-charset[\r][\n]
Accept-Ranges: bytes[\r][\n]
Transfer-Encoding: chunked[\r][\n]
Content-Type: text/html; charset=iso-8859-1[\r][\n]
Content-Language: en[\r][\n]
[\r][\n]
[\r][\n]
PROPFIND /oneNet/NetStorage/ HTTP/1.1[\r][\n]
Authorization: Basic czEzOTcyNTc6RWwzbWVudGVu[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.0.2 (4015)[\r][\n]
Host: netstorage.id.rug.nl[\r][\n]
Cookie: $Version=0; novellsession1=bE5B9NmJyAEAAAAAAAAAAA==; $Path=/[\r][\n]
Content-Length: 207[\r][\n]
Depth: 0[\r][\n]
[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
Date: Mon, 26 May 2008 12:31:37 GMT[\r][\n]
Server: Apache/2.0.59 (NETWARE) mod_jk/1.2.21[\r][\n]
Set-Cookie: novellsession1=EsXhDiy/yAEBAAEBAQAlHg==; path=/[\r][\n]
Content-Length: 569[\r][\n]
Content-Type: text/xml[\r][\n]
[\r][\n]
PROPFIND /oneNet/NetStorage/ HTTP/1.1[\r][\n]
Authorization: Basic czEzOTcyNTc6RWwzbWVudGVu[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.0.2 (4015)[\r][\n]
Host: netstorage.id.rug.nl[\r][\n]
Cookie: $Version=0; novellsession1=EsXhDiy/yAEBAAEBAQAlHg==; $Path=/[\r][\n]
Content-Length: 207[\r][\n]
Depth: 0[\r][\n]
[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
Date: Mon, 26 May 2008 12:31:37 GMT[\r][\n]
Server: Apache/2.0.59 (NETWARE) mod_jk/1.2.21[\r][\n]
Content-Length: 569[\r][\n]
Content-Type: text/xml[\r][\n]
[\r][\n]
PROPFIND /oneNet/NetStorage/ HTTP/1.1[\r][\n]
Authorization: Basic czEzOTcyNTc6RWwzbWVudGVu[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.0.2 (4015)[\r][\n]
Host: netstorage.id.rug.nl[\r][\n]
Cookie: $Version=0; novellsession1=EsXhDiy/yAEBAAEBAQAlHg==; $Path=/[\r][\n]
Content-Length: 207[\r][\n]
Depth: 1[\r][\n]
[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
Date: Mon, 26 May 2008 12:31:41 GMT[\r][\n]
Server: Apache/2.0.59 (NETWARE) mod_jk/1.2.21[\r][\n]
Content-Length: 1639[\r][\n]
Content-Type: text/xml[\r][\n]
[\r][\n]

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I suppose the server denies the first authentication because it wants to see the novellsession1 cookie. However, before the first response from the server this is not known yet. Don't have an idea for a workaround, you might want to ask Novell support.

@cyberduck
Copy link
Collaborator Author

dereus3 commented

I did some tests and I agree that the source of the problem is most likely the webdav implementation of Netware WebDAV. However, a hint on a workaround for cyberduck:

Goliath, a (very old) webdav program for download at http://www.webdav.org/goliath/ does not give an error when connecting to the netware webdav server. Im not into cocoa or programming on OS X in any way, but maybe it's worth having a look at the source of goliath (GPL) to see how they have fixed netware support.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug webdav WebDAV Protocol Implementation wontfix
Projects
None yet
Development

No branches or pull requests

2 participants