codice:
[global]
allow hosts = 192.168.1.2 192.168.1.16
workgroup = STUDIO
server string = Ubuntu
netbios = Ubuntu
security = user
encrypt passwords = true
#usa un log per utente
log file = /var/log/samba/log.%m
# Cap the size of the individual log files (in KiB).
max log size = 1000
We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0
[shared]
comment = Condivisa_Windows
path = /home//..
browseable = yes
valid users = vami
create mask = 0777
directory mask = 0777
[shared_altro]
comment = Condivisa_Windows
path = /home/altro/
browseable = yes
valid users = altro
create mask = 0777
directory mask = 0777
Il resto l'ho cancellato (commentato) non mi serve
Chiedo inoltre una guida al livello dei log (0, 1 ecc)
In pratica l'utente VaMi accede da win7 ma può farlo una sola volta dopodiché dà errore!!!
L'accesso a altro continua a funzionare...senza chiedere di nuovo la pass