-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue] SMB Sharing needs to support/enforce authentication #1113
Comments
Got it |
Just picked up a Zimaboard and started running Casaos for the first time - and was pretty surprised to find that the only way I could connect to my shared folder from my Mac was through a un-authed Guest connection. |
A "SMB users and permissions" panel in CasaOS would be ideal, but in the meantime, I think the default should be to at least let the user authenticate with the same credentials as the web UI, that's a pretty reasonable and straight forward default config to implement. |
Any updates on the topic? |
+1 for a update on this issue |
I was surprised as well that the samba is not yet authenticated, so +1 for update on this issue |
+1 for update on this issue |
Seems like a pretty straightforward implementation https://ubuntu.com/server/docs/samba-share-access-control |
This is highly needed. |
Highly needed indeed. |
In the release note of 0.4.7, it mentioned enforce authentication is avaible. How to config it? |
Any update on this? Highly recommended! |
any update on this? |
What a letdown, everything is wide open for everyone, from any device connected to the same network. |
I installed Samba and set it up with the correct amount of users and then I deleted the Samba config file that Cassa OS installed. That did the trick. |
Can you link a step by step solution please? |
I am by no means a SAMBA expert so I really don't have step by step instructions. But it was something like this... |
But wouldn't CasaOS overwrite your changes? You might need to lock the file to get consistent functionality |
changing the /etc/samba/smb.casa.conf did the trick for me. |
Hi tuvietnam!
Any idea? |
The exact same thing happened to me too. |
+1, just wait update .. |
Here is just post the way to And add user to SMBdb to authenticate Share location |
We need this |
Is there any update on this? This is a minimum level feature in my opinion, it would be great to get it added in an update :) |
Here's what worked for me, I deleted everything inside /etc/samba/smb.conf (copied somewhere else for backup) example: [Media] [SSD] then restart services using: when using sudo smbpasswd -a username, the username should be existing in the system by default this is casaos |
I dont like to tinker a nice and compact home OS as casaos is. I would like to see this basic and mantatory feature in casaos interface in the next update! |
is there read only access? without letting a guest delete/edit files? |
I really hope samba can set account passwords and access. |
I made a pull request allowing for smb authentication when making a share. |
@strassenberg Make sure the user exists already. In your case, do you have a user "ray" on that system? |
Any update on this? |
Description
Presently any created shares are public. I accept that CasaOS is designed to be a personal home cloud however share security should require the credentials used for the Admin GUI.
Presently a typical share is configured ...
[Documents]
comment = CasaOS share Documents
public = Yes
path = /DATA/Documents
browseable = Yes
read only = No
guest ok = Yes
create mask = 0777
directory mask = 0777
force user = root
It should not include public or guest, instead it should include ...
valid users = username
where username is the Admin GUI user. Perhaps the "Share Folder" dialog could have the option to allow public/guest access else it includes force user by default.
In the meantime ... where is the smb.conf template stored such that I could change it before creating shares?
Additional Information
The text was updated successfully, but these errors were encountered: