
如何使用不同的凭据多次安装单个服务器上的 webDAV 服务?
我正在想象这样的设置,允许 davfs2 正确地将凭据与挂载关联起来
/etc/fstab
https://server.com/dav /mnt1 davfs rw 0 0
https://server.com/dav /mnt2 davfs rw 0 0
/etc/davfs2/secrets
https://server.com/dav [email protected] password
https://server.com/dav [email protected] differentpassword
答案1
我相信你的机密文件需要显示安装位置。在我的安装中
/mnt1 [email protected] password
/mnt2 [email protected] differentpassword
请参阅下面的更多细节。