[FUG-BR] RES: Samba 34 + clamav + vscan

Robison Geraldi Garcia freebsd.br em terra.com.br
Quinta Setembro 23 13:48:59 BRT 2010


Puxa na versão antiga do samba eu sei com funciona.
Mais vai que alguém já resolveu isso neh...
Bom vou fazer um downgrade então valeu galera...

-----Mensagem original-----
De: freebsd-bounces em fug.com.br [mailto:freebsd-bounces em fug.com.br] Em nome
de Jorge Petry
Enviada em: quinta-feira, 23 de setembro de 2010 13:21
Para: "Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)"
Assunto: Re: [FUG-BR] Samba 34 + clamav + vscan

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