[Samba] Unable to delete dangling symbolic link with "map readonly=permissions"

Rowland Penny rpenny at samba.org
Sun Nov 7 16:23:54 UTC 2021

On Sun, 2021-11-07 at 15:52 +0000, Adam Thorn via samba wrote:
> I don't believe the problem is with my smb.conf; I am able to
> reproduce 
> the same problem with a lightly-modified copy of
> https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server#Creating_a_Basic_guest_only_smb.conf_File

Well, yes you may be able to, but that doesn't change the fact that the
smb.conf you posted earlier is borked. For instance, your '*' and 'AD'
backends (which are not supposed to overlap) are identical.
There was a major change (which you seem to be aware of) between your
Samba versions, Samba moved to SMBv2 by default.

There was a problem with dangling symlinks and SMBv2, see:


Could this be your problem ?
The first smb.conf was for a Unix domain member and the second is for a
standalone server, so I presume there is an AD DC somewhere in the mix,
what is it ?

The result of a git bisect (if you can provide one) should be provided
to the samba technical list. Any possible changes would have to be made
to the Samba code and then sent downstream.


More information about the samba mailing list