Re: samba
On Sat, 25 Sep 2004, K18 wrote:
> > E' possibile e se si come, avere un area ad accesso pubblico (nessuna
> > richiesta di autorizzazione), su server samba (3.0.x) configurato come
> > PDC?
> >
> > Io ho creato una normale area pubblica, ma da win* mi richiede sempre
> > autorizzazione (vorrei accedessero tutti PC/Mac/... senza problemi
> > indipendentemente da che si siano o meno autenticati):
> >
> > [shared]
> > comment = Shared Folder
> > path = /home/Public
> > writable = yes
> > public = yes
> > printable = no
>
> Beh si, io lo faccio!!!
> Questo è un frammento di smb.conf inerente alla dir che esporto.
>
> [Documenti]
> available = yes
> browseable = yes
> path = /Documenti/
> public = yes
> writeable = yes
> force user = k18
> force group = k18
> create mask = 777
> directory mask = 777
>
>
> però io ho impostato samba a un livello di protezione basso:
> cmq ti pasto anche un altro pezzo del mio smb.conf magari ti può servire...
Anche a me funziona tranquillamente se imposto una configurazione base con
security = share
Se passo a cercare di creare un PDC o di gestire gli utenti, non mi
funziona piu' ... :-(((
Allego esempio di conf in cui funziona appunto tutto quel che mi serve
tranne l'area "pubblica".
Ciao, B.
----------------- 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
Reply to: