[Samba-it] vscan-3.6 problemi con le user home directory

Francesco Defilippo francesco.defilippo at sys-net.it
Thu Jun 16 18:06:02 MDT 2005


ciao, provando a proteggere la share [homes] con l'antivirus
ottengo (copiando l'eicar.com di prova):

Jun 16 17:50:40 localhost smbd_vscan-icap[3153]: INFO: connect to
service cbianchi by user cbianchi
Jun 16 17:50:47 localhost smbd_vscan-icap[3153]: ERROR: could not stat
file 'unix_mode(eicar.com) returning 0644 /eicar.com'
Jun 16 17:50:47 localhost smbd_vscan-icap[3153]: ERROR: can not
communicate to daemon - access to file eicar.com denied

il file eicar.com non ha permessi particolari:

-rw-r--r--  1 cbianchi Domain Users 68 Jun 16 17:37 eicar.com

la cosa strana e` quel /eicar.com come se andasse a
cercarlo nella root.

la share homes e`:

[homes]
        comment = home of %U, %u
        read only = No
        valid users = %U
        create mask = 0644
        directory mask = 0775
        browseable = No

ho nella sezione globals ho:

        vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
        vfs object = vscan-clamav

notare che l'antivirus trova correttamente la signature.

inoltre se creo una sezione vscan ad hoc funziona correttamente.

[vscan]
        comment = virus-protected /tmp directory
        path = /tmp
        writeable = yes
        browseable = yes
        guest ok = yes

idee?

francesco.


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497




More information about the samba-it mailing list