maindavfs2 - Support: sr #110970, Mount erorr: could not parse...

 
 

sr #110970: Mount erorr: could not parse challenge

Submitter:  None
Submitted:  Wed 06 Dec 2023 09:23:59 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 22 Dec 2023 01:33:56 PM UTC, comment #1: 

Hello!

Any ideas on how to fix this?
Davfs is installed using ssl instead of gnutls. But not working(

~ # ldd /sbin/mount.davfs
        linux-vdso.so.1 (0x00007fff589b0000)
        libneon.so.27 => /usr/lib64/libneon.so.27 (0x00007feb4f02b000)
        libc.so.6 => /lib64/libc.so.6 (0x00007feb4ec83000)
        libz.so.1 => /lib64/libz.so.1 (0x00007feb4ea6d000)
        libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007feb4e805000)
        libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007feb4e411000)
        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007feb4e1c9000)
        libproxy.so.1 => /usr/lib64/libproxy.so.1 (0x00007feb4dfa7000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007feb4dd7d000)
        /lib64/ld-linux-x86-64.so.2 (0x00007feb4f476000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007feb4db79000)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007feb4d8a8000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007feb4d678000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007feb4d474000)
        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007feb4d267000)
        libmodman.so.1 => /usr/lib64/libmodman.so.1 (0x00007feb4d05f000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007feb4ce42000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007feb4cab9000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007feb4c8a2000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007feb4c69e000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007feb4c487000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007feb4c263000)
        libm.so.6 => /lib64/libm.so.6 (0x00007feb4bf62000)
        libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007feb4bcf3000)

In systemlog:
...
mount.davfs: [status-line] < HTTP/1.1 401 Unauthorized
...
mount.davfs: ah_post_send (#1), code is 401 (want 401), WWW-Authenticate is NTLM
mount.davfs: auth: Got challenge (code 401).
mount.davfs: auth: Got 'NTLM' challenge.
mount.davfs: auth: Trying NTLM challenge...
mount.davfs: auth: NTLM challenge.
mount.davfs: auth: No challenges accepted.
mount.davfs: Request ends, status 401 class 4xx, error line:#012Could not authenticate to server: could not parse challenge
mount.davfs: Running destroy hooks.
mount.davfs: Request ends.


Please help with this problem.


Anonymous
Wed 06 Dec 2023 09:23:59 AM UTC, original submission:  

Hello.
I'm trying to connect SharePoint storage using davfs2. Authentication method - ntlm.

The neon library is installed:
# zypper info --requires davfs2
...
...
Information for package davfs2:
-------------------------------
Repository: SLE12-SP1-SAP-Pool
Name: davfs2
Version: 1.5.2-2.3
...
...
Requires:
  libc.so.6(GLIBC_2.15)(64bit)
  libneon.so.27()(64bit)
  fuse >= 2.2
  /bin/sh
  permissions
  pwdutils
  /usr/sbin/useradd
  /usr/sbin/groupadd


URL, login and password are written in /etc/davfs2/secrets

When I try to mount I get the error:
/sbin/mount.davfs: Mounting failed.
Could not authenticate to server: could not parse challenge



Connecting to any other webdav storage (for example, Yandex.webdav) works.

Anonymous

 

(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

 

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

    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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code