Jeremy Davis's picture

I don't use Webmin much. When I first started with TKL I used Webmin a bit and there are still a few things I use it for (Samba being one of them) but TBH I find for most stuff commandline is more straightforward, quicker and easier.

When you think of the permissions, if you forget about the fact that Samba users and Linux users are different (because when the 2 user databases are synced the difference is irrelevant) then it's just like in Windows. Windows have share level permissions (which equate to Samba permissions) and user file permissions (which equate to Linux user file permissions). Personally I set up Samba shares the same as I do with Windows. Use the share level permissions to control read access, and the file permissions to control wire access.

I'm not sure thats the best way, but many years ago that's how I was taught to do it with a 2k3 server domain and I've just stuck with it.

As I said above I use Webmin to set up Samba permissions (full permissions to anyone who I'm happy to have any access at all). nd adjust read/write access as required using Linux users and groups (just like I would in Windows). Only difference is, rather than mucking around in a GUI, I can do it quick and easy at the commandline.

If you want me to try and explain how I'd do it a but better, try detailing your desired usage scenario and I'll tell you what I'd do.