[FUG-BR] Samba 34 + clamav + vscan
Alvaro Resurreição
alvaro em bsd.com.br
Quinta Setembro 23 13:29:04 BRT 2010
Boa tarde
O Vscan ainda funciona apenas nas versões 3.0.xx do Samba.
O smb.conf fica dessa forma:
# ee /usr/local/etc/smb.conf
[global]
vfs object = vscan-clamav
vscan-clamav: config-file = /usr/local/etc/samba-vscan/vscan-clamav.conf
Segue um howto completo sobre esse ambiente:
http://howtobsd.blogspot.com/2010/08/freebsd-samba-clamav-vscan.html
Att
Em 23 de setembro de 2010 13:21, Jorge Petry <jorge em bsd.com.br> escreveu:
> Cara, eu acho que o samba-vscan não suporta esta versao de samba.
> Acho que só ate a versão 3.0.37.
>
> Confere ai.
>
> Abraço.
>
> Jorge Petry.
>
> Em 23/09/2010 11:37, Robison Geraldi Garcia escreveu:
> >
> >
> > Bom dia;
> >
> > Olá amigos td bem?
> >
> >
> >
> > Estou com uma zica aqui.
> >
> > Estou rodando Freebsd 8.1 – AMD64
> >
> > Instalei o samba34 via ports (samba34-3.4.8_1 A free SMB and CIFS
> client
> > and server for UNIX)
> >
> > Instalei o samba-vscan via ports (samba-vscan-0.3.6c_3 On-access virus
> > scanning with Samba)
> >
> > Instalei o clamav via ports (clamav-0.96.3 Command line virus
> scanner
> > written entirely in C)
> >
> >
> >
> > Criei um compartilhamento aqui exemplo de teste
> >
> > [vscan]
> >
> > comment = virus-protected /tmp directory
> >
> > path = /tmp
> >
> > writeable = yes
> >
> > browseable = yes
> >
> > guest ok = yes
> >
> > vfs objects = vscan-clamav
> >
> > vscan-oav: config-file =
> > /usr/local/etc/samba-vscan/vscan-clamav.conf
> >
> > “Tambem tentei vscan-conf: config-file =
> > /usr/local/etc/samba-vscan/vscan-clamav.conf”
> >
> >
> >
> > Ele aparece o compartilhamento, mais quando tento entrar nele da a
> seguinte
> > mensage de erro:
> >
> > [2010/09/23 11:34:35, 0] lib/module.c:59(do_smb_load_module)
> >
> > Error trying to resolve symbol 'init_samba_module' in
> > /usr/local/lib/samba34/vfs/vscan-clamav.so: Undefined symbol
> > "init_samba_module"
> >
> > [2010/09/23 11:34:35, 0] smbd/vfs.c:175(vfs_init_custom)
> >
> > Can't find a vfs module [vscan-clamav]
> >
> > [2010/09/23 11:34:35, 0] smbd/vfs.c:322(smbd_vfs_init)
> >
> > smbd_vfs_init: vfs_init_custom failed for vscan-clamav
> >
> > [2010/09/23 11:34:35, 0] smbd/service.c:846(make_connection_snum)
> >
> > vfs_init failed for service vscan
> >
> > [2010/09/23 11:34:35, 0] lib/module.c:59(do_smb_load_module)
> >
> > Error trying to resolve symbol 'init_samba_module' in
> > /usr/local/lib/samba34/vfs/vscan-clamav.so: Undefined symbol
> > "init_samba_module"
> >
> > [2010/09/23 11:34:35, 0] smbd/vfs.c:175(vfs_init_custom)
> >
> > Can't find a vfs module [vscan-clamav]
> >
> > [2010/09/23 11:34:35, 0] smbd/vfs.c:322(smbd_vfs_init)
> >
> > smbd_vfs_init: vfs_init_custom failed for vscan-clamav
> >
> > [2010/09/23 11:34:35, 0] smbd/service.c:846(make_connection_snum)
> >
> > vfs_init failed for service vscan
> >
> > [2010/09/23 11:34:47, 0] lib/module.c:59(do_smb_load_module)
> >
> > Error trying to resolve symbol 'init_samba_module' in
> > /usr/local/lib/samba34/vfs/vscan-clamav.so: Undefined symbol
> > "init_samba_module"
> >
> > [2010/09/23 11:34:47, 0] smbd/vfs.c:175(vfs_init_custom)
> >
> > Can't find a vfs module [vscan-clamav]
> >
> > [2010/09/23 11:34:47, 0] smbd/vfs.c:322(smbd_vfs_init)
> >
> > smbd_vfs_init: vfs_init_custom failed for vscan-clamav
> >
> > [2010/09/23 11:34:47, 0] smbd/service.c:846(make_connection_snum)
> >
> > vfs_init failed for service vscan
> >
> > [2010/09/23 11:34:47, 0] lib/module.c:59(do_smb_load_module)
> >
> > Error trying to resolve symbol 'init_samba_module' in
> > /usr/local/lib/samba34/vfs/vscan-clamav.so: Undefined symbol
> > "init_samba_module"
> >
> > [2010/09/23 11:34:47, 0] smbd/vfs.c:175(vfs_init_custom)
> >
> > Can't find a vfs module [vscan-clamav]
> >
> > [2010/09/23 11:34:47, 0] smbd/vfs.c:322(smbd_vfs_init)
> >
> > smbd_vfs_init: vfs_init_custom failed for vscan-clamav
> >
> > [2010/09/23 11:34:47, 0] smbd/service.c:846(make_connection_snum)
> >
> > vfs_init failed for service vscan
> >
> > [2010/09/23 11:34:47, 0] lib/module.c:59(do_smb_load_module)
> >
> > Error trying to resolve symbol 'init_samba_module' in
> > /usr/local/lib/samba34/vfs/vscan-clamav.so: Undefined symbol
> > "init_samba_module"
> >
> > [2010/09/23 11:34:47, 0] smbd/vfs.c:175(vfs_init_custom)
> >
> > Can't find a vfs module [vscan-clamav]
> >
> > [2010/09/23 11:34:47, 0] smbd/vfs.c:322(smbd_vfs_init)
> >
> > smbd_vfs_init: vfs_init_custom failed for vscan-clamav
> >
> > [2010/09/23 11:34:47, 0] smbd/service.c:846(make_connection_snum)
> >
> > vfs_init failed for service vscan
> >
> >
> >
> >
> >
> > Alguém já passou por isso?
> >
> > Qual foi a solução? Existe um patch mágico, ou tiveram que fazer
> downgrade
> > do samba ??
> >
> >
> >
> > Vlw Aguardo comentários...
> >
> >
> >
> > Att.
> >
> > Binho.
> >
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
Mais detalhes sobre a lista de discussão freebsd