/[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.7 Revision 1.8
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.8 2004/07/02 07:36:09 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.4</version> 23<version>1.5</version>
24<date>June 22, 2004</date> 24<date>June 30, 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
435<comment># Now we are going to specify who we allow, we are afterall 435<comment># Now we are going to specify who we allow, we are afterall
436# very security conscience, since this configuration does 436# very security conscience, since this configuration does
437# not use passwords!</comment> 437# not use passwords!</comment>
438hosts allow = 127.0.0.1 <i>192.168.1.0/24</i> 438hosts allow = 127.0.0.1 <i>192.168.1.0/24</i>
439hosts deny = 0.0.0.0/0 439hosts deny = 0.0.0.0/0
440<comment># Other options for this are USER, DOMAIN, ADS, and SERVER 440<comment># Other options for this are USER, DOMAIN, ADS, and SERVER
441# The default is user</comment> 441# The default is user</comment>
442security = share 442security = share
443<comment># No passwords, so we're going to use a guest account!</comment> 443<comment># No passwords, so we're going to use a guest account!</comment>
444guest account = samba 444guest account = samba
445guest ok = yes 445guest 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>
452vfs object = vscan-clamav
453vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
454
455<comment># For Samba 2.2.x</comment>
450vfs object = /usr/lib/samba/vfs/vscan-clamav.so 456vfs object = /usr/lib/samba/vfs/vscan-clamav.so
451vfs options = config-file = /etc/samba/vscan-clamav.conf 457vfs 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$]
455comment = Printer Drivers 461comment = Printer Drivers
456path = /etc/samba/printer <comment># this path holds the driver structure</comment> 462path = /etc/samba/printer <comment># this path holds the driver structure</comment>
457guest ok = no 463guest ok = no
458browseable = yes 464browseable = yes
459read only = yes 465read only = yes
460<comment># Modify this to "username,root" if you don't want root to 466<comment># Modify this to "username,root" if you don't want root to
461# be the only printer admin)</comment> 467# be the only printer admin)</comment>
462write list = <i>root</i> 468write list = <i>root</i>
463 469
464<comment># Now we'll setup a printer to share, while the name is arbitrary 470<comment># Now we'll setup a printer to share, while the name is arbitrary

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

  ViewVC Help
Powered by ViewVC 1.1.20