Coder Social home page Coder Social logo

Can't open Webdav with Kodi about dufs HOT 9 CLOSED

289699522 avatar 289699522 commented on July 16, 2024
Can't open Webdav with Kodi

from dufs.

Comments (9)

sigoden avatar sigoden commented on July 16, 2024

I specifically downloaded kodi, tested it and did not find any issues.

dufs -a /@admin:admin

image

If you still have question, please provide more details

  • Command
  • Logs
  • You kodi config

from dufs.

289699522 avatar 289699522 commented on July 16, 2024

I tested again, found the problem is not caused by kodi.
I set two users, user1 and user2. I plan to use user1 to access the whole disk, user2 only access the qbittorrent dictionary.
My hard disk is mounted at /media/st_disk, the qbittorrent dictionary is located at /media/st_disk/qbittorrent.
./dufs -a /@user1:pass1 -a /qbittorrent/@user2:pass2 /media/st_disk
Only user1 can login. user2 can't login both in the browser and WebDAV clients.

from dufs.

sigoden avatar sigoden commented on July 16, 2024

How do you config webdav?

A screenshot please.

Or paste you configuration.

from dufs.

289699522 avatar 289699522 commented on July 16, 2024

Thank you for your reply. But I found a new problem about --auth-method basic.

./dufs -a /@u1:p1 --auth-method basic
The browser repeatedly pops up the login boxand and WebDAV clients also cannot log in.

./dufs -a /@u1:p1 --auth-method digest
The browser and WebDAV clients support digest can login.

from dufs.

sigoden avatar sigoden commented on July 16, 2024

This is not a problem with dufs.

DUFS supports two login methods. Browsers also support both. As for which one webdav mainly supports, it's hard to say, but digest supports more.

from dufs.

sigoden avatar sigoden commented on July 16, 2024

If there are no other questions, please close the issue.

from dufs.

289699522 avatar 289699522 commented on July 16, 2024

Sorry, I didn't explain clearly. I main that when I use --auth-method basic, browsers also can't login.
# $ ./dufs -a /@u1:p1 --auth-method basic

# $ curl http://127.0.0.1:5000/ -I --user u1:p1
HTTP/1.1 401 Unauthorized
allow: GET,HEAD,PUT,OPTIONS,DELETE,PROPFIND,COPY,MOVE
dav: 1,2
connection: close
www-authenticate: Basic realm="DUFS"

from dufs.

sigoden avatar sigoden commented on July 16, 2024

I have identified the issue, thank you.

I usually tested it with dufs -a /@user:pass-A --auth-method basic and haven't noticed any problems.

In previous version, I updated a base64 library, and some configuration adjustments were not noticed, resulting in this issue.

thank you again.

from dufs.

sigoden avatar sigoden commented on July 16, 2024

#194 solved this.

from dufs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.