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.24 2006/03/11 16:15:34 swift Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.25 2006/06/19 12:08:14 flammie Exp $ --> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
4 | <guide link="/doc/en/quick-samba-howto.xml"> |
4 | <guide link="/doc/en/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> |
… | |
… | |
678 | in the example are the directives that need to be changed: |
678 | in the example are the directives that need to be changed: |
679 | </p> |
679 | </p> |
680 | |
680 | |
681 | <pre caption="/etc/cups/cupsd.conf"> |
681 | <pre caption="/etc/cups/cupsd.conf"> |
682 | ServerName <i>PrintServer</i> <comment># your printserver name</comment> |
682 | ServerName <i>PrintServer</i> <comment># your printserver name</comment> |
683 | ServerAdmin <i>root@PrintServer</i> <comment># the person for printer-related hate-mail, eg you</comment> |
683 | ServerAdmin <i>root@PrintServer</i> <comment># the person for printer-related hate-mail, e.g. you</comment> |
684 | |
684 | |
685 | AccessLog /var/log/cups/access_log <comment># probably doesn't need changing</comment> |
685 | AccessLog /var/log/cups/access_log <comment># probably doesn't need changing</comment> |
686 | ErrorLog /var/log/cups/error_log <comment># doesn't really need changing either</comment> |
686 | ErrorLog /var/log/cups/error_log <comment># doesn't really need changing either</comment> |
687 | |
687 | |
688 | LogLevel debug <comment># only while isntalling and testing, should later be |
688 | LogLevel debug <comment># only while isntalling and testing, should later be |
… | |
… | |
697 | |
697 | |
698 | <Location /> |
698 | <Location /> |
699 | Order Deny,Allow |
699 | Order Deny,Allow |
700 | Deny From All |
700 | Deny From All |
701 | Allow From <i>192.168.1.*</i> <comment># the addresses of your internel network |
701 | Allow From <i>192.168.1.*</i> <comment># the addresses of your internel network |
702 | # eg 192.168.1.* will allow connections from any host on |
702 | # e.g. 192.168.1.* will allow connections from any host on |
703 | # the 192.168.1.0 network. change to whatever suits you</comment> |
703 | # the 192.168.1.0 network. change to whatever suits you</comment> |
704 | </Location> |
704 | </Location> |
705 | |
705 | |
706 | <Location /admin> |
706 | <Location /admin> |
707 | AuthType Basic |
707 | AuthType Basic |
… | |
… | |
753 | |
753 | |
754 | <p> |
754 | <p> |
755 | First, go to <uri link="http://linuxprinting.org">LinuxPrinting.Org</uri> to |
755 | First, go to <uri link="http://linuxprinting.org">LinuxPrinting.Org</uri> to |
756 | find and download the correct PPD file for your printer and CUPS. To do so, |
756 | find and download the correct PPD file for your printer and CUPS. To do so, |
757 | click the link Printer Listings to the left. Select your printers manufacturer |
757 | click the link Printer Listings to the left. Select your printers manufacturer |
758 | and the model in the pulldown menu, eg HP and DeskJet 930C. Click "Show". On |
758 | and the model in the pulldown menu, e.g. HP and DeskJet 930C. Click "Show". On |
759 | the page coming up click the "recommended driver" link after reading the |
759 | the page coming up click the "recommended driver" link after reading the |
760 | various notes and information. Then fetch the PPD file from the next page, |
760 | various notes and information. Then fetch the PPD file from the next page, |
761 | again after reading the notes and introductions there. You may have to select |
761 | again after reading the notes and introductions there. You may have to select |
762 | your printers manufacturer and model again. Reading the <uri |
762 | your printers manufacturer and model again. Reading the <uri |
763 | link="http://www.linuxprinting.org/cups-doc.html">CUPS quickstart guide</uri> |
763 | link="http://www.linuxprinting.org/cups-doc.html">CUPS quickstart guide</uri> |
… | |
… | |
837 | <path>cups5.hlp</path>, <path>cupsdrvr5.dll</path> and |
837 | <path>cups5.hlp</path>, <path>cupsdrvr5.dll</path> and |
838 | <path>cupsui5.dll</path>. These are the actual driver files. |
838 | <path>cupsui5.dll</path>. These are the actual driver files. |
839 | </p> |
839 | </p> |
840 | |
840 | |
841 | <warn> |
841 | <warn> |
842 | The script <c>cups-samba.install</c> may not work for all *nixes (ie FreeBSD) |
842 | The script <c>cups-samba.install</c> may not work for all *nixes (i.e. FreeBSD) |
843 | because almost everything which is not part of the base system is |
843 | because almost everything which is not part of the base system is |
844 | installed somewhere under the prefix <path>/usr/local/</path>. This |
844 | installed somewhere under the prefix <path>/usr/local/</path>. This |
845 | seems not to be the case for most things you install under GNU/Linux. |
845 | seems not to be the case for most things you install under GNU/Linux. |
846 | However, if your CUPS installation is somewhere other than |
846 | However, if your CUPS installation is somewhere other than |
847 | <path>/usr/share/cups/</path> see the example below. |
847 | <path>/usr/share/cups/</path> see the example below. |