Samba setup questions

TBSN

Senior member
Nov 12, 2006
925
0
76
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:

postaled

Senior member
Feb 20, 2007
254
0
0
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.
 

TBSN

Senior member
Nov 12, 2006
925
0
76
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?
 

Gooberlx2

Lifer
May 4, 2001
15,381
6
91
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