[Samba] Re: Samba vscan VFS Module

Adam Tauno Williams adamtaunowilliams at gmail.com
Mon Jun 18 01:25:17 GMT 2007


On Sat, 2007-06-16 at 23:35 -0400, Adam Tauno Williams wrote:
> I'm trying to configure Samba's vscan on-access VFS module on a box with
> a working CLAM installation.  [CLAM is merrily scanning mail on this box
> via clamav-milter].
> I've set this up before, but this time it seems to be giving me grief.  
> If I remove the vscan-clamav module then everything works, and I can
> open files.
> The seeming "file not found" problem seems baffling to me - THE FILE
> EXISTS!  I see it in Explorer, and I see it with ls.  If I remove the
> vscan-clamav module then everything works, and I can open files.
> Is the clamd daemon itself attempting to open the file, as the user
> "vscan", rather then opening the file in the Samba process and just
> using the daemon?

It works if clamd runs as root,  not if clamd drops privileges.
-- 
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org



More information about the samba mailing list