Add a New Comment (Rich Markup)
Comment Type & Canned Response: None None
I spent 10 minutes trying to create an account and your system would not let me past the CAPTCHA challenge despite entering it correctly. My email is -email is unavailable- when you get it fixed. To All-
I wated to take a moment and post this solution since I was working on the problem for most of the day today.
When I would type:
mount box.com
I would get this response:
/sbin/mount.davfs: Mounting failed. Could not authenticate to server: rejected Basic challenge
This was the solution:
gksudo gedit /etc/davfs2/davfs2.conf
Add the following to davfs2.conf:
dav_group users use_locks 0
Then type:
sudo addgroup <yourusername> users
Then do:
sudo apt-get update sudo apt-get install cadaver
cadaver -t https://www.box.net/dav
Login with your Box.com Username and Password once you sucessfully authenticate type 'quit' to exit from the session.
Finally, you will be able to sucessfully do:
sudo mount box.com
That is it!
My system is Kabuntu 12.10 32-bit just in case another user requires this informtion. Thank you for having this thread available to us!
Yes, it would be a good idea to file a bug report.
It looks like a simple parsing error that should be easy to fix.
If - for some reason - they can't fix this bug it would not be a big problem either, provided they notify their users about this restriction.
Cheers Werner
hi Werner,
indeed, the credentials in the HTTP-Request Authorization header are correct and they contain a colon.
The server (ownCloud) is failing authentication though. Should I file an issue with ownCloud?
thanks a lot, stef
davfs2 usually has no problems in dealing with passwords that contain special characters like ':'. But in Basic Auth the colon is used to seperate the username from the password. It might confuse the server.
Please check this:
sic' followed by the base64 encoded credentials. You can decode them with 'base64 --decode'. Are they correct?
as subject says,
$ sudo mount owncloud [sudo] password for USER: Please enter the username to authenticate with server http://my.domain.tld/files/webdav.php or hit enter for none. Username: username Please enter the password to authenticate user stefano with server http://my.domain.tld/files/webdav.php or hit enter for none. Password: /sbin/mount.davfs: Mounting failed. Could not authenticate to server: rejected Basic challenge
I have a password that has a : in it and I couldn't login in the webdav service via davfs2. I can login instead if I change the password and remove the :.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9