| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.16 2005/02/07 19:02:37 swift Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.17 2005/03/26 18:07:36 swift Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | <guide link="quick-samba-howto.xml"> |
4 | <guide link="quick-samba-howto.xml"> |
| 5 | <title>Gentoo Samba3/CUPS/ClamAV HOWTO</title> |
5 | <title>Gentoo Samba3/CUPS/ClamAV HOWTO</title> |
| 6 | <author title="Author"> |
6 | <author title="Author"> |
| 7 | <mail link="daff at dword dot org">Andreas "daff" Ntaflos</mail> |
7 | <mail link="daff at dword dot org">Andreas "daff" Ntaflos</mail> |
| … | |
… | |
| 18 | |
18 | |
| 19 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
19 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 20 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
20 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 21 | <license/> |
21 | <license/> |
| 22 | |
22 | |
| 23 | <version>1.11</version> |
23 | <version>1.12</version> |
| 24 | <date>2005-02-07</date> |
24 | <date>2005-03-26</date> |
| 25 | |
25 | |
| 26 | <chapter> |
26 | <chapter> |
| 27 | <title>Introduction to this HOWTO</title> |
27 | <title>Introduction to this HOWTO</title> |
| 28 | <section> |
28 | <section> |
| 29 | <title>Purpose</title> |
29 | <title>Purpose</title> |
| … | |
… | |
| 157 | <p> |
157 | <p> |
| 158 | The main package we use here is net-fs/samba, however, you will need |
158 | The main package we use here is net-fs/samba, however, you will need |
| 159 | a kernel with smbfs support enabled in order to mount a samba or windows |
159 | a kernel with smbfs support enabled in order to mount a samba or windows |
| 160 | share from another computer. CUPS will be emerged if it is not already. |
160 | share from another computer. CUPS will be emerged if it is not already. |
| 161 | app-antivirus/clamav will be used also, but others should be easily adapted |
161 | app-antivirus/clamav will be used also, but others should be easily adapted |
| 162 | to work with Samba. |
162 | to work with Samba. Gentoo's samba ebuild supports all kinds of virus scanning |
|
|
163 | technologies, such as Sophos, FProt, Fsav, Trend, Icap, Nai, ... |
| 163 | </p> |
164 | </p> |
| 164 | |
165 | |
| 165 | </body> |
166 | </body> |
| 166 | </section> |
167 | </section> |
| 167 | </chapter> |
168 | </chapter> |
| … | |
… | |
| 277 | </ti> |
278 | </ti> |
| 278 | </tr> |
279 | </tr> |
| 279 | <tr> |
280 | <tr> |
| 280 | <th><b>libclamav</b></th> |
281 | <th><b>libclamav</b></th> |
| 281 | <ti> |
282 | <ti> |
| 282 | Enable ClamAV as virus scanner. |
283 | Use the ClamAV library instead of the clamd daemon |
| 283 | </ti> |
284 | </ti> |
| 284 | </tr> |
285 | </tr> |
| 285 | </table> |
286 | </table> |
| 286 | |
287 | |
| 287 | <p> |
288 | <p> |
| … | |
… | |
| 333 | <ul> |
334 | <ul> |
| 334 | <li>oav</li> |
335 | <li>oav</li> |
| 335 | <li>cups</li> |
336 | <li>cups</li> |
| 336 | <li>readline</li> |
337 | <li>readline</li> |
| 337 | <li>pam</li> |
338 | <li>pam</li> |
| 338 | <li>libclamav</li> |
|
|
| 339 | </ul> |
339 | </ul> |
| 340 | |
340 | |
| 341 | <p> |
341 | <p> |
| 342 | To optimize performance, size and the time of the build, the |
342 | To optimize performance, size and the time of the build, the |
| 343 | USE flags are specifically included or excluded. |
343 | USE flags are specifically included or excluded. |
| 344 | </p> |
344 | </p> |
| 345 | |
345 | |
| 346 | <pre caption="Emerge Samba"> |
346 | <pre caption="Emerge Samba"> |
| 347 | <comment>(Note the USE flags!)</comment> |
347 | # <i>echo "net-fs/samba oav readline cups pam" >> /etc/portage/package.use</i> |
| 348 | # <i>USE="oav readline cups pam -python -ldap -kerberos -xml -acl -mysql libclamav" emerge net-fs/samba</i> |
348 | # <i>emerge net-fs/samba</i> |
| 349 | </pre> |
349 | </pre> |
| 350 | |
350 | |
| 351 | <note> |
351 | <note> |
| 352 | The following archs will need to add <e>~</e> to their <e>KEYWORDS</e>: x86, |
352 | The following archs will need to add <e>~</e> to their <e>KEYWORDS</e>: x86, |
| 353 | ppc, sparc, hppa, ia64 and alpha |
353 | ppc, sparc, hppa, ia64 and alpha |