Hi, While testing Static and Dynamic shares, we observed that any modification to an existing share, for eg changing share permission from RO to RW, does not get reflected immediately on the existing SMB Windows clients. We had to disconnect and connect the network drive corresponding to Samba share for the change in permission to get reflected. We also tried ?smbcontrol all reload-config? on the Samba server (linux) but that also did not help. Could you please let us know if this is an expected behavior? Or do we have to make any configuration changes to reflect the changes to share permissions immediately on the SMB clients. Thanks & Regards, Srikanth NS
Hi Srikanth, On 1/22/25 11:52 AM, ., Srikanth N S via samba wrote:> Could you please let us know if this is an expected behavior? Or do > we have to make any configuration changes to reflect the changes to > share permissions immediately on the SMB clients.iirc that is just current behaviour. We call check_user_share_access() only from make_connection_snum() and never update it later. Changing this requires some changes to our reload-config handlers. -slow -- SerNet Samba Team Lead https://sernet.de/ Samba Team Member https://samba.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20250122/1bb720ac/OpenPGP_signature.sig>