[Samba] Samba3+samba-vscan+clamav = A big headache.

daves-jr at cecom.ufmg.br daves-jr at cecom.ufmg.br
Mon Jul 26 13:40:21 GMT 2004






Just use:
      vfs object = vscan-clamav

Dont use = dot+so
---------------------------------------------------
Emerson Henrique Kfuri Pereira

Divisão de Atendimento e Consultoria
CECOM - Reitoria - UFMG
Telefone: 34994009
---------------------------------------------------

samba-bounces+daves-jr=ufmg.br at lists.samba.org wrote on 25/07/2004
16:03:44:

> I just installed samba3+samba-vscan via ports on a FreeBSD 4.x system.
> Samba is running just fine and thanks to the help of webmin it was
> easily configured. Today I finally was able to get windows shares to be
> mounted on my FreeBSD server. So naturally I want to run av scans on it.
> I set it up to mount the entire C drive and to scan it using clamav
> which is also installed from ports. I recompiled Samba3 with support for
> VFS using the arguement
>
> make WITH_VFS=yes install clean
>
> which I'm not sure if worked or not but seems to have not errored and
> comipiled fine. Then I setup my smb.conf with the following
>
> [global]
>         vfs object = /usr/local/lib/samba/vscan-clamav.so
>         vfs options = config-file =
> /usr/local/etc/samba-vscan/vscan-clamav.conf
>
> Then I restarted Samba and obtained the following errors in my messages
> console...
>
>
> Jul 25 17:57:42 localhost smbd[50481]: [2004/07/25 17:57:42, 0]
> smbd/vfs.c:vfs_init_custom(256)
> Jul 25 17:57:42 localhost smbd[50481]:   Can't find a vfs module
> [/usr/local/lib/samba/vscan-clamav.so]
> Jul 25 17:57:42 localhost smbd[50481]: [2004/07/25 17:57:42, 0]
> smbd/vfs.c:smbd_vfs_init(319)
> Jul 25 17:57:42 localhost smbd[50481]:   smbd_vfs_init: vfs_init_custom
> failed for /usr/local/lib/samba/vscan-clamav.so
> Jul 25 17:57:42 localhost smbd[50481]: [2004/07/25 17:57:42, 0]
> smbd/service.c:make_connection_snum(502)
> Jul 25 17:57:42 localhost smbd[50481]:   vfs_init failed for service
> IPC$
> Jul 25 18:20:57 localhost nmbd[41294]: [2004/07/25 18:20:57, 0]
> nmbd/nmbd.c:terminate(54)
> Jul 25 18:20:57 localhost nmbd[41294]:   Got SIGTERM: going down...
> Jul 25 18:20:57 localhost smbd[52106]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:map_parameter(2420)
> Jul 25 18:20:57 localhost smbd[52106]:   Unknown parameter encountered:
> "vfs options"
> Jul 25 18:20:57 localhost smbd[52106]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:lp_do_parameter(3110)
> Jul 25 18:20:57 localhost smbd[52106]:   Ignoring unknown parameter "vfs
> options"
> Jul 25 18:20:57 localhost smbd[52106]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:map_parameter(2420)
> Jul 25 18:20:57 localhost smbd[52106]:   Unknown parameter encountered:
> "revalidate"
> Jul 25 18:20:57 localhost smbd[52106]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:lp_do_parameter(3110)
> Jul 25 18:20:57 localhost smbd[52106]:   Ignoring unknown parameter
> "revalidate"
> Jul 25 18:20:57 localhost smbd[52106]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:map_parameter(2420)
> Jul 25 18:20:57 localhost smbd[52106]:   Unknown parameter encountered:
> "revalidate"
> Jul 25 18:20:57 localhost smbd[52106]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:lp_do_parameter(3110)
> Jul 25 18:20:57 localhost smbd[52106]:   Ignoring unknown parameter
> "revalidate"
> Jul 25 18:20:57 localhost smbd[52106]: [2004/07/25 18:20:57, 0]
> printing/print_cups.c:cups_printer_fn(108)
> Jul 25 18:20:57 localhost smbd[52106]:   Unable to connect to CUPS
> server localhost - Connection refused
> Jul 25 18:20:57 localhost nmbd[52109]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:map_parameter(2420)
> Jul 25 18:20:57 localhost nmbd[52109]:   Unknown parameter encountered:
> "vfs options"
> Jul 25 18:20:57 localhost nmbd[52109]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:lp_do_parameter(3110)
> Jul 25 18:20:57 localhost nmbd[52109]:   Ignoring unknown parameter "vfs
> options"
> Jul 25 18:20:57 localhost nmbd[52109]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:map_parameter(2420)
> Jul 25 18:20:57 localhost nmbd[52109]:   Unknown parameter encountered:
> "revalidate"
> Jul 25 18:20:57 localhost nmbd[52109]: [2004/07/25 18:20:57, 0]
> param/loadparm.c:lp_do_parameter(3110)
> Jul 25 18:20:57 localhost nmbd[52109]:   Ignoring unknown parameter
> "revalidate"
> Jul 25 18:29:42 localhost smbd[52718]: [2004/07/25 18:29:42, 0]
> smbd/vfs.c:vfs_init_custom(256)
> Jul 25 18:29:42 localhost smbd[52718]:   Can't find a vfs module
> [/usr/local/lib/samba/vscan-clamav.so]
> Jul 25 18:29:42 localhost smbd[52718]: [2004/07/25 18:29:42, 0]
> smbd/vfs.c:smbd_vfs_init(319)
> Jul 25 18:29:42 localhost smbd[52718]:   smbd_vfs_init: vfs_init_custom
> failed for /usr/local/lib/samba/vscan-clamav.so
> Jul 25 18:29:42 localhost smbd[52718]: [2004/07/25 18:29:42, 0]
> smbd/service.c:make_connection_snum(502)
> Jul 25 18:29:42 localhost smbd[52718]:   vfs_init failed for service
> IPC$
>
>
> All the path's within the log are correct yet it seems it can't find
> them still or says they are not valid. I'm not sure what might have gone
> wrong for everything else works as it should. Please advise. Thanks in
> advance.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list