helpdavfs2 - Support: sr #107992, syntax error because of the...


sr #107992: syntax error because of the password

Submitted by:  None
Submitted on:  Wed 21 Mar 2012 10:59:29 AM UTC  
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  Werner Baumann <wbaumann>
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 24 Mar 2012 06:51:11 PM UTC, comment #2:

Referring to your email:

"/mount -t davfs -o user=markus,password=xxxx(xxxx /mnt/point"

Davfs2 does not know of a commandline option 'password' and the option 'user' has quite a different meaning. Please use the original documentation (man mount.davfs, man davfs2.conf, README, INSTALL) instead of outdated HowTos, Tipps and Tricks found somewhere in the internet.

"Could not authenticate to server: rejected Basic challenge"
The server does not recognize your username and/or password. You can add option 'debug secrets' to your davfs2.conf. davfs2 will then write log entries into one of your log files that show the username and password as davffs2 got it from your secrets file.
If they are not correct you may check your secrets file. If they are correct: are you sure you use the correct credentials as expected by the server?


Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Wed 21 Mar 2012 06:16:34 PM UTC, comment #1:

No error message of davfs2 contains the phrase 'syntax error'. Please always report the full and unchanged error messages from davfs2.

Maybe you mean message 'malformed line' (German: 'Syntaxfehler in der Zeile'). This message prints the line number where the error occurs. Did you check this number and identifiy the line with the error?

There is no need to quote or escape the '('-character. It has no special meaning in davfs2.conf or in secrets.

What characters have to be escaped and how is described at the beginning of the secrets file as well as in 'man davfs2.conf'.


Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Wed 21 Mar 2012 10:59:29 AM UTC, original submission:

i always get a syntax error because my password contains a "(". is there any way to quote the password? a passwd change is not possible. thx



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by wbaumann (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.

    Date Changed by Updated Field Previous Value => Replaced by
    Sun 20 Apr 2014 06:46:46 PM UTC wbaumann StatusIn Progress => Done
        Open/ClosedOpen => Closed
    Wed 21 Mar 2012 06:16:34 PM UTC wbaumann StatusNone => In Progress
        Assigned toNone => wbaumann

    Back to the top

    Powered by Savane 3.3