SMB Security Settings, Private allow all users access if all set to No Access


nars

Recommended Posts

This seems a very basic thing... not sure if this is already a known issue, but I did tried to search on the forum and couldn't really find a similar report...

 

Using 5.0-rc8a, on "SMB Security Settings" for an user share, if we set "Security" as "Private" and leave all users as "No Access" then all users (existing on the unraid server... not guests...) can access that share as read-only.

 

Looking at smb-shares.conf it gets set like this:

[nars]
path = /mnt/user/nars
comment = 
browseable = no
# Private
writeable = no
read list = 
write list = 
valid users =  

 

I guess because "valid users" is empty then it's like it is not there at all? and then it isn't in fact like "private"... think this may be misleading for anyone that for eg. had a share set as private and then temporarily wants to refuse all access to a share and sets all users as "No Access" instead of just disabling the export... then it will have just the opposite effect and all users will be able to access it in fact... maybe better not export the share at all if user doesn't set at least one user to access the share, when in private mode, if no better option?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.