You are not logged in.
Hi,
Im trying to set up Samba at home for me and my wife.
We would like to have a public location, so we can share and store photos and stuff.
We also would like to have personal shares.
My wife uses Ubuntu 10.04 and I use Arch off course! ![]()
Trying to follow the wiki but im not sure if understand it correct.
I have an Arch server in the basement that I would like to use for this and I have installed Samba and gamin.
Edited the /etc/samba/smb.conf:
[Public Share]
path = /usr/local/share/PublicShare
available = yes
browsable = yes
public = yes
writable = yes
[fredrik]
path = /home/fredrik/
available = yes
browsable = yes
public = no
writable = yes
[angelica]
path = /home/angelica/
available = yes
browsable = yes
public = no
writable = yes
Is this correct? How does companies that use samba do their structure, does everyone have a /home folder and the share is pointed there or do they go for /usr/local/share/Common and also have the users dirs there aswell? /usr/local/share/fredrik and so forth?
Last edited by ftornell (2010-10-07 11:46:47)
[ logicspot.NET | mempad.org ]
Archlinux x64
Offline
Hi,
according to the wiki, one can allow shares to be accessed without user/passwd authentication. As for the "private" shares, you should properly add
Valid users = $DESIRED_USERto explicitly allow that user (of course after having added them with
smbpasswd -aOn my setup I have one shares that is open to everyone on the local network and some user-specific shares which require username and passwd.
Does your configuration work so far?!
Cheers
He who says A doesn't have to say B. He can also recognize that A was false.
Offline
/usr/local is not the right place to host a shared folder.
Make a /home/share or /home/public-folder - even a /share would be acceptable, but not usr/local.
Other stuff is in the wiki.
Last edited by zenlord (2010-10-07 11:42:05)
Offline
thx guys, ill give it a spin when I come home and get back if I have any further questions.
[ logicspot.NET | mempad.org ]
Archlinux x64
Offline