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

多账号多密码自动挂载webdav存在问题 There are issues with automatically mounting webdav with multiple accounts and passwords #2167

Open
ProgrammerMao opened this issue Feb 22, 2025 · 0 comments

Comments

@ProgrammerMao
Copy link

我的尝试挂载到linux中,但是因为存在多个账号,以及同一个账号拥有多个密码的原因,在secrets中指定会出现匹配出错的问题,因为地址都是example.cn/dav;
而/etc/fstab中似乎无法指定使用哪个secrets,只能使用davfs2中的/etc/davfs2/secrets,所以我希望能根据访问的地址指定账号密码,例如example.cn/dav/user1/notes1用来标记是哪个用户的哪个标记。
如果有其他方法请直接指出,我不希望使用反向代理服务器进行反向代理,这会让网络结构变得复杂。

My attempt was to mount it onto Linux, but due to the existence of multiple accounts and the fact that the same account has multiple passwords, there was a matching error when specifying it in secrets, as the addresses were all 'example. cn/dav';
However, it seems that it is not possible to specify which secrets to use in/etc/fstab, only/etc/davfs2/secrets in davfs2 can be used. Therefore, I hope to be able to specify the account password based on the access address, such as using example. cn/dav/user1/notes1 to mark which user's which tag.
If there are other methods, please point them out directly. I do not want to use a reverse proxy server for reverse proxy, as it would make the network structure more complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant