Re: samba-vscan with recycle vfs object
Darrick Hartman <[email protected]> Sun, 25 Jul 2004 08:02:40 -0500
| Newsgroups | gmane.comp.security.virus.openantivirus.general |
|---|---|
| Organization | DJH Solutions |
| Message-ID | <[email protected]> |
On Sunday 25 July 2004 04:05, Rainer Link wrote:
> Darrick Hartman wrote:
> > I'm OK with having the smb.conf load recycle first, then load
> > vscan-clamav after that, but perhaps that could/should be clarified
> > somewhere in the documentation. For those of you who are unaware of what
> > the recycle object
>
> Hum, I should have a closer look at this later on. Which samba version
> did you use exactly? If the VFS modules have to be mentioned in reverse
> order (i.e. last one is loaded first), then even the official Samba
> documentation is wrong (see
> http://de.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html)
I'm using Samba 3.0.4, Samba-vscan 0.3.5. Below is the version that works.
To make it not work, move the two lines involving clamav before the recycle
lines. It also does not work if the clamav lines are moved into the global
section. After reading the above link, perhaps there should only be one line
in my config for vfs object (vfs object = vscan-clamav recycle)? That still
won't help if I want to load the vscan-clamav object globally though). If
this is not enough information, I can run the level 10 debug, but I don't
have time to do that right now (I should later tonight).
Thanks,
Darrick
[global]
log file = /var/log/samba.%m
load printers = yes
null passwords = yes
encrypt passwords = yes
passdb backend = tdbsam
printer admin = @pradmin, root
wins support = true
dns proxy = No
domain master = yes
preferred master = yes
local master = yes
netbios name = MYServer
printing = cups
server string = Server
unix password sync = no
workgroup = myworkgroup
os level = 255
max log size = 50
printcap = cups
[public]
path = /opt/public
write list = @users
valid users = @users
create mask = 0775
directory mode = 0775
vfs object = recycle
recycle: keeptree = true
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
>
> Stefan, any comments from your side? :)
>
> cheers, Rainer
--
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com
920.901.3113
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click