You are here: Foswiki>ATLAS Web>SophosAntivirOnSamba (12 Jul 2007, SergejSchweizer)Edit Attach

Sophos Antivir on Samba

The Goal is to have a fileserver with live virus protection..!!

We need:

Entpacken des Samba Quellcodes

 $ tar -xzvf samba_3.0.14a.orig.tar.gz

Herunterladen des samba-vscan Quellcodes Von den Webseiten des OpenAntiVirus Projektes kann man sich den Quellcode herunterladen. Entpacken des samba-vscan Quellcodes

 $ tar -xjvf samba-vscan-0.3.6b.tar.bz2

Konfigurieren des Samba Quellcodes

 $ cd samba-3.0.22/source/
 $ ./configure
 $ make proto

Kopieren des samba-vscan Quellcodes in das VFS Verzeichnis von Samba

 $ cd ../..
 $ cp -r samba-vscan-0.3.6b samba-3.0.14a/examples/VFS/

Kompillieren des samba-vscan Codes

 $ cd samba-3.0.22/examples/VFS/samba-vscan-0.3.6b/
 $ ./configure
 $ make

Copy vscan-sophos modul (.so) from
 /samba-3.0.22/examples/VFS/samba-vscan-0.3.6b
to
 /usr/lib/samba/vfs

Now install sophie.
 cd /sophie-3.05
 ./configure 
  make

copy the binary sophie into /usr/sbin copy sophie.cfg into /etc/ change user and group to right user and group and the umask for the socket..!!!!

now restart samba, copy some files on the server and study the /var/log/messages
Topic revision: r1 - 12 Jul 2007, SergejSchweizer
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback