gpt4 book ai didi

linux - 使用 davfs2 挂载 webdav 共享

转载 作者:IT王子 更新时间:2023-10-29 00:56:55 24 4
gpt4 key购买 nike

我正在尝试使用 davfs2 在我的 Ubuntu 机器上安装 SharePoint 目录(位于 Windows 服务器上)。我收到“安全连接被截断”错误。以下是我所做的和输出(有一些遗漏):

$ sudo mount -t davfs 'https://<server_url>' /mnt/<mount_directory>/
Please enter the username to authenticate with server
Username: <username>
Please enter the password to authenticate user <username> with server
Password: <password>
/sbin/mount.davfs: the server certificate is not trusted
issuer: <issuer>
subject: <subject>
identity: <identity>
fingerprint: <fingerprint>
You only should accept this certificate, if you can
verify the fingerprint! The server might be faked
or there might be a man-in-the-middle-attack.
Accept certificate for this session? [y,N] y
/sbin/mount.davfs: Mounting failed.
Could not read status line: Secure connection truncated

有没有人知道可能导致此问题的原因以及如何解决?感谢您的帮助。谢谢。

最佳答案

我需要将 -o_netdev 选项添加到挂载命令。大多数时候,这为我修复了“安全连接被截断”错误。 ;^)

关于linux - 使用 davfs2 挂载 webdav 共享,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9871270/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com