2012-03-26 192 views
6

我想在我的Ubuntu機器上使用davfs2掛載SharePoint目錄(位於Windows服務器上)。我收到「安全連接截斷」錯誤。以下是我做的和輸出(有一些遺漏):使用davfs2掛載webdav共享

$ 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 

有沒有人有一個想法是什麼可能會導致此問題,以及如何解決呢?將感謝您的幫助。謝謝。

+0

任何人都可以幫助我們解決這個問題嗎?我也得到同樣的錯誤..! – Dharmavir 2012-07-23 09:31:04

+0

@Dharmavir也許那麼投票它是一個好主意,也許這有助於使它更加明顯。 – 2012-07-24 10:05:11

+0

做了我的一點點。你能找到解決這個問題的辦法嗎? – Dharmavir 2012-07-24 11:10:21

回答

2

我需要將-o_netdev選項添加到mount命令。這爲我解決了「安全連接被截斷」錯誤,大部分時間。 ; ^)