Forum archive
Turnkey Linux File Server General Use Share
I'm experimenting with the File Server. I can successfully create shares for users that require a username and password. But in my environment, I need to have a folder available for generic, public use for any system attached to my LAN. It seems that even when I tell a share to not require a password, whenever a machine attemps to access that folder, it asks for username/password authentication.
What am I missing? BTW... I would like to be able to do this using the available GUI's as opposed to having to resort to the CLI. I need to have those unfamiliar with the CLI to be able to administer this.
Thanks... Cody
Something to note, that just like in Windows, there are 2 levels to Samba shares permissions. One at the share level, the other at the file permission level. Often these 2 levels get forgotten as often in Windows directories are either shared or not and access is done via file permissions.
Personally in my use of Windows filesharing (using Samba) I do the same sort of thing. I grant users read access (or not) via Samba, then allow write access via file permissions.
TBH I'm not sure if any of that relates to your issue, but thought it worth sharing anyway...
TBH I'm not sure if Samba supports access without any credentials at all. AFAIK it does support guest access and also blank passwords, but you'd still need to log in with the guest account (i.e. username "guest" with no password).
Another thing to keep in mind is that in the Fileserver appliance, even though it includes Samba4, it uses the Samba3 style configuration. And that means that Samba users and Windows users are separate users which need to be synchronised. Samba4 uses a totally different method (which I haven't deeply investigated and can't tell you much about).
So what I suggest is that you create a share which is read/write to all and then set the file permissions on the corresponding directory to 777 and see how you go. You should be able ot connect with that no problem. Then tighten down the screws so it is as secure as you need.