Open iAlchemy opened 1 year ago
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. This leaves me no choice but to go find another alternative and stop using CasaOS altogether. What a shame... Please fix this!
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.
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... find the SAMBA conf file that CASA OS created it should be in /etc/samba/smb.conf. rename it or delete it. Then I followed these instructions ...https://ubuntu.com/tutorials/install-and-configure-samba#1-overview
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.
guest ok = no
then sudo smbpasswd -a username
to set a password for username (same as casaos)
then
sudo smbpasswd -a username
to set a password for username (same as casaos)
Hi tuvietnam! Propably did something stupid, but when I try to add users, got errors:
root@casaos:~# sudo smbpasswd -a ray
New SMB password:
Retype new SMB password:
Failed to add entry for user ray.
Any idea?
The exact same thing happened to me too.
+1, just wait update ..
Here is just post the way to Edit samba.casa.conf file
And add user to SMBdb to authenticate Share location
https://github.com/IceWhaleTech/CasaOS/discussions/1403#discussioncomment-9283285
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 :)
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