An "antivir" binary (version 2.1.0-28 or later) and a valid SERVER
license are required.  Please check these requirements by means of
the "antivir --version" command.

No service needs to be started up, the vscan-antivir.so plugin
itself will handle the scanner processes.  Although it's advised
to setup a cronjob which runs regularly scheduled updates for the
AntiVir product.  The samba service does not need to be restarted
nor need the users reconnect to shares after AntiVir updates.

The correct pathname to the "antivir" binary needs to be setup in
the vscan-antivir.conf file.  The binary's name usually is
"/usr/lib/AntiVir/antivir".

Archive related settings can be customized to prevent DoS
situations.  This is why archive support is disabled by default.
When enabled, archives will not be scanned completely when they
exceed one of the specified limits.  A limit of 0 will disable the
appropriate condition (i.e. means "unlimited").

By default only viruses are scanned for.  Detection of other types
of unwanted software can be enabled with the appropriate "detect"
options.  But you should make sure to adjust the notification
message which is sent to the remote users since in this situation
not every alert is an "INFECTION" with a "VIRUS".

The vscan-antivir.so plugin is capable of handling files with non
printable and other special characters (umlauts and such) in their
names.  Unicode support has not been tested.


PATCHING SAMBA-VSCAN

Until AntiVir support is integrated into samba-vscan, it is necessary
to patch the samba-vscan code. Here is the basic procedure for patching
and installing samba-vscan for AntiVir support:

Set up Samba prototypes
  $ tar xzf samba-3.0.2a.tar.gz
  $ cd samba-3.0.2a/source
  $ ./configure
  $ make proto
  $ cd ../..

Set up and patch samba-vscan
  $ tar xjf samba-vscan-0.3.5.tar.bz2
  $ cd samba-vscan-0.3.5
  $ tar xzf .../samba-vscan-0.3.5-antivir.tar.gz
  $ patch --verbose -p0 < patch-sambavscan-hookup.diff

Build and install samba-vscan
  $ ./configure [ --with-samba-source=../samba-*/source ]
  $ make
  # make install
  # cp antivir/vscan-antivir.conf /usr/local/samba/lib

