FS#68500 - [mc] Midnight Commander should probably not be compiled with --enable-vfs-smb

Attached to Project: Community Packages
Opened by Riccardo Paolo Bestetti (vmsh0) - Monday, 02 November 2020, 09:24 GMT
Last edited by George Rawlinson (rawlinsong) - Sunday, 15 January 2023, 06:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
George Rawlinson (rawlinsong)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
From the PKGBUILD for Midnight Commander (mc package):

./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--enable-vfs-smb \
--with-screen=slang \
--with-x

The --enable-vfs-smb flag enables SMB support, which has been broken for a really long time[1], since apparently[2] it still uses an SMB implementation copied straight from Samba, dated 1995. This is of course a security risk. Also, in my experience, it just doesn't work most of the time when using with recent SMB servers, giving generic error messages such as "Cannot chdir to /smb://[share name]".

[1]: https://midnight-commander.org/ticket/1
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520114#12

Additional info:
* package version(s): 4.8.25-3
* link to upstream bug report, if any: https://midnight-commander.org/ticket/1

Steps to reproduce:
n/a
This task depends upon

Closed by  George Rawlinson (rawlinsong)
Sunday, 15 January 2023, 06:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.8.29-1
Comment by Riccardo Paolo Bestetti (vmsh0) - Monday, 02 November 2020, 11:02 GMT
(apologies, I forgot to put the package name in the title - maybe someone could fix that.)

Loading...