On Tue, 2004-10-19 at 02:37, Alexander Dalloz wrote: > Am Mo, den 18.10.2004 schrieb Jens Schmidt um 12:02: > > > I am running samba-3.0.7-2.FC2 and clamav-0.80rc4-1. Samba without > > clamav is working perfectly as well as clamscan is working perfectly. > > If I add the following lines to my smb.conf file I cant open any files > > on that samba share. > > vfs object = vscan-clamav > > vscan-clamav: config-file = /etc/samba/vscan-clamav.conf > > If I try to open any file I receive an Access denied error > > You did not post the vscan-clamav.conf. Is it default or did you > customize it, i.e. to reflect the socket file location for clamd which > is set by default to > > clamd socket name = /var/run/clamd > > while the socket may be > > /var/run/clamav/clamd.sock > > Check this kind of things. > > Alexander Hi, sorry i forgot to add the vscan-clamav.conf file. The configuration i use is pretty much default. The directory /var/run/clamav exists. I added the following permission chmod a+rw /var/run/clamav. But there is no /var/run/clamav/clamd.sock file. Could that be the problem? Thanks Jens here is the vscan-clamav.conf file [samba-vscan] max file size = 0 verbose file logging = yes scan on close = yes deny access on error = yes deny access on minor error = yes send warning message = yes infected file action = quarantine quarantine prefix = vir- max lru files entries = 100 lru file entry lifetime = 5 exclude file types = clamd socket name = /var/run/clamav libclamav max files in archive = 1000 libclamav max archived file size = 10 * 1048576 libclamav max recursion level = 5