You are not logged in.

#1 2010-10-07 11:14:17

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

[Solved] - Sharing with Samba

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! smile

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

#2 2010-10-07 11:30:35

kowalski
Member
Registered: 2009-05-07
Posts: 82

Re: [Solved] - Sharing with Samba

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_USER

to explicitly allow that user (of course after having added them with

smbpasswd -a

On 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

#3 2010-10-07 11:41:42

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Re: [Solved] - Sharing with Samba

/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

#4 2010-10-07 11:46:35

ftornell
Member
Registered: 2008-08-18
Posts: 277
Website

Re: [Solved] - Sharing with Samba

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

Board footer

Powered by FluxBB