/[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.9 Revision 1.10
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.9 2004/08/01 11:40:20 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.10 2004/08/11 14:34:34 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.6</version> 23<version>1.7</version>
24<date>August 01, 2004</date> 24<date>August 11, 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
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 450
451<comment># For Samba 3.x</comment> 451<comment># For Samba 3.x</comment>
452vfs object = vscan-clamav 452vfs object = vscan-clamav
453vscan-clamav: config-file = /etc/samba/vscan-clamav.conf 453vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
454 454
455<comment># For Samba 2.2.x</comment> 455<comment># For Samba 2.2.x</comment>
456vfs object = /usr/lib/samba/vfs/vscan-clamav.so 456vfs object = /usr/lib/samba/vfs/vscan-clamav.so
457vfs options = config-file = /etc/samba/vscan-clamav.conf 457vfs options = config-file = /etc/samba/vscan-clamav.conf
458 458
459<comment># Now we setup our print drivers information!</comment> 459<comment># Now we setup our print drivers information!</comment>
460[print$] 460[print$]
461comment = Printer Drivers 461comment = Printer Drivers
462path = /etc/samba/printer <comment># this path holds the driver structure</comment> 462path = /etc/samba/printer <comment># this path holds the driver structure</comment>
463guest ok = no 463guest ok = yes
464browseable = yes 464browseable = yes
465read only = yes 465read only = yes
466<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
467# be the only printer admin)</comment> 467# be the only printer admin)</comment>
468write list = <i>root</i> 468write list = <i>root</i>
469 469
470<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
471# it should be consistent throughout Samba and CUPS!</comment> 471# it should be consistent throughout Samba and CUPS!</comment>
472[HPDeskJet930C] 472[HPDeskJet930C]
473comment = HP DeskJet 930C Network Printer 473comment = HP DeskJet 930C Network Printer
474printable = yes 474printable = yes
475path = /var/spool/samba 475path = /var/spool/samba
476public = yes 476public = yes
477guest ok = yes 477guest ok = yes
478<comment># Modify this to "username,root" if you don't want root to 478<comment># Modify this to "username,root" if you don't want root to
479# be the only printer admin)</comment> 479# be the only printer admin)</comment>
480printer admin = <i>root</i> 480printer admin = <i>root</i>
481 481
482<comment># Now we setup our printers share. This should be 482<comment># Now we setup our printers share. This should be
483# browseable, printable, public.</comment> 483# browseable, printable, public.</comment>
484[printers] 484[printers]
485comment = All Printers 485comment = All Printers
486browseable = yes 486browseable = no
487printable = yes 487printable = yes
488writable = no
488public = yes 489public = yes
489guest ok = yes 490guest ok = yes
490path = /var/spool/samba 491path = /var/spool/samba
491<comment># Modify this to "username,root" if you don't want root to 492<comment># Modify this to "username,root" if you don't want root to
492# be the only printer admin)</comment> 493# be the only printer admin)</comment>
493printer admin = <i>root</i> 494printer admin = <i>root</i>
494 495
495<comment># We create a new share that we can read/write to from anywhere 496<comment># We create a new share that we can read/write to from anywhere
496# This is kind of like a public temp share, anyone can do what 497# This is kind of like a public temp share, anyone can do what
497# they want here.</comment> 498# they want here.</comment>
498[public] 499[public]
499comment = Public Files 500comment = Public Files
500browseable = yes 501browseable = yes
501public = yes 502public = yes
502create mode = 0766 503create mode = 0766

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

  ViewVC Help
Powered by ViewVC 1.1.20