• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Samba setup questions

TBSN

Senior member
I am setting up a samba share on my little pogoplug server (thanks to the thread here I have it set up with debian!).

I've successfully gotten it to share my user home directory. I want to add a general public share for anyone on the network. I know I could add users for everyone in the house and set the permissions that way, but is it necessary for have everyone who uses the shared folders to have a user and samba-user on the server, or can I make a public shared drive?

EDIT: I successfully set it up so that there is a private user home directory and a public share directory, but I can't find a way so that you can access the public shared directory without entering a username and password in windows 7. If anyone has successfully set up a public shared folder using samba let me know how you did it!
 
Last edited:
Code:
[Storage]
        comment = Storage
        writeable = Yes
        locking = no
        path = /Storage
        guest ok = yes

That works for one I have running on a test server I have.
 
OK thanks. It looks like I have to use security = share to get what I want, but I'm just going to make a guest account and have people log in using that.


By the way, do you know what the "locking = no" parameter does in your setup?
 
OK thanks. It looks like I have to use security = share to get what I want, but I'm just going to make a guest account and have people log in using that.


By the way, do you know what the "locking = no" parameter does in your setup?

I'm pretty sure that forces Samba tell all client write request calls that a file is open/unused. Not a great idea, for example, if you had multiple people accessing and trying to modify the same excel file at the same time.

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/locking.html
 
Back
Top