Mailinglist Archive: opensuse (1480 mails)

< Previous Next >
Re: [opensuse] Samba allow guest access
  • From: Steven Hess <flamebait@xxxxxxxxx>
  • Date: Thu, 15 Mar 2012 14:03:22 -0700
  • Message-id: <CAF=LnE7msVek=BQVK-9atBrfVKUx0jOL1vnNPVOhhKmF0cCKUQ@mail.gmail.com>
This is my smb.conf it's not pretty and Adam and Lars have pretty much
covered it
I left the printer stuff in as I may have a need to enable it some
day. I didn't not touch the preamble stuff other than "security =
share"

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2012-02-16
[global]
workgroup = kitfox
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody
-s /bin/false %m$
domain logons = Yes
domain master = Yes
local master = Yes
os level = 65
preferred master = Yes
security = share
wins support = No
usershare max shares = 100

## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700

## Share disabled by me
[users#]
# comment = All users
# path = /home
# read only = Yes
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/

## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [printers]
# comment = All Printers
# path = /var/tmp
# printable = Yes
# create mask = 0600
# browseable = No

## Share disabled by YaST
# [print$]
# comment = Printer Drivers
# path = /var/lib/samba/drivers
# write list = @ntadmin root
# force group = ntadmin
# create mask = 0664
# directory mask = 0775

## Share disabled by YaST
# [netlogon]
# comment = Network Logon Service
# path = /var/lib/samba/netlogon
# write list = root

[Music]
comment = Music
inherit acls = Yes
path = /home/flamebait/Music
guest ok = Yes
read only = Yes

[NewPlace]
comment = NewPlace
inherit acls = Yes
path = /Four/NewPlace
guest ok = Yes
read only = Yes

[ReallyBigPlace]
comment = reallybigplace
inherit acls = Yes
path = /moreAnime/reallybigplace
guest ok =Yes
read only = Yes

[adata]
comment = adata
inherit acls = Yes
path = /data/adata
guest ok = Yes
read only = Yes

[asusAnime]
comment = asusAnime
inherit acls = Yes
path = /home/flamebait/asusAnime
guest ok = Yes
read only = Yes

[mmshare]
comment = mmshare
inherit acls = Yes
path = /mmshare/mmshare
guest ok = Yes
read only = Yes


Steven

--
____________
Steven L Hess ARS KC6KGE DM05gd22
Skype user flamebait Cell 661 487 0357 (Facetime)
Google Voice 661 769 6201
openSUSE Linux 12.1
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups