Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Samba question

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
xseven7
Posts: 4
Joined: 2014-08-07 18:52

Samba question

#1 Post by xseven7 »

hello,

Im setting atm samba in my home netzwerk up and I thot i share you my config and you give me some insight:

Code: Select all

[pi]
comment = pi home folder
path = /home/pi
browseable = yes
create mask = 0777
directory mask = 0777
writeable = yes
guest ok = no

[downloads]
comment = downloads
path = /home/filesharer/downloads
valid users = filesharer
create mask = 0777
directory mask = 0777
writeable = yes
guest ok  = no


[homes]
 comment = Home Directories
 browsable = no
 read only = no
 create mode = 077

So now Ive got some questions, what would be the right config that ALL home directorys are shown?

right now it only shows me the home directory of the user "filesharer" so i had to add

Code: Select all

[pi]
comment = pi home folder
path = /home/pi
browseable = yes
create mask = 0777
directory mask = 0777
writeable = yes
guest ok = no
to show also the pi home folder. I need all rights also in those folders so ive set " create mode = 077"

Also whats the difference between public and browseable? i couldn't really find it, either way if i have public / browseable set yes it shows those folders under networks.

Also

Code: Select all

valid users = filesharer
lets me decide who can browse and stuff, sorta in sshd config? rest gets blocked?


Any tips, improvement?

User avatar
mardybear
Posts: 994
Joined: 2014-01-19 03:30

Re: Samba question

#2 Post by mardybear »

Also whats the difference between public and browseable? i couldn't really find it
public

This parameter is a synonym for guest ok.

guest ok (S)

If this parameter is yes for a service, then no password is required to connect to the service. Privileges will be those of the guest account.

This parameter nullifies the benefits of setting restrict anonymous = 2

See the section below on security for more information about this option.

Default: guest ok = no
This controls whether this share is seen in the list of available shares in a net view and in the browse list.

Default: browseable = yes
The information is freely available but the google search time will cost ya 5 bucks per query.

Source: http://www.samba.org/samba/docs/man/man ... onf.5.html
800mhz, 512mb ram, dCore-jessie (Tiny Core with Debian Jessie packages) with BusyBox and Fluxbox.
Most don't have computer access, reuse or pay forward an old computer.

xseven7
Posts: 4
Joined: 2014-08-07 18:52

Re: Samba question

#3 Post by xseven7 »

Thanks-

Let's say I add this to my config;
valid users = @users
The group "users" must exist on my system or is a samba group itself?

Post Reply