Put more basically:
When I add a user, or change a user password/group/level on Linux Mint, I would like Samba to match that.
Similarly, if I change the permissions to a folder in Linux Mint, I'd like the bare minimum sharing level to be at that of the persmissions involved. Obviously I'd not want that to overwrite existing samba share details, but you get the picture.
I will be researching this, but if there's a simple way to do this, it'd be cool to know.
It's not essential for this to happen in Caja-Share itself (I'm not asking for a feature addition there) just saying that if there's ways of configuring that which I don't know, that would be preferrable. If there's a one-time command that I can enter in the command line, that's just ask cool.
All that said, these are features I'd like to see in Caja-Share, to make it even more usable for the layman. (I am *so* lay)
---
Apologies for the long title, it's for search purposes.
---
EDIT:
This answer on stack appears to be a starting point, but it's not totally clear if the users are already made on Samba by default. Like, when I installed Samba, did it create a user the same as my main Linux Mint user?
That was the first answer in my startpage search , however, in checking those settings, my config file has that automatically set to 'yes' (see the edited contents below). So theoretically if I try to connect to that folder, as the linux/samba user, it should work. However it doesn't, which says to me more things need to happen.UncleCarl wrote:man smb.confCode: Select all
unix password sync (G) This boolean parameter controls whether Samba attempts to synchronize the UNIX password with the SMB password when the encrypted SMB password in the smbpasswd file is changed. If this is set to yes the program specified in the passwd program parameter is called AS ROOT - to allow the new UNIX password to be set without access to the old UNIX password (as the SMB password change code has no access to the old password cleartext, only the new). This option has no effect if samba is running as an active directory domain controller, in that case have a look at the password hash gpg key ids option and the samba-tool user syncpasswords command. Default: unix password sync = no
Code: Select all
unix password sync = yes
# ... the following parameters must be set ... BLAH
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .