[Samba] Cannot remove symlink with missing target

Andreas Maier andreas.r.maier at gmx.de
Wed Jan 6 19:33:12 UTC 2016

Am 06.01.2016 um 20:10 schrieb Jeremy Allison:
> On Wed, Jan 06, 2016 at 07:58:32PM +0100, Reindl Harald wrote:
>> Am 06.01.2016 um 19:35 schrieb Andreas Maier:
>>> Am 06.01.2016 um 19:28 schrieb Jeremy Allison:
>>>> Can't reproduce this on latest 4.3.x (and I just tried). We did have
>>>> such a bug, but I remember fixing it :-). What Samba version is
>>>> running on the Synology ?
>>> Jeremy,
>>> The smbd version is 4.1.18, according to the NOS value shown in
>>> /proc/fs/cifs/DebugData on the client side, and according to "smbd -V"
>>> on the server side.
>>> I have no control over the samba level on the server side (other than
>>> upgrading the Synology firmware). So if this has been fixed in a version
>>> after 4.1.18, it would be good to know for sure, then I can create a
>>> request for Synology to upgrade their included samba version
>> well, the latest 4.1.x is 4.1.22 according to
>> https://download.samba.org/pub/samba/
> No, latest Samba is : 4.3.3 security release.
> We also released 4.2.7, 4.1.22 at the same time.
I checked the WHATSNEW.txt file of 4.3.3 and 4.1.22, but could not find 
anything that is related to this behavior.

There is a fix for CVE-2015-5252 (Insufficient symlink verification in 
smbd), could that be the solution to the cannot-delete-broken-symlink 
behavior in addition?


More information about the samba mailing list