1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD
28 >swat -- Samba Web Administration Tool</DIV
30 CLASS="REFSYNOPSISDIV"
40 > [-s <smb config file>] [-a]</P
50 >This tool is part of the <SPAN
61 > allows a Samba administrator to
62 configure the complex <SPAN
68 > file via a Web browser. In addition,
72 > configuration page has help links
73 to all the configurable options in the <TT
77 administrator to easily look up the effects of any change. </P
100 >-s smb configuration file</DT
103 >The default configuration file path is
104 determined at compile time. The file specified contains
105 the configuration details required by the <SPAN
108 CLASS="REFENTRYTITLE"
111 > server. This is the file
116 The information in this file includes server-specific
117 information such as what printcap file to use, as well as
118 descriptions of all the services that the server is to provide.
122 > for more information.
129 >This option disables authentication and puts
133 > in demo mode. In that mode anyone will be able to modify
143 >WARNING: Do NOT enable this option on a production
159 >After you compile SWAT you need to run <B
167 and the various help files and images. A default install would put
174 >/usr/local/samba/bin/swat</P
178 >/usr/local/samba/swat/images/*</P
182 >/usr/local/samba/swat/help/*</P
191 >Inetd Installation</H3
193 >You need to edit your <TT
201 to enable SWAT to be launched via <B
210 add a line like this: </P
217 >Note for NIS/YP users - you may need to rebuild the
218 NIS service maps rather than alter your local <TT
223 >the choice of port number isn't really important
224 except that it should be less than 1024 and not currently
225 used (using a number above 1024 presents an obscure security
226 hole depending on the implementation details of your
236 add a line like this: </P
240 >swat stream tcp nowait.400 root
241 /usr/local/samba/bin/swat swat</B
244 >One you have edited <TT
252 HUP signal to inetd. To do this use <B
256 > where PID is the process ID of the inetd daemon. </P
266 >To launch SWAT just run your favorite web browser and
267 point it at "http://localhost:901/".</P
269 >Note that you can attach to SWAT from any IP connected
270 machine but connecting from a remote machine leaves your
271 connection open to password sniffing as passwords will be sent
272 in the clear over the wire. </P
294 >This file must contain suitable startup
295 information for the meta-daemon.</P
304 >This file must contain a mapping of service name
305 (e.g., swat) to service port (e.g., 901) and protocol type
311 >/usr/local/samba/lib/smb.conf</TT
315 >This is the default location of the <SPAN
318 CLASS="REFENTRYTITLE"
321 > server configuration file that swat edits. Other
322 common places that systems install this file are <TT
324 > /usr/samba/lib/smb.conf</TT
329 >. This file describes all the services the server
330 is to make available to clients. </P
346 > will rewrite your <SPAN
349 CLASS="REFENTRYTITLE"
352 > file. It will rearrange the entries and delete all
360 > options. If you have a carefully crafted <TT
363 > then back it up or don't use swat! </P
373 >This man page is correct for version 2.2 of the Samba suite.</P
389 CLASS="REFENTRYTITLE"
395 CLASS="REFENTRYTITLE"
408 >The original Samba software and related utilities
409 were created by Andrew Tridgell. Samba is now developed
410 by the Samba Team as an Open Source project similar
411 to the way the Linux kernel is developed.</P
413 >The original Samba man pages were written by Karl Auer.
414 The man page sources were converted to YODL format (another
415 excellent piece of Open Source software, available at <A
416 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
418 > ftp://ftp.icce.rug.nl/pub/unix/</A
419 >) and updated for the Samba 2.0
420 release by Jeremy Allison. The conversion to DocBook for
421 Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for
422 Samba 3.0 was done by Alexander Bokovoy.</P