研究室で使っている Manjaro が Samba サーバにアクセスできなかったので、方法を調べてみました。
Samba のインストール
Manjaro では Gnome などがデフォルトで持っている Samba 系のソフトウェアに加え、manjaro-settings-samba という Manjaro 内で Samba をセットアップするソフトウェアが必要です。これが1つ目の詰まりどころでした。
インストールします。
$ sudo pacman -S manjaro-settings-samba
smbプロトコルの変更
こちらが原因と思い込みすぎて上の設定を見逃していました。もちろんプロトコルも合わせないとセキュリティの低めの Samba サーバにアクセスできませんので設定します。
以下のコマンドでまず確認します。
$ testparm -v | grep protocol Load smb config files from /etc/samba/smb.conf Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions client ipc max protocol = default client ipc min protocol = default client max protocol = default client min protocol = SMB2 server max protocol = SMB3 server min protocol = SMB2_02
client min protocol = SMB2 なので、SMB2の共有フォルダしかアクセスできません。このセキュリティを下げます。
/etc/samba/smb.conf を編集します。
$ sudo vim /etc/samba/smb.conf [global] workgroup = WORKGROUP dns proxy = no log file = /var/log/samba/%m.log max log size = 1000 client min protocol = SMB2
上の client min protocol = SMB2 を
client min protocol = NT1 にします。
testparm -v | grep protocol Load smb config files from /etc/samba/smb.conf Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions client ipc max protocol = default client ipc min protocol = default client max protocol = default client min protocol = NT1 server max protocol = SMB3 server min protocol = SMB2_02
たぶんこれで再起動すると反映されていると思います。
終わりです。