Added faq directory under docs. Translated the whole of the current
[samba.git] / docs / faq / sambafaq-1.html
1 <HTML>
2 <HEAD>
3 <TITLE> Samba FAQ: General Information</TITLE>
4 </HEAD>
5 <BODY>
6 Previous
7 <A HREF="sambafaq-2.html">Next</A>
8 <A HREF="sambafaq.html#toc1">Table of Contents</A>
9 <HR>
10 <H2><A NAME="s1">1. General Information</A></H2>
11
12 <P> 
13 <A NAME="general_info"></A> 
14 </P>
15 <P>All about Samba - what it is, how to get it, related sources of
16 information, how to understand the version numbering scheme, pizza
17 details</P>
18
19 <H2><A NAME="ss1.1">1.1 What is Samba? </A></H2>
20
21 <P> 
22 <A NAME="introduction"></A> 
23 </P>
24 <P>Samba is a suite of programs which work together to allow clients to
25 access to a server's filespace and printers via the SMB (Server
26 Message Block) protocol. Initially written for Unix, Samba now also
27 runs on Netware, OS/2 and VMS.</P>
28 <P>In practice, this means that you can redirect disks and printers to
29 Unix disks and printers from Lan Manager clients, Windows for
30 Workgroups 3.11 clients, Windows NT clients, Linux clients and OS/2
31 clients. There is also a generic Unix client program supplied as part
32 of the suite which allows Unix users to use an ftp-like interface to
33 access filespace and printers on any other SMB servers. This gives the
34 capability for these operating systems to behave much like a LAN
35 Server or Windows NT Server machine, only with added functionality and
36 flexibility designed to make life easier for administrators.</P>
37 <P>The components of the suite are (in summary):</P>
38 <P>
39 <UL>
40 <LI> smbd, the SMB server. This handles actual connections from
41 clients, doing all the file, permission and username work
42 </LI>
43 <LI>nmbd, the Netbios name server, which helps clients locate
44 servers, doing the browsing work and managing domains as this
45 capability is being built into Samba
46 </LI>
47 <LI>smbclient, the Unix-hosted client program
48 </LI>
49 <LI>smbrun, a little 'glue' program to help the server run external
50 programs
51 </LI>
52 <LI>testprns, a program to test server access to printers
53 </LI>
54 <LI>testparms, a program to test the Samba configuration file for
55 correctness
56 </LI>
57 <LI>smb.conf, the Samba configuration file
58 </LI>
59 <LI> smbprint, a sample script to allow a Unix host to use smbclient
60 to print to an SMB server
61 </LI>
62 <LI> documentation! DON'T neglect to read it - you will save a great
63 deal of time!
64 </LI>
65 </UL>
66 </P>
67 <P>The suite is supplied with full source (of course!) and is GPLed.</P>
68 <P>The primary creator of the Samba suite is Andrew Tridgell. Later
69 versions incorporate much effort by many net.helpers. The man pages
70 and this FAQ were originally written by Karl Auer.</P>
71
72
73 <H2><A NAME="ss1.2">1.2 What is the current version of Samba? </A></H2>
74
75 <P> 
76 <A NAME="current_version"></A> 
77 </P>
78 <P>At time of writing, the current version was 1.9.16. If you want to be
79 sure check the bottom of the change-log file. 
80 <A HREF="ftp://samba.anu.edu.au/pub/samba/alpha/change-log">ftp://samba.anu.edu.au/pub/samba/alpha/change-log</A></P>
81 <P>For more information see 
82 <A HREF="#version_nums">What do the version numbers mean?</A></P>
83
84
85 <H2><A NAME="ss1.3">1.3 Where can I get it? </A></H2>
86
87 <P> 
88 <A NAME="where"></A> 
89 </P>
90 <P>The Samba suite is available via anonymous ftp from
91 samba.anu.edu.au. The latest and greatest versions of the suite are in
92 the directory:</P>
93 <P>/pub/samba/</P>
94 <P>Development (read "alpha") versions, which are NOT necessarily stable
95 and which do NOT necessarily have accurate documentation, are
96 available in the directory:</P>
97 <P>/pub/samba/alpha</P>
98 <P>Note that binaries are NOT included in any of the above. Samba is
99 distributed ONLY in source form, though binaries may be available from
100 other sites. Recent versions of some Linux distributions, for example,
101 do contain Samba binaries for that platform.</P>
102
103
104 <H2><A NAME="ss1.4">1.4 What do the version numbers mean? </A></H2>
105
106 <P> 
107 <A NAME="version_nums"></A> 
108 </P>
109 <P>It is not recommended that you run a version of Samba with the word
110 "alpha" in its name unless you know what you are doing and are willing
111 to do some debugging. Many, many people just get the latest
112 recommended stable release version and are happy. If you are brave, by
113 all means take the plunge and help with the testing and development -
114 but don't install it on your departmental server. Samba is typically
115 very stable and safe, and this is mostly due to the policy of many
116 public releases.</P>
117 <P>How the scheme works:</P>
118 <P>1) when major changes are made the version number is increased. For
119 example, the transition from 1.9.15 to 1.9.16. However, this version
120 number will not appear immediately and people should continue to use
121 1.9.15 for production systems (see next point.)</P>
122 <P>2) just after major changes are made the software is considered
123 unstable, and a series of alpha releases are distributed, for example
124 1.9.16alpha1. These are for testing by those who know what they are
125 doing.  The "alpha" in the filename will hopefully scare off those who
126 are just looking for the latest version to install.</P>
127 <P>3) when Andrew thinks that the alphas have stabilised to the point
128 where he would recommend new users install it, he renames it to the
129 same version number without the alpha, for example 1.9.16.</P>
130 <P>4) inevitably bugs are found in the "stable" releases and minor patch
131 levels are released which give us the pXX series, for example
132 1.9.16p2.</P>
133 <P>So the progression goes:</P>
134 <P>1.9.15p7        (production)
135 1.9.15p8        (production)
136 1.9.16alpha1    (test sites only)
137 :
138 1.9.16alpha20   (test sites only)
139 1.9.16          (production)
140 1.9.16p1        (production)</P>
141 <P>The above system means that whenever someone looks at the samba ftp
142 site they will be able to grab the highest numbered release without an
143 alpha in the name and be sure of getting the current recommended
144 version.</P>
145
146
147 <H2><A NAME="ss1.5">1.5 What platforms are supported? </A></H2>
148
149 <P> 
150 <A NAME="platforms"></A> 
151 </P>
152 <P>Many different platforms have run Samba successfully. The platforms
153 most widely used and thus best tested are Linux and SunOS.</P>
154 <P>At time of writing, the Makefile claimed support for:</P>
155 <P>* SunOS
156 * Linux with shadow passwords
157 * Linux without shadow passwords
158 * SOLARIS
159 * SOLARIS 2.2 and above (aka SunOS 5)
160 * SVR4
161 * ULTRIX
162 * OSF1 (alpha only)
163 * OSF1 with NIS and Fast Crypt (alpha only)
164 * OSF1 V2.0 Enhanced Security (alpha only)
165 * AIX
166 * BSDI
167 * NetBSD
168 * NetBSD 1.0
169 * SEQUENT
170 * HP-UX
171 * SGI
172 * SGI IRIX 4.x.x
173 * SGI IRIX 5.x.x
174 * FreeBSD
175 * NeXT 3.2 and above
176 * NeXT OS 2.x
177 * NeXT OS 3.0
178 * ISC SVR3V4 (POSIX mode)
179 * ISC SVR3V4 (iBCS2 mode)
180 * A/UX 3.0
181 * SCO with shadow passwords.
182 * SCO with shadow passwords, without YP.
183 * SCO with TCB passwords
184 * SCO 3.2v2 (ODT 1.1) with TCP passwords
185 * intergraph
186 * DGUX
187 * Apollo Domain/OS sr10.3 (BSD4.3)</P>
188
189
190 <H2><A NAME="ss1.6">1.6 How can I find out more about Samba? </A></H2>
191
192 <P> 
193 <A NAME="more"></A> 
194 </P>
195 <P>There are two mailing lists devoted to discussion of Samba-related
196 matters.  There is also the newsgroup, comp.protocols.smb, which has a
197 great deal of discussion on Samba. There is also a WWW site 'SAMBA Web
198 Pages' at http://samba.canberra.edu.au/pub/samba/samba.html, under
199 which there is a comprehensive survey of Samba users. Another useful
200 resource is the hypertext archive of the Samba mailing list.</P>
201 <P>Send email to listproc@samba.anu.edu.au. Make sure the subject line is
202 blank, and include the following two lines in the body of the message:</P>
203 <P>subscribe samba Firstname Lastname
204 subscribe samba-announce Firstname Lastname</P>
205 <P>Obviously you should substitute YOUR first name for "Firstname" and
206 YOUR last name for "Lastname"! Try not to send any signature stuff, it
207 sometimes confuses the list processor.</P>
208 <P>The samba list is a digest list - every eight hours or so it
209 regurgitates a single message containing all the messages that have
210 been received by the list since the last time and sends a copy of this
211 message to all subscribers.</P>
212 <P>If you stop being interested in Samba, please send another email to
213 listproc@samba.anu.edu.au. Make sure the subject line is blank, and
214 include the following two lines in the body of the message:</P>
215 <P>unsubscribe samba
216 unsubscribe samba-announce</P>
217 <P>The From: line in your message MUST be the same address you used when
218 you subscribed.</P>
219
220
221 <H2><A NAME="ss1.7">1.7 Something's gone wrong - what should I do? </A></H2>
222
223 <P> 
224 <A NAME="wrong"></A> 
225 </P>
226 <P><F>#</F> *** IMPORTANT! *** <F>#</F> 
227 DO NOT post messages on mailing lists or in newsgroups until you have
228 carried out the first three steps given here!</P>
229 <P>Firstly, see if there are any likely looking entries in this FAQ! If
230 you have just installed Samba, have you run through the checklist in
231 DIAGNOSIS.txt? It can save you a lot of time and effort.</P>
232 <P>Secondly, read the man pages for smbd, nmbd and smb.conf, looking for
233 topics that relate to what you are trying to do.</P>
234 <P>Thirdly, if there is no obvious solution to hand, try to get a look at
235 the log files for smbd and/or nmbd for the period during which you
236 were having problems. You may need to reconfigure the servers to
237 provide more extensive debugging information - usually level 2 or
238 level 3 provide ample debugging info. Inspect these logs closely,
239 looking particularly for the string "Error:".</P>
240 <P>Fourthly, if you still haven't got anywhere, ask the mailing list or
241 newsgroup.  In general nobody minds answering questions provided you
242 have followed the preceding steps. It might be a good idea to scan the
243 archives of the mailing list, which are available through the Samba
244 web site described in the previous
245 section.</P>
246 <P>If you successfully solve a problem, please mail the FAQ maintainer a
247 succinct description of the symptom, the problem and the solution, so
248 I can incorporate it in the next version.</P>
249 <P>If you make changes to the source code, _please_ submit these patches
250 so that everyone else gets the benefit of your work. This is one of
251 the most important aspects to the maintainence of Samba. Send all
252 patches to samba-bugs@samba.anu.edu.au, not Andrew Tridgell or any
253 other individual and not the samba team mailing list.</P>
254
255
256 <H2><A NAME="ss1.8">1.8 Pizza supply details </A></H2>
257
258 <P> 
259 <A NAME="pizza"></A> 
260 </P>
261 <P>Those who have registered in the Samba survey as "Pizza Factory" will
262 already know this, but the rest may need some help. Andrew doesn't ask
263 for payment, but he does appreciate it when people give him
264 pizza. This calls for a little organisation when the pizza donor is
265 twenty thousand kilometres away, but it has been done.</P>
266 <P>Method 1: Ring up your local branch of an international pizza chain
267 and see if they honour their vouchers internationally. Pizza Hut do,
268 which is how the entire Canberra Linux Users Group got to eat pizza
269 one night, courtesy of someone in the US</P>
270 <P>Method 2: Ring up a local pizza shop in Canberra and quote a credit
271 card number for a certain amount, and tell them that Andrew will be
272 collecting it (don't forget to tell him.) One kind soul from Germany
273 did this.</P>
274 <P>Method 3: Purchase a pizza voucher from your local pizza shop that has
275 no international affiliations and send it to Andrew. It is completely
276 useless but he can hang it on the wall next to the one he already has
277 from Germany :-)</P>
278 <P>Method 4: Air freight him a pizza with your favourite regional
279 flavours. It will probably get stuck in customs or torn apart by
280 hungry sniffer dogs but it will have been a noble gesture.</P>
281
282
283 <HR>
284 Previous
285 <A HREF="sambafaq-2.html">Next</A>
286 <A HREF="sambafaq.html#toc1">Table of Contents</A>
287 </BODY>
288 </HTML>