Help us understand the problem. What is going on with this article?

Windows 10 に cifs 接続する

More than 1 year has passed since last update.

Windows 10 に cifs で接続する時の備忘録です。
vers=2.0 がキモ。(debian 9 の man mount.cifs より)

vers=SMB protocol version. Allowed values are:
· 1.0 - The classic CIFS/SMBv1 protocol. This is the default.
· 2.0 - The SMBv2.002 protocol. This was initially introduced in Windows Vista Service Pack 1, and Windows Server 2008. Note that the initial release version of Windows Vista spoke a slightly different dialect (2.000) that is not supported.
· 2.1 - The SMBv2.1 protocol that was introduced in Microsoft Windows 7 and Windows Server 2008R2.
· 3.0 - The SMBv3.0 protocol that was introduced in Microsoft Windows 8 and Windows Server 2012.

#//接続先IPアドレス/共有名 マウント先ディレクトリ名 cifs vers=2.0,noperm,nounix,credentials=資格情報ファイル名
//server/share /mnt/win cifs vers=2.0,noperm,nounix,credentials=.credentials 0 0

(資格情報ファイルは chmod 0600 .credentials とかしておいた方がいいでしょう)


Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away