[Samba] Public share
Barbara M.
barbara at rfx.it
Mon Sep 27 17:48:51 GMT 2004
How can I have a public area with no user/pass access on a smb server that
do NOT use security = share?
I have tried without success.
N.b.: I need win* user and Mac user can access this public share.
TIA, B.
attached my smb.conf.
----------------- smb.conf ----------------
[global]
workgroup = SAMBA
netbios name = smbsvr
server string = Samba PDC - Versione %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
os level = 64
preferred master = yes
local master = yes
domain master = yes
security = user
encrypt passwords = yes
domain logons = yes
add machine script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password*
%n\n
*Enter* new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd:
*all*
authentication*tokens*updated*successfully*
logon home = \\%L\%U\.profile
logon path = \\%L\profiles\%U
logon drive = H:
logon script = netlogon.bat
[homes]
comment = Home Directory
browseable = no
writeable = yes
[profiles]
path = /home/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
[netlogon]
path = /home/netlogon
read only = yes
write list = @admin
browseable = no
[shared]
comment = Shared Folder
path = /home/Public
writable = yes
public = yes
printable = no
[pubblica]
comment = Public Shared Folder
available = yes
browseable = yes
path = /home/Public
public = yes
writable = yes
force user = nobody
force group = nobody
create mask = 777
directory mask = 777
More information about the samba
mailing list