Hi @asavinok ,
Lets have a try:
First of all create shared folder than:
cp vscan-clamav.so /usr/lib64/samba/vfs/
cp vscan-clamav.conf /etc/samba/
-
Change dir to /etc/samba
cd /etc/samba/
Edit smb.conf file to add two lines under global section
vi smb.conf
Now copy below two lines to the file
vfs objects = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
service clamd restart
service smb restart
- Try to copy infected file to shared folder