Midnight Commander를 사용하여 smb(samba) 공유에 연결하는 방법은 무엇입니까?

Midnight Commander를 사용하여 smb(samba) 공유에 연결하는 방법은 무엇입니까?

왼쪽/SMB 링크를 선택하고... 항아리와 사용자 이름, 비밀번호를 입력하면 이 오류 메시지가 표시됩니다.

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

나는 다른 버전의 항아리를 시험해 보았습니다.

처음 두 개는 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

관련 정보