Midnight Commanderを使用してsmb(samba)共有に接続するには?

Midnight Commanderを使用してsmb(samba)共有に接続するには?

左/ SMBリンクを選択して...jarとユーザー名、パスワードを入力すると、このエラーメッセージが表示されます。

Cannot chdir to "/smb://host.network/share"

私は別のバージョンの瓶を試してみました。

最初の2つはF1画面に記録されます。これはサーバー側のバージョン制限に関連していますか?言うまでもなく、\\host.network\shareMicrosoft Windowsのファイルエクスプローラで作業するのは非常に簡単です。また、smbclient //host.network/share接続してみてください。

$ mc --version
GNU Midnight Commander 4.8.26
Built with GLib 2.68.0
Built with S-Lang 2.3.2 with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
 cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs
Data types:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

ベストアンサー1

Midnight CommanderのSMB実装は、Sambaでデフォルトで無効になっている非常に古いバージョンのCIFSプロトコルを使用します。

以下を追加して問題を解決できます。

    server min protocol = CORE
    client min protocol = CORE

ファイル[global]セクションに/etc/samba/smb.conf

これによりサンバがアクティブになります。非常に不安使用する必要があるCIFSプロトコルのバージョン絶対に使用しないでください信頼できるデバイスのみを含む専用LANがある場合は除外されます。

関連バグレポート:https://midnight-commander.org/ticket/1

おすすめ記事