使用davfs2挂载webdav共享

时间:2012-03-26 11:28:19

标签: linux sharepoint webdav mount

我正在尝试使用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

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

2 个答案:

答案 0 :(得分:2)

我需要在mount命令中添加-o_netdev选项。这修复了&#34;安全连接截断&#34;对我来说错误,大多数时候。 ; ^)

答案 1 :(得分:1)