Commit 37710195 authored by Max Kellermann's avatar Max Kellermann

meson_options.txt: disable the "smbclient" plugin by default

The bug https://bugzilla.samba.org/show_bug.cgi?id=11413 makes MPD crash after at most a minute of using the plugin. Since this bug is five years old already and it doesn't look like it will ever be fixed, all libsmbclient code in MPD is scheduled for removal. For now, the plugin is disabled by default so people are less likely to hit the crash bug. Closes https://github.com/MusicPlayerDaemon/MPD/issues/991
parent 7b9295ff
...@@ -4,6 +4,7 @@ ver 0.22.2 (not yet released) ...@@ -4,6 +4,7 @@ ver 0.22.2 (not yet released)
on update on update
* input * input
- qobuz/tidal: fix protocol errors due to newlines in error messages - qobuz/tidal: fix protocol errors due to newlines in error messages
- smbclient: disable by default due to libsmbclient crash bug
* playlist * playlist
- soundcloud: fix protocol errors due to newlines in error messages - soundcloud: fix protocol errors due to newlines in error messages
* state_file: save on shutdown * state_file: save on shutdown
......
...@@ -71,6 +71,11 @@ Load music files from a SMB/CIFS server. It is used when ...@@ -71,6 +71,11 @@ Load music files from a SMB/CIFS server. It is used when
:code:`music_directory` contains a ``smb://`` URI, for example :code:`music_directory` contains a ``smb://`` URI, for example
:samp:`smb://myfileserver/Music`. :samp:`smb://myfileserver/Music`.
Note that :file:`libsmbclient` has a serious bug which causes MPD to
crash, and therefore this plugin is disabled by default and should not
be used until the bug is fixed:
https://bugzilla.samba.org/show_bug.cgi?id=11413
nfs nfs
--- ---
......
...@@ -86,7 +86,7 @@ For example, the following installs a fairly complete list of build dependencies ...@@ -86,7 +86,7 @@ For example, the following installs a fairly complete list of build dependencies
libpulse-dev libshout3-dev \ libpulse-dev libshout3-dev \
libsndio-dev \ libsndio-dev \
libmpdclient-dev \ libmpdclient-dev \
libnfs-dev libsmbclient-dev \ libnfs-dev \
libupnp-dev \ libupnp-dev \
libavahi-client-dev \ libavahi-client-dev \
libsqlite3-dev \ libsqlite3-dev \
......
...@@ -92,7 +92,11 @@ option('cdio_paranoia', type: 'feature', description: 'libcdio_paranoia input pl ...@@ -92,7 +92,11 @@ option('cdio_paranoia', type: 'feature', description: 'libcdio_paranoia input pl
option('curl', type: 'feature', description: 'HTTP client using CURL') option('curl', type: 'feature', description: 'HTTP client using CURL')
option('mms', type: 'feature', description: 'MMS protocol support using libmms') option('mms', type: 'feature', description: 'MMS protocol support using libmms')
option('nfs', type: 'feature', description: 'NFS protocol support using libnfs') option('nfs', type: 'feature', description: 'NFS protocol support using libnfs')
option('smbclient', type: 'feature', description: 'SMB support using libsmbclient')
# The "smbclient" plugin is disabled by default because libsmbclient
# has a serious bug which crashes MPD very quickly:
# https://bugzilla.samba.org/show_bug.cgi?id=11413
option('smbclient', type: 'feature', value: 'disabled', description: 'SMB support using libsmbclient')
# #
# Commercial services # Commercial services
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment