Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50639 Details for
Bug 79115
Gentoo Samba3/CUPS/Clam AV HOWTO: not successfull
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
New patch for quick-samba-howto.xml
TEMPFILE (text/plain), 4.85 KB, created by
Sven Vermeulen (RETIRED)
on 2005-02-07 10:59:53 UTC
(
hide
)
Description:
New patch for quick-samba-howto.xml
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2005-02-07 10:59:53 UTC
Size:
4.85 KB
patch
obsolete
>Index: quick-samba-howto.xml >=================================================================== >RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v >retrieving revision 1.15 >diff -u -t -r1.15 quick-samba-howto.xml >--- quick-samba-howto.xml 21 Dec 2004 18:12:19 -0000 1.15 >+++ quick-samba-howto.xml 7 Feb 2005 18:59:30 -0000 >@@ -2,7 +2,7 @@ > <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.15 2004/12/21 18:12:19 neysx Exp $ --> > <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> > <guide link="quick-samba-howto.xml"> >-<title>Gentoo Samba3/CUPS/Clam AV HOWTO</title> >+<title>Gentoo Samba3/CUPS/ClamAV HOWTO</title> > <author title="Author"> > <mail link="daff at dword dot org">Andreas "daff" Ntaflos</mail> > </author> >@@ -20,8 +20,8 @@ > <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> > <license/> > >-<version>1.10</version> >-<date>2004-12-21</date> >+<version>1.11</version> >+<date>2005-02-07</date> > > <chapter> > <title>Introduction to this HOWTO</title> >@@ -109,7 +109,7 @@ > <ul> > <li>On the Samba server: > <ul> >- <li>Install and configure CLAM-AV</li> >+ <li>Install and configure ClamAV</li> > <li>Install and configure Samba</li> > <li>Install and configure CUPS</li> > <li>Adding the printer to CUPS</li> >@@ -178,7 +178,7 @@ > </p> > > <pre caption="Samba uses the following USE Variables:"> >-kerberos mysql xml acl cups ldap pam readline python oav >+kerberos mysql xml acl cups ldap pam readline python oav libclamav > </pre> > > <p> >@@ -276,6 +276,12 @@ > (SAVI), Symantec CarrierScan, and Trend Micro (VSAPI). > </ti> > </tr> >+<tr> >+ <th><b>libclamav</b></th> >+ <ti> >+ Enable ClamAV as virus scanner. >+ </ti> >+</tr> > </table> > > <p> >@@ -329,6 +335,7 @@ > <li>cups</li> > <li>readline</li> > <li>pam</li> >+ <li>libclamav</li> > </ul> > > <p> >@@ -338,7 +345,7 @@ > > <pre caption="Emerge Samba"> > <comment>(Note the USE flags!)</comment> >-# <i>USE="oav readline cups pam -python -ldap -kerberos -xml -acl -mysql" emerge net-fs/samba</i> >+# <i>USE="oav readline cups pam -python -ldap -kerberos -xml -acl -mysql libclamav" emerge net-fs/samba</i> > </pre> > > <note> >@@ -353,16 +360,16 @@ > </body> > </section> > <section> >-<title>Emerging Clam AV</title> >+<title>Emerging ClamAV</title> > <body> > > <p> > Because the <e>oav</e> USE flag only provides an interface to allow on access > virus scanning, the actual virus scanner must be emerged. The scanner >-used in this HOWTO is Clam AV. >+used in this HOWTO is ClamAV. > </p> > >-<pre caption="Emerge clam-av"> >+<pre caption="Emerge Clamav"> > # <i>emerge app-antivirus/clamav</i> > </pre> > >@@ -448,14 +455,10 @@ > # scanning of ALL shares, you could optionally move > # these to a specific share and only scan it.</comment> > >-<comment># For Samba 3.x</comment> >+<comment># For Samba 3.x. This enables ClamAV on access scanning.</comment> > vfs object = vscan-clamav > vscan-clamav: config-file = /etc/samba/vscan-clamav.conf > >-<comment># For Samba 2.2.x</comment> >-vfs object = /usr/lib/samba/vfs/vscan-clamav.so >-vfs options = config-file = /etc/samba/vscan-clamav.conf >- > <comment># Now we setup our print drivers information!</comment> > [print$] > comment = Printer Drivers >@@ -517,6 +520,11 @@ > protect you from a lot of problems. > </warn> > >+<warn> >+Turning on ClamAV on access scanning in the <c>[global]</c> section will slow >+down the performance of your Samba server dramatically. >+</warn> >+ > <p> > Now create the directories required for the minimum configuration of > Samba to share the installed printer throughout the network. >@@ -560,7 +568,7 @@ > </body> > </section> > <section> >-<title>Configuring Clam AV</title> >+<title>Configuring ClamAV</title> > <body> > > <p> >@@ -626,12 +634,31 @@ > lru file entry lifetime = 5 > > <comment>; socket name of clamd (default: /var/run/clamd)</comment> >-clamd socket name = /var/run/clamd >+clamd socket name = /tmp/clamd >+ >+<comment>; port number the ScannerDaemon listens on</comment> >+oav port = 8127 > </pre> > > <p> > It is generally a good idea to start the virus scanner immediately. Add >-it to the <e>default</e> runlevel and then start the <c>clamd</c> service immediately. >+it to the <e>default</e> runlevel and then start the <c>clamd</c> service >+immediately. The service has two processes: freshclam keeps the virus definition >+database up to date while clamd is the actual anti-virus daemon. First you may >+want to set the paths of the logfiles so that it fits your needs. >+</p> >+ >+<pre caption="Checking the location of the logfiles"> >+# <i>vim /etc/clamd.conf</i> >+<comment>(Check the line "LogFile /var/log/clamd.log")</comment> >+# <i>vim /etc/freshclam.conf</i> >+<comment>(Check the line "UpdateLogFile /var/log/freshclam.log")</comment> >+# <i>vim /etc/conf.d/clamd</i> >+<comment>(Set "START_CLAMD=yes" and "START_FRESHCLAM=yes")</comment> >+</pre> >+ >+<p> >+Now fire up the virus scanner. > </p> > > <pre caption="Add clamd to bootup and start it">
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 79115
:
49229
| 50639