/[gentoo]/xml/htdocs/doc/en/quick-samba-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/quick-samba-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
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.8 2004/07/02 07:36:09 swift 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>
8</author> 8</author>
9<author title="Author"> 9<author title="Author">
10 <mail link="joshua@sungentoo.homeunix.com">Joshua Preston</mail> 10 <mail link="joshua@sungentoo.homeunix.com">Joshua Preston</mail>
11</author> 11</author>
12 12
13<abstract> 13<abstract>
14Setup, install and configure a Samba Server under Gentoo that shares 14Setup, install and configure a Samba Server under Gentoo that shares
15files, printers without the need to install drivers and provides 15files, printers without the need to install drivers and provides
16automatic virus scanning. 16automatic virus scanning.
17</abstract> 17</abstract>
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.5</version> 23<version>1.6</version>
24<date>June 30, 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>
30<body> 30<body>
31 31
32<p> 32<p>
33This HOWTO is designed to help you move a network from many different 33This HOWTO is designed to help you move a network from many different
34clients speaking different languages, to many different machines that 34clients speaking different languages, to many different machines that
35speak a common language. The ultimate goal is to help differing 35speak a common language. The ultimate goal is to help differing
36architectures and technologies, come together in a productive, 36architectures and technologies, come together in a productive,
37happily coexisting environment. 37happily coexisting environment.
38</p> 38</p>
39 39
533exist in the system's <path>/etc/passwd</path> file. 533exist in the system's <path>/etc/passwd</path> file.
534</p> 534</p>
535 535
536<pre caption="Creating the users"> 536<pre caption="Creating the users">
537# <i>smbpasswd -a root</i> 537# <i>smbpasswd -a root</i>
538 538
539<comment>(If another user is to be a printer admin)</comment> 539<comment>(If another user is to be a printer admin)</comment>
540# <i>smbpasswd -a username</i> 540# <i>smbpasswd -a username</i>
541</pre> 541</pre>
542 542
543<p> 543<p>
544The Samba passwords need not be the same as the system passwords 544The Samba passwords need not be the same as the system passwords
545in <path>/etc/passwd</path>. 545in <path>/etc/passwd</path>.
546</p> 546</p>
547 547
548<p>
549You will also need to update <path>/etc/nsswitch.conf</path> so that Windows
550systems 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>
556hosts: files dns <i>wins</i>
557</pre>
558
548</body> 559</body>
549</section> 560</section>
550<section> 561<section>
551<title>Configuring Clam AV</title> 562<title>Configuring Clam AV</title>
552<body> 563<body>
553 564
554<p> 565<p>
555The configuration file specified to be used in <path>smb.conf</path> is 566The configuration file specified to be used in <path>smb.conf</path> is
556<path>/etc/samba/vscan-clamav.conf</path>. While these options are set 567<path>/etc/samba/vscan-clamav.conf</path>. While these options are set
557to the defaults, the infected file action may need to be changed. 568to the defaults, the infected file action may need to be changed.
558</p> 569</p>
559 570
560<pre caption="/etc/samba/vscan-clamav.conf"> 571<pre caption="/etc/samba/vscan-clamav.conf">
561[samba-vscan] 572[samba-vscan]
562<comment>; run-time configuration for vscan-samba using 573<comment>; run-time configuration for vscan-samba using

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20