Aggiungo smb.conf per maggiori info
Codice:
[global]
workgroup = HOMELAN
netbios name = server-gentoo
server string = Server Gentoo
security = USER
passdb expand explicit = NO
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = YES
hosts allow = 127.0.0.1 192.168.0.0/24
hosts deny = 192.168.0.1
[Repository]
comment = Cartella Repository
path = /home/repository
public = YES
writable = YES
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
[homes]
comment = Cartella Personale
writable = YES
browsable = NO
valid users = %S
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
[cdrom]
comment = Lettore Ottico
browsable = YES
writable = NO
path = /mnt/cdrom
root preexec = mount /dev/cdrom
root postexec = umount /dev/cdrom
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf