- Timestamp:
- May 26, 2009, 9:43:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/docs/htmldocs/Samba3-HOWTO/StandAloneServer.html
r204 r226 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 7. Standalone Servers</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="domain-member.html" title="Chapter 6. Domain Membership"><link rel="next" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 7. Standalone Servers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="domain-member.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="ClientConfig.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="StandAloneServer"></a>Chapter 7. Standalone Servers</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="StandAloneServer.html#id25672 30">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567324">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567525">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2568508">Common Errors</a></span></dt></dl></div><p>2 <a class="indexterm" name="id2567 202"></a>3 <a class="indexterm" name="id256720 9"></a>4 <a class="indexterm" name="id256721 6"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 7. Standalone Servers</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="prev" href="domain-member.html" title="Chapter 6. Domain Membership"><link rel="next" href="ClientConfig.html" title="Chapter 8. MS Windows Network Configuration Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 7. Standalone Servers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="domain-member.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="ClientConfig.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="StandAloneServer"></a>Chapter 7. Standalone Servers</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>></code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="StandAloneServer.html#id2567225">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567320">Background</a></span></dt><dt><span class="sect1"><a href="StandAloneServer.html#id2567521">Example Configuration</a></span></dt><dd><dl><dt><span class="sect2"><a href="StandAloneServer.html#RefDocServer">Reference Documentation Server</a></span></dt><dt><span class="sect2"><a href="StandAloneServer.html#SimplePrintServer">Central Print Serving</a></span></dt></dl></dd><dt><span class="sect1"><a href="StandAloneServer.html#id2568504">Common Errors</a></span></dt></dl></div><p> 2 <a class="indexterm" name="id2567198"></a> 3 <a class="indexterm" name="id2567205"></a> 4 <a class="indexterm" name="id2567212"></a> 5 5 Standalone servers are independent of domain controllers on the network. 6 6 They are not domain members and function more like workgroup servers. In many 7 7 cases a standalone server is configured with a minimum of security control 8 8 with the intent that all data served will be readily accessible to all users. 9 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id25672 30"></a>Features and Benefits</h2></div></div></div><p>10 <a class="indexterm" name="id256723 8"></a>11 <a class="indexterm" name="id256724 4"></a>9 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567225"></a>Features and Benefits</h2></div></div></div><p> 10 <a class="indexterm" name="id2567233"></a> 11 <a class="indexterm" name="id2567240"></a> 12 12 Standalone servers can be as secure or as insecure as needs dictate. They can 13 13 have simple or complex configurations. Above all, despite the hoopla about 14 14 domain security, they remain a common installation. 15 15 </p><p> 16 <a class="indexterm" name="id256725 8"></a>17 <a class="indexterm" name="id256726 5"></a>18 <a class="indexterm" name="id25672 72"></a>19 <a class="indexterm" name="id256727 8"></a>16 <a class="indexterm" name="id2567254"></a> 17 <a class="indexterm" name="id2567261"></a> 18 <a class="indexterm" name="id2567268"></a> 19 <a class="indexterm" name="id2567274"></a> 20 20 If all that is needed is a server for read-only files, or for 21 21 printers alone, it may not make sense to effect a complex installation. … … 25 25 server is an ideal solution. 26 26 </p><p> 27 <a class="indexterm" name="id256729 5"></a>28 <a class="indexterm" name="id2567 302"></a>29 <a class="indexterm" name="id256730 9"></a>27 <a class="indexterm" name="id2567291"></a> 28 <a class="indexterm" name="id2567298"></a> 29 <a class="indexterm" name="id2567305"></a> 30 30 Another situation that warrants simplicity is an office that has many printers 31 31 that are queued off a single central server. Everyone needs to be able to print … … 33 33 be served from the print server. Again, a share-mode standalone server makes 34 34 a great solution. 35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id256732 4"></a>Background</h2></div></div></div><p>36 <a class="indexterm" name="id25673 31"></a>37 <a class="indexterm" name="id256733 8"></a>38 <a class="indexterm" name="id256734 5"></a>35 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567320"></a>Background</h2></div></div></div><p> 36 <a class="indexterm" name="id2567327"></a> 37 <a class="indexterm" name="id2567334"></a> 38 <a class="indexterm" name="id2567341"></a> 39 39 The term <span class="emphasis"><em>standalone server</em></span> means that it will provide local authentication and access 40 40 control for all resources that are available from it. In general this means that there will be a local user … … 42 42 <span class="emphasis"><em>share</em></span> mode or in <span class="emphasis"><em>user</em></span> mode. 43 43 </p><p> 44 <a class="indexterm" name="id25673 72"></a>45 <a class="indexterm" name="id256737 9"></a>46 <a class="indexterm" name="id256738 6"></a>44 <a class="indexterm" name="id2567368"></a> 45 <a class="indexterm" name="id2567375"></a> 46 <a class="indexterm" name="id2567382"></a> 47 47 No special action is needed other than to create user accounts. Standalone 48 48 servers do not provide network logon services. This means that machines that … … 53 53 user name. There are several ways this can be done. 54 54 </p><p> 55 <a class="indexterm" name="id25674 13"></a>56 <a class="indexterm" name="id25674 20"></a>57 <a class="indexterm" name="id256742 7"></a>55 <a class="indexterm" name="id2567409"></a> 56 <a class="indexterm" name="id2567416"></a> 57 <a class="indexterm" name="id2567423"></a> 58 58 Samba tends to blur the distinction a little in defining 59 59 a standalone server. This is because the authentication database may be … … 61 61 the Samba server is not a member of a domain security context. 62 62 </p><p> 63 <a class="indexterm" name="id25674 42"></a>64 <a class="indexterm" name="id256744 8"></a>65 <a class="indexterm" name="id256745 5"></a>66 <a class="indexterm" name="id25674 62"></a>67 <a class="indexterm" name="id256746 8"></a>68 <a class="indexterm" name="id256747 5"></a>69 <a class="indexterm" name="id25674 82"></a>70 <a class="indexterm" name="id256748 9"></a>63 <a class="indexterm" name="id2567437"></a> 64 <a class="indexterm" name="id2567444"></a> 65 <a class="indexterm" name="id2567450"></a> 66 <a class="indexterm" name="id2567457"></a> 67 <a class="indexterm" name="id2567464"></a> 68 <a class="indexterm" name="id2567471"></a> 69 <a class="indexterm" name="id2567478"></a> 70 <a class="indexterm" name="id2567485"></a> 71 71 Through the use of Pluggable Authentication Modules (PAM) (see <a class="link" href="pam.html" title="Chapter 28. PAM-Based Distributed Authentication">the chapter on PAM</a>) 72 72 and the name service switcher (NSS), which maintains the UNIX-user database, the source of authentication may … … 75 75 <code class="filename">/etc/shadow</code>), may use a local smbpasswd file, or may use an LDAP backend, or even via PAM 76 76 and Winbind another CIFS/SMB server for authentication. 77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id256752 5"></a>Example Configuration</h2></div></div></div><p>78 <a class="indexterm" name="id25675 33"></a>79 <a class="indexterm" name="id25675 40"></a>77 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2567521"></a>Example Configuration</h2></div></div></div><p> 78 <a class="indexterm" name="id2567529"></a> 79 <a class="indexterm" name="id2567536"></a> 80 80 <a class="link" href="StandAloneServer.html#simplynice" title="Example 7.1. smb.conf for Reference Documentation Server">The example Reference Documentation Server</a> and <a class="link" href="StandAloneServer.html#SimplePrintServer" title="Central Print Serving">Central Print Serving</a> are designed to inspire simplicity. It is too easy to 81 81 attempt a high level of creativity and to introduce too much complexity in server and network design. 82 82 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="RefDocServer"></a>Reference Documentation Server</h3></div></div></div><p> 83 <a class="indexterm" name="id256757 7"></a>84 <a class="indexterm" name="id256758 4"></a>85 <a class="indexterm" name="id25675 90"></a>86 <a class="indexterm" name="id256759 7"></a>83 <a class="indexterm" name="id2567573"></a> 84 <a class="indexterm" name="id2567580"></a> 85 <a class="indexterm" name="id2567586"></a> 86 <a class="indexterm" name="id2567593"></a> 87 87 Configuration of a read-only data server that everyone can access is very simple. By default, all shares are 88 88 read-only, unless set otherwise in the <code class="filename">smb.conf</code> file. <a class="link" href="StandAloneServer.html#simplynice" title="Example 7.1. smb.conf for Reference Documentation Server">The example - Reference … … 91 91 nobody. No home directories are shared, and there are no users in the <code class="filename">/etc/passwd</code> UNIX 92 92 system database. This is a simple system to administer. 93 </p><div class="example"><a name="simplynice"></a><p class="title"><b>Example 7.1. smb.conf for Reference Documentation Server</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id25676 71"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2567683"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2567695"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2567706"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2567718"></a><em class="parameter"><code>wins server = 192.168.1.1</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2567739"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2567750"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2567762"></a><em class="parameter"><code>guest only = Yes</code></em></td></tr></table></div></div><br class="example-break"><div class="blockquote"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="blockquote" summary="Block quote"><tr><td width="10%" valign="top"> </td><td width="80%" valign="top"><p>93 </p><div class="example"><a name="simplynice"></a><p class="title"><b>Example 7.1. smb.conf for Reference Documentation Server</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2567667"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2567679"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2567690"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2567702"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2567714"></a><em class="parameter"><code>wins server = 192.168.1.1</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[data]</code></em></td></tr><tr><td><a class="indexterm" name="id2567735"></a><em class="parameter"><code>comment = Data</code></em></td></tr><tr><td><a class="indexterm" name="id2567746"></a><em class="parameter"><code>path = /export</code></em></td></tr><tr><td><a class="indexterm" name="id2567758"></a><em class="parameter"><code>guest only = Yes</code></em></td></tr></table></div></div><br class="example-break"><div class="blockquote"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="blockquote" summary="Block quote"><tr><td width="10%" valign="top"> </td><td width="80%" valign="top"><p> 94 94 I would have spoken more briefly, if I'd had more time to prepare. 95 95 </p></td><td width="10%" valign="top"> </td></tr><tr><td width="10%" valign="top"> </td><td colspan="2" align="right" valign="top">--<span class="attribution">Mark Twain</span></td></tr></table></div><p> 96 <a class="indexterm" name="id256778 8"></a>97 <a class="indexterm" name="id256779 5"></a>98 <a class="indexterm" name="id2567 802"></a>99 <a class="indexterm" name="id256780 9"></a>96 <a class="indexterm" name="id2567784"></a> 97 <a class="indexterm" name="id2567791"></a> 98 <a class="indexterm" name="id2567798"></a> 99 <a class="indexterm" name="id2567805"></a> 100 100 In <a class="link" href="StandAloneServer.html#simplynice" title="Example 7.1. smb.conf for Reference Documentation Server">this example</a>, the machine name is set to GANDALF, and the 101 101 workgroup is set to the name of the local workgroup (MIDEARTH) so the machine will appear together … … 108 108 many network administrators still need to learn the art of doing just enough to keep out of trouble. 109 109 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="SimplePrintServer"></a>Central Print Serving</h3></div></div></div><p> 110 <a class="indexterm" name="id256785 8"></a>111 <a class="indexterm" name="id256786 5"></a>110 <a class="indexterm" name="id2567854"></a> 111 <a class="indexterm" name="id2567861"></a> 112 112 Configuration of a simple print server is easy if you have all the right tools on your system. 113 113 </p><div class="orderedlist"><p class="title"><b> Assumptions</b></p><ol type="1"><li><p> … … 123 123 of choice is the one shipped with the Windows OS for the Apple Color LaserWriter. 124 124 </p></li></ol></div><p> 125 <a class="indexterm" name="id25679 21"></a>126 <a class="indexterm" name="id256792 8"></a>127 <a class="indexterm" name="id256793 5"></a>125 <a class="indexterm" name="id2567917"></a> 126 <a class="indexterm" name="id2567924"></a> 127 <a class="indexterm" name="id2567931"></a> 128 128 In this example our print server will spool all incoming print jobs to 129 129 <code class="filename">/var/spool/samba</code> until the job is ready to be submitted by … … 131 131 the anonymous (guest) user, two things will be required to enable anonymous printing. 132 132 </p><div class="itemizedlist"><p class="title"><b>Enabling Anonymous Printing</b></p><ul type="disc"><li><p> 133 <a class="indexterm" name="id25679 62"></a>134 <a class="indexterm" name="id256796 9"></a>135 <a class="indexterm" name="id256797 6"></a>133 <a class="indexterm" name="id2567958"></a> 134 <a class="indexterm" name="id2567965"></a> 135 <a class="indexterm" name="id2567972"></a> 136 136 The UNIX/Linux system must have a <code class="literal">guest</code> account. 137 137 The default for this is usually the account <code class="literal">nobody</code>. … … 141 141 <code class="prompt">$ </code><strong class="userinput"><code>testparm -s -v | grep "guest account"</code></strong> 142 142 </pre><p> 143 <a class="indexterm" name="id256801 4"></a>143 <a class="indexterm" name="id2568010"></a> 144 144 Make sure that this account exists in your system password 145 145 database (<code class="filename">/etc/passwd</code>). 146 146 </p><p> 147 <a class="indexterm" name="id25680 31"></a>148 <a class="indexterm" name="id256803 8"></a>149 <a class="indexterm" name="id256804 5"></a>147 <a class="indexterm" name="id2568027"></a> 148 <a class="indexterm" name="id2568034"></a> 149 <a class="indexterm" name="id2568041"></a> 150 150 It is a good idea either to set a password on this account, or else to lock it 151 151 from UNIX use. Assuming that the guest account is called <code class="literal">pcguest</code>, … … 156 156 The exact command may vary depending on your UNIX/Linux distribution. 157 157 </p></li><li><p> 158 <a class="indexterm" name="id256807 8"></a>159 <a class="indexterm" name="id256808 5"></a>160 <a class="indexterm" name="id25680 92"></a>161 <a class="indexterm" name="id256809 9"></a>162 <a class="indexterm" name="id256810 6"></a>163 <a class="indexterm" name="id25681 12"></a>158 <a class="indexterm" name="id2568074"></a> 159 <a class="indexterm" name="id2568081"></a> 160 <a class="indexterm" name="id2568088"></a> 161 <a class="indexterm" name="id2568095"></a> 162 <a class="indexterm" name="id2568101"></a> 163 <a class="indexterm" name="id2568108"></a> 164 164 The directory into which Samba will spool the file must have write 165 165 access for the guest account. The following commands will ensure that … … 172 172 </p></li></ul></div><p> 173 173 The contents of the <code class="filename">smb.conf</code> file is shown in <a class="link" href="StandAloneServer.html#AnonPtrSvr" title="Example 7.2. smb.conf for Anonymous Printing">the Anonymous Printing example</a>. 174 </p><div class="example"><a name="AnonPtrSvr"></a><p class="title"><b>Example 7.2. <code class="filename">smb.conf</code> for Anonymous Printing</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id25682 12"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2568224"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2568236"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2568247"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2568259"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2568271"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2568291"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2568303"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2568315"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2568327"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568338"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568350"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568362"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>175 <a class="indexterm" name="id256837 8"></a>176 <a class="indexterm" name="id256838 7"></a>177 <a class="indexterm" name="id25683 94"></a>178 <a class="indexterm" name="id2568 400"></a>179 <a class="indexterm" name="id256840 7"></a>174 </p><div class="example"><a name="AnonPtrSvr"></a><p class="title"><b>Example 7.2. <code class="filename">smb.conf</code> for Anonymous Printing</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td># Global parameters</td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2568208"></a><em class="parameter"><code>workgroup = MIDEARTH</code></em></td></tr><tr><td><a class="indexterm" name="id2568220"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2568231"></a><em class="parameter"><code>security = SHARE</code></em></td></tr><tr><td><a class="indexterm" name="id2568243"></a><em class="parameter"><code>passdb backend = guest</code></em></td></tr><tr><td><a class="indexterm" name="id2568255"></a><em class="parameter"><code>printing = cups</code></em></td></tr><tr><td><a class="indexterm" name="id2568266"></a><em class="parameter"><code>printcap name = cups</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[printers]</code></em></td></tr><tr><td><a class="indexterm" name="id2568287"></a><em class="parameter"><code>comment = All Printers</code></em></td></tr><tr><td><a class="indexterm" name="id2568299"></a><em class="parameter"><code>path = /var/spool/samba</code></em></td></tr><tr><td><a class="indexterm" name="id2568311"></a><em class="parameter"><code>printer admin = root</code></em></td></tr><tr><td><a class="indexterm" name="id2568323"></a><em class="parameter"><code>guest ok = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568334"></a><em class="parameter"><code>printable = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568346"></a><em class="parameter"><code>use client driver = Yes</code></em></td></tr><tr><td><a class="indexterm" name="id2568358"></a><em class="parameter"><code>browseable = No</code></em></td></tr></table></div></div><br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> 175 <a class="indexterm" name="id2568374"></a> 176 <a class="indexterm" name="id2568382"></a> 177 <a class="indexterm" name="id2568389"></a> 178 <a class="indexterm" name="id2568396"></a> 179 <a class="indexterm" name="id2568403"></a> 180 180 On CUPS-enabled systems there is a facility to pass raw data directly to the printer without intermediate 181 181 processing via CUPS print filters. Where use of this mode of operation is desired, it is necessary to … … 184 184 for application/octet-stream</a>. 185 185 </p></div><p> 186 <a class="indexterm" name="id25684 50"></a>187 <a class="indexterm" name="id256845 7"></a>188 <a class="indexterm" name="id256846 4"></a>189 <a class="indexterm" name="id25684 70"></a>186 <a class="indexterm" name="id2568446"></a> 187 <a class="indexterm" name="id2568453"></a> 188 <a class="indexterm" name="id2568460"></a> 189 <a class="indexterm" name="id2568466"></a> 190 190 The example in <a class="link" href="StandAloneServer.html#AnonPtrSvr" title="Example 7.2. smb.conf for Anonymous Printing">the Anonymous Printing example</a> uses CUPS for direct printing 191 191 via the CUPS libarary API. This means that all printers will be exposed to Windows users without need to … … 194 194 with the entry <em class="parameter"><code>printcap name = /etc/samba/myprintcap</code></em>. In this case the file specified 195 195 should contain a list of the printer names that should be exposed to Windows network users. 196 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id256850 8"></a>Common Errors</h2></div></div></div><p>197 <a class="indexterm" name="id256851 6"></a>198 <a class="indexterm" name="id25685 23"></a>196 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2568504"></a>Common Errors</h2></div></div></div><p> 197 <a class="indexterm" name="id2568512"></a> 198 <a class="indexterm" name="id2568519"></a> 199 199 The greatest mistake so often made is to make a network configuration too complex. 200 200 It pays to use the simplest solution that will meet the needs of the moment.
Note:
See TracChangeset
for help on using the changeset viewer.