1 |
neysx 07/12/01 11:30:40 |
2 |
|
3 |
Modified: quick-samba-howto.xml |
4 |
Log: |
5 |
Minor formatting fixes, no content change |
6 |
|
7 |
Revision Changes Path |
8 |
1.37 xml/htdocs/doc/en/quick-samba-howto.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml?rev=1.37&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml?rev=1.37&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml?r1=1.36&r2=1.37 |
13 |
|
14 |
Index: quick-samba-howto.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v |
17 |
retrieving revision 1.36 |
18 |
retrieving revision 1.37 |
19 |
diff -u -r1.36 -r1.37 |
20 |
--- quick-samba-howto.xml 1 Dec 2007 11:25:01 -0000 1.36 |
21 |
+++ quick-samba-howto.xml 1 Dec 2007 11:30:40 -0000 1.37 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding='UTF-8'?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.36 2007/12/01 11:25:01 neysx Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.37 2007/12/01 11:30:40 neysx Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/quick-samba-howto.xml"> |
29 |
@@ -72,15 +72,15 @@ |
30 |
</p> |
31 |
|
32 |
<p> |
33 |
-This HOWTO is based on a compilation and merge of an excellent HOWTO provided in |
34 |
-the <uri link="http://forums.gentoo.org">Gentoo forums</uri> by Andreas "daff" |
35 |
-Ntaflos and the collected knowledge of Joshua Preston. The link to this |
36 |
+This HOWTO is based on a compilation and merge of an excellent HOWTO provided |
37 |
+in the <uri link="http://forums.gentoo.org">Gentoo forums</uri> by Andreas |
38 |
+"daff" Ntaflos and the collected knowledge of Joshua Preston. The link to this |
39 |
discussion is provided below for your reference: |
40 |
</p> |
41 |
|
42 |
<ul> |
43 |
<li> |
44 |
- <uri link="http://forums.gentoo.org/viewtopic.php?t=110931">HOWTO |
45 |
+ <uri link="http://forums.gentoo.org/viewtopic.php?t=110931">HOWTO |
46 |
CUPS+Samba: printing from Windows & Linux</uri> |
47 |
</li> |
48 |
</ul> |
49 |
@@ -200,17 +200,17 @@ |
50 |
<tr> |
51 |
<th><b>kerberos</b></th> |
52 |
<ti> |
53 |
- Include support for Kerberos. The server will need this if it is |
54 |
- intended to join an existing domain or Active Directory. See the note |
55 |
- below for more information. |
56 |
+ Include support for Kerberos. The server will need this if it is intended |
57 |
+ to join an existing domain or Active Directory. See the note below for more |
58 |
+ information. |
59 |
</ti> |
60 |
</tr> |
61 |
<tr> |
62 |
<th><b>acl</b></th> |
63 |
<ti> |
64 |
Enables Access Control Lists. The ACL support in Samba uses a patched |
65 |
- ext2/ext3, or SGI's XFS in order to function properly as it extends more |
66 |
- detailed access to files or directories; much more so than typical *nix |
67 |
+ ext2/ext3, or SGI's XFS in order to function properly as it extends more |
68 |
+ detailed access to files or directories; much more so than typical *nix |
69 |
GID/UID schemas. |
70 |
</ti> |
71 |
</tr> |
72 |
@@ -235,7 +235,7 @@ |
73 |
<tr> |
74 |
<th><b>pam</b></th> |
75 |
<ti> |
76 |
- Include support for pluggable authentication modules (PAM). This provides |
77 |
+ Include support for pluggable authentication modules (PAM). This provides |
78 |
the ability to authenticate users on the Samba Server, which is required if |
79 |
users have to login to your server. The kerberos USE flag is recommended |
80 |
along with this option. |
81 |
@@ -272,9 +272,9 @@ |
82 |
|
83 |
<ul> |
84 |
<li> |
85 |
- ACLs on ext2/3 are implemented through extended attributes (EAs). EA and |
86 |
- ACL kernel options for ext2 and/or ext3 will need to be enabled |
87 |
- (depending on which file system is being used - both can be enabled). |
88 |
+ ACLs on ext2/3 are implemented through extended attributes (EAs). EA and |
89 |
+ ACL kernel options for ext2 and/or ext3 will need to be enabled (depending |
90 |
+ on which file system is being used - both can be enabled). |
91 |
</li> |
92 |
<li> |
93 |
While Active Directory, ACL, and PDC functions are out of the intended |
94 |
@@ -300,7 +300,7 @@ |
95 |
First of all: be sure that all your hostnames resolve correctly. Either have a |
96 |
working domain name system running on your network or appropriate entries in |
97 |
your <path>/etc/hosts</path> file. <c>cupsaddsmb</c> often borks if hostnames |
98 |
-don't point to the correct machines. |
99 |
+don't point to the correct machines. |
100 |
</p> |
101 |
|
102 |
<p> |
103 |
@@ -380,12 +380,12 @@ |
104 |
<body> |
105 |
|
106 |
<p> |
107 |
-The main Samba configuration file is <path>/etc/samba/smb.conf</path>. It is |
108 |
-divided in sections indicated by [sectionname]. Comments are either |
109 |
-# or ;. A sample <path>smb.conf</path> is included below with comments and |
110 |
+The main Samba configuration file is <path>/etc/samba/smb.conf</path>. It is |
111 |
+divided in sections indicated by [sectionname]. Comments are either |
112 |
+# or ;. A sample <path>smb.conf</path> is included below with comments and |
113 |
suggestions for modifications. If more details are required, see the man page |
114 |
for <path>smb.conf</path>, the installed <path>smb.conf.example</path>, the |
115 |
-Samba Web site or any of the numerous Samba books available. |
116 |
+Samba Web site or any of the numerous Samba books available. |
117 |
</p> |
118 |
|
119 |
<pre caption="A Sample /etc/samba/smb.conf"> |
120 |
@@ -452,14 +452,14 @@ |
121 |
# be the only printer admin)</comment> |
122 |
printer admin = <i>root</i> |
123 |
|
124 |
-<comment># Now we setup our printers share. This should be |
125 |
+<comment># Now we setup our printers share. This should be |
126 |
# browseable, printable, public.</comment> |
127 |
-[printers] |
128 |
+[printers] |
129 |
comment = All Printers |
130 |
-browseable = no |
131 |
-printable = yes |
132 |
+browseable = no |
133 |
+printable = yes |
134 |
writable = no |
135 |
-public = yes |
136 |
+public = yes |
137 |
guest ok = yes |
138 |
path = /var/spool/samba |
139 |
<comment># Modify this to "username,root" if you don't want root to |
140 |
@@ -512,14 +512,14 @@ |
141 |
</p> |
142 |
|
143 |
<pre caption="Creating the users"> |
144 |
-# <i>smbpasswd -a root</i> |
145 |
+# <i>smbpasswd -a root</i> |
146 |
|
147 |
<comment>(If another user is to be a printer admin)</comment> |
148 |
# <i>smbpasswd -a username</i> |
149 |
</pre> |
150 |
|
151 |
<p> |
152 |
-The Samba passwords need not be the same as the system passwords |
153 |
+The Samba passwords need not be the same as the system passwords |
154 |
in <path>/etc/passwd</path>. |
155 |
</p> |
156 |
|
157 |
@@ -655,7 +655,7 @@ |
158 |
AccessLog /var/log/cups/access_log <comment># probably doesn't need changing</comment> |
159 |
ErrorLog /var/log/cups/error_log <comment># doesn't really need changing either</comment> |
160 |
|
161 |
-LogLevel debug <comment># only while isntalling and testing, should later be |
162 |
+LogLevel debug <comment># only while installing and testing, should later be |
163 |
# changed to 'info'</comment> |
164 |
|
165 |
MaxClients 100 <comment># I've had to set this to 1000000000 or so because some time back, |
166 |
@@ -663,7 +663,7 @@ |
167 |
# making CUPS think a denial of service attack was in progress when |
168 |
# I tried to configure a printer with the web interface. weird.</comment> |
169 |
|
170 |
-BrowseAddress @IF(<i>eth0</i>) <comment># Change this to your internal net interface</comment> |
171 |
+BrowseAddress @IF(<i>eth0</i>) <comment># Change this to your internal net interface</comment> |
172 |
|
173 |
<Location /> |
174 |
Order Deny,Allow |
175 |
@@ -677,7 +677,7 @@ |
176 |
AuthType Basic |
177 |
AuthClass System |
178 |
Allow From <i>192.168.1.*</i> <comment># same as above, allow any host on the |
179 |
- # 192.168.1.0 network to connect and do |
180 |
+ # 192.168.1.0 network to connect and do |
181 |
# administrative tasks after authenticating</comment> |
182 |
Order Deny,Allow |
183 |
Deny From All |
184 |
@@ -685,14 +685,14 @@ |
185 |
</pre> |
186 |
|
187 |
<p> |
188 |
-Edit <path>/etc/cups/mime.convs</path> to uncomment some lines. |
189 |
-The changes to <path>mime.convs</path> and <path>mime.types</path> are |
190 |
-needed to make CUPS print Microsoft Office document files. |
191 |
+Edit <path>/etc/cups/mime.convs</path> to uncomment some lines. The changes to |
192 |
+<path>mime.convs</path> and <path>mime.types</path> are needed to make CUPS |
193 |
+print Microsoft Office document files. |
194 |
</p> |
195 |
|
196 |
<pre caption="/etc/cups/mime.convs"> |
197 |
<comment>(The following line is found near the end of the file. Uncomment it)</comment> |
198 |
-application/octet-stream application/vnd.cups-raw 0 |
199 |
+application/octet-stream application/vnd.cups-raw 0 |
200 |
</pre> |
201 |
|
202 |
<p> |
203 |
@@ -701,11 +701,11 @@ |
204 |
|
205 |
<pre caption="/etc/cups/mime.types"> |
206 |
<comment>(The following line is found near the end of the file. Uncomment it)</comment> |
207 |
-application/octet-stream |
208 |
+application/octet-stream |
209 |
</pre> |
210 |
|
211 |
<p> |
212 |
-CUPS needs to be started on boot, and started immediately. |
213 |
+CUPS needs to be started on boot, and started immediately. |
214 |
</p> |
215 |
|
216 |
<pre caption="Setting up the CUPS service" > |
217 |
@@ -766,9 +766,9 @@ |
218 |
<body> |
219 |
|
220 |
<p> |
221 |
-Now that the printer should be working it is time to install the drivers for the |
222 |
-Windows clients to work. Samba 2.2 introduced this functionality. Browsing to |
223 |
-the print server in the Network Neighbourhood, right-clicking on the |
224 |
+Now that the printer should be working it is time to install the drivers for |
225 |
+the Windows clients to work. Samba 2.2 introduced this functionality. Browsing |
226 |
+to the print server in the Network Neighbourhood, right-clicking on the |
227 |
printershare and selecting "connect" downloads the appropriate drivers |
228 |
automagically to the connecting client, avoiding the hassle of manually |
229 |
installing printer drivers locally. |
230 |
|
231 |
|
232 |
|
233 |
-- |
234 |
gentoo-doc-cvs@g.o mailing list |