| 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.7 2004/06/25 22:28:55 vapier Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.9 2004/08/01 11:40:20 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/Clam AV HOWTO</title> |
5 | <title>Gentoo Samba3/CUPS/Clam AV 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.4</version> |
23 | <version>1.6</version> |
| 24 | <date>June 22, 2004</date> |
24 | <date>August 01, 2004</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> |
| … | |
… | |
| 445 | guest ok = yes |
445 | guest ok = yes |
| 446 | <comment># We now will implement the on access virus scanner. |
446 | <comment># We now will implement the on access virus scanner. |
| 447 | # NOTE: By putting this in our [Global] section, we enable |
447 | # NOTE: By putting this in our [Global] section, we enable |
| 448 | # scanning of ALL shares, you could optionally move |
448 | # scanning of ALL shares, you could optionally move |
| 449 | # these to a specific share and only scan it.</comment> |
449 | # these to a specific share and only scan it.</comment> |
|
|
450 | |
|
|
451 | <comment># For Samba 3.x</comment> |
|
|
452 | vfs object = vscan-clamav |
|
|
453 | vscan-clamav: config-file = /etc/samba/vscan-clamav.conf |
|
|
454 | |
|
|
455 | <comment># For Samba 2.2.x</comment> |
| 450 | vfs object = /usr/lib/samba/vfs/vscan-clamav.so |
456 | vfs object = /usr/lib/samba/vfs/vscan-clamav.so |
| 451 | vfs options = config-file = /etc/samba/vscan-clamav.conf |
457 | vfs options = config-file = /etc/samba/vscan-clamav.conf |
| 452 | |
458 | |
| 453 | <comment># Now we setup our print drivers information!</comment> |
459 | <comment># Now we setup our print drivers information!</comment> |
| 454 | [print$] |
460 | [print$] |
| … | |
… | |
| 536 | |
542 | |
| 537 | <p> |
543 | <p> |
| 538 | The Samba passwords need not be the same as the system passwords |
544 | The Samba passwords need not be the same as the system passwords |
| 539 | in <path>/etc/passwd</path>. |
545 | in <path>/etc/passwd</path>. |
| 540 | </p> |
546 | </p> |
|
|
547 | |
|
|
548 | <p> |
|
|
549 | You will also need to update <path>/etc/nsswitch.conf</path> so that Windows |
|
|
550 | systems can be found easily using NetBIOS: |
|
|
551 | </p> |
|
|
552 | |
|
|
553 | <pre caption="Editing /etc/nsswitch.conf"> |
|
|
554 | # <i>nano -w /etc/nsswitch.conf</i> |
|
|
555 | <comment>(Edit the hosts: line)</comment> |
|
|
556 | hosts: files dns <i>wins</i> |
|
|
557 | </pre> |
| 541 | |
558 | |
| 542 | </body> |
559 | </body> |
| 543 | </section> |
560 | </section> |
| 544 | <section> |
561 | <section> |
| 545 | <title>Configuring Clam AV</title> |
562 | <title>Configuring Clam AV</title> |