codice:
#GLOBAL PARAMETERS
[global]
workgroup = NOME
realm = NOME.LOCAL
preferred master = no
server string =
security = ADS
encrypt passwords = yes
log level = 3
log file = /var/log/samba/%m
max log size = 50
printcap name = cups
printing = cups
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
winbind nested groups = Yes
winbind separator = +
idmap uid = 600-20000
idmap gid = 600-20000
;template primary group = "Domain Users"
template shell = /bin/bash
[Condivisa]
comment = Condivisa
path = /home/condivisa
read only = no
browseable = yes
create mask = 0775
directory mask = 0775
In questo modo tutti gli utenti leggono e scrivono.
Invece io volevo dare autorizzazioni singole:
codice:
[Condivisa]
comment = Condivisa
path = /home/condivisa
write list = NOME.LOCAL/nomeutente
read list = (QUI NON HO CAPITO COSA DEVO SCRIVERE)
read only = yes
browseable = yes
create mask = 0775
directory mask = 0775
Omettendo la parte "read list" vedo comunque la risorsa ma non posso scrivere. Nemmeno con l'utente specificato in write list.