Ignore:
Timestamp:
Mar 1, 2010, 3:05:48 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3.x to 3.3.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/docs/manpages/swat.8

    r368 r411  
    1 '\" t
    21.\"     Title: swat
    32.\"    Author: [see the "AUTHOR" section]
    4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 01/14/2010
     3.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
     4.\"      Date: 02/22/2010
    65.\"    Manual: System Administration tools
    76.\"    Source: Samba 3.3
    87.\"  Language: English
    98.\"
    10 .TH "SWAT" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools"
     9.TH "SWAT" "8" "02/22/2010" "Samba 3\&.3" "System Administration tools"
     10.\" -----------------------------------------------------------------
     11.\" * (re)Define some macros
     12.\" -----------------------------------------------------------------
     13.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     14.\" toupper - uppercase a string (locale-aware)
     15.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     16.de toupper
     17.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
     18\\$*
     19.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
     20..
     21.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     22.\" SH-xref - format a cross-reference to an SH section
     23.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     24.de SH-xref
     25.ie n \{\
     26.\}
     27.toupper \\$*
     28.el \{\
     29\\$*
     30.\}
     31..
     32.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     33.\" SH - level-one heading that works better for non-TTY output
     34.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     35.de1 SH
     36.\" put an extra blank line of space above the head in non-TTY output
     37.if t \{\
     38.sp 1
     39.\}
     40.sp \\n[PD]u
     41.nr an-level 1
     42.set-an-margin
     43.nr an-prevailing-indent \\n[IN]
     44.fi
     45.in \\n[an-margin]u
     46.ti 0
     47.HTML-TAG ".NH \\n[an-level]"
     48.it 1 an-trap
     49.nr an-no-space-flag 1
     50.nr an-break-flag 1
     51\." make the size of the head bigger
     52.ps +3
     53.ft B
     54.ne (2v + 1u)
     55.ie n \{\
     56.\" if n (TTY output), use uppercase
     57.toupper \\$*
     58.\}
     59.el \{\
     60.nr an-break-flag 0
     61.\" if not n (not TTY), use normal case (not uppercase)
     62\\$1
     63.in \\n[an-margin]u
     64.ti 0
     65.\" if not n (not TTY), put a border/line under subheading
     66.sp -.6
     67\l'\n(.lu'
     68.\}
     69..
     70.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     71.\" SS - level-two heading that works better for non-TTY output
     72.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     73.de1 SS
     74.sp \\n[PD]u
     75.nr an-level 1
     76.set-an-margin
     77.nr an-prevailing-indent \\n[IN]
     78.fi
     79.in \\n[IN]u
     80.ti \\n[SN]u
     81.it 1 an-trap
     82.nr an-no-space-flag 1
     83.nr an-break-flag 1
     84.ps \\n[PS-SS]u
     85\." make the size of the head bigger
     86.ps +2
     87.ft B
     88.ne (2v + 1u)
     89.if \\n[.$] \&\\$*
     90..
     91.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     92.\" BB/BE - put background/screen (filled box) around block of text
     93.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     94.de BB
     95.if t \{\
     96.sp -.5
     97.br
     98.in +2n
     99.ll -2n
     100.gcolor red
     101.di BX
     102.\}
     103..
     104.de EB
     105.if t \{\
     106.if "\\$2"adjust-for-leading-newline" \{\
     107.sp -1
     108.\}
     109.br
     110.di
     111.in
     112.ll
     113.gcolor
     114.nr BW \\n(.lu-\\n(.i
     115.nr BH \\n(dn+.5v
     116.ne \\n(BHu+.5v
     117.ie "\\$2"adjust-for-leading-newline" \{\
     118\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     119.\}
     120.el \{\
     121\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
     122.\}
     123.in 0
     124.sp -.5v
     125.nf
     126.BX
     127.in
     128.sp .5v
     129.fi
     130.\}
     131..
     132.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     133.\" BM/EM - put colored marker in margin next to block of text
     134.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     135.de BM
     136.if t \{\
     137.br
     138.ll -2n
     139.gcolor red
     140.di BX
     141.\}
     142..
     143.de EM
     144.if t \{\
     145.br
     146.di
     147.ll
     148.gcolor
     149.nr BH \\n(dn
     150.ne \\n(BHu
     151\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
     152.in 0
     153.nf
     154.BX
     155.in
     156.fi
     157.\}
     158..
    11159.\" -----------------------------------------------------------------
    12160.\" * set default formatting
     
    19167.\" * MAIN CONTENT STARTS HERE *
    20168.\" -----------------------------------------------------------------
    21 .SH "NAME"
     169.SH "Name"
    22170swat \- Samba Web Administration Tool
    23 .SH "SYNOPSIS"
     171.SH "Synopsis"
     172.fam C
    24173.HP \w'\ 'u
    25 swat [\-s\ <smb\ config\ file>] [\-a] [\-P]
     174\FCswat\F[] [\-s\ <smb\ config\ file>] [\-a] [\-P]
     175.fam
    26176.SH "DESCRIPTION"
    27177.PP
     
    30180suite\&.
    31181.PP
    32 swat
     182\FCswat\F[]
    33183allows a Samba administrator to configure the complex
    34184\fBsmb.conf\fR(5)
    35185file via a Web browser\&. In addition, a
    36 swat
     186\FCswat\F[]
    37187configuration page has help links to all the configurable options in the
    38 smb\&.conf
     188\FCsmb\&.conf\F[]
    39189file allowing an administrator to easily look up the effects of any change\&.
    40190.PP
    41 swat
     191\FCswat\F[]
    42192is run from
    43 inetd
     193\FCinetd\F[]
    44194.SH "OPTIONS"
    45195.PP
     
    49199\fBsmbd\fR(8)
    50200server\&. This is the file that
    51 swat
     201\FCswat\F[]
    52202will modify\&. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See
    53 smb\&.conf
     203\FCsmb\&.conf\F[]
    54204for more information\&.
    55205.RE
     
    58208.RS 4
    59209This option disables authentication and places
    60 swat
     210\FCswat\F[]
    61211in demo mode\&. In that mode anyone will be able to modify the
    62 smb\&.conf
     212\FCsmb\&.conf\F[]
    63213file\&.
    64214.sp
     
    69219.RS 4
    70220This option restricts read\-only users to the password management page\&.
    71 swat
     221\FCswat\F[]
    72222can then be used to change user passwords without users seeing the "View" and "Status" menu buttons\&.
    73223.RE
     
    85235\m[blue]\fB\%smb.conf.5.html#\fR\m[]
    86236parameter in the
    87 smb\&.conf
     237\FCsmb\&.conf\F[]
    88238file\&.
    89239.RE
     
    97247.RS 4
    98248The file specified contains the configuration details required by the server\&. The information in this file includes server\-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See
    99 smb\&.conf
     249\FCsmb\&.conf\F[]
    100250for more information\&. The default configuration file name is determined at compile time\&.
    101251.RE
     
    117267.PP
    118268After you compile SWAT you need to run
    119 make install
     269\FCmake install \F[]
    120270to install the
    121 swat
     271\FCswat\F[]
    122272binary and the various help files and images\&. A default install would put these in:
    123273.sp
     
    158308.PP
    159309You need to edit your
    160 /etc/inetd\&.conf
     310\FC/etc/inetd\&.conf \F[]
    161311and
    162 /etc/services
     312\FC/etc/services\F[]
    163313to enable SWAT to be launched via
    164 inetd\&.
     314\FCinetd\F[]\&.
    165315.PP
    166316In
    167 /etc/services
     317\FC/etc/services\F[]
    168318you need to add a line like this:
    169319.PP
    170 swat 901/tcp
     320\FCswat 901/tcp\F[]
    171321.PP
    172322Note for NIS/YP and LDAP users \- you may need to rebuild the NIS service maps rather than alter your local
    173 /etc/services
     323\FC /etc/services\F[]
    174324file\&.
    175325.PP
    176326the choice of port number isn\'t really important except that it should be less than 1024 and not currently used (using a number above 1024 presents an obscure security hole depending on the implementation details of your
    177 inetd
     327\FCinetd\F[]
    178328daemon)\&.
    179329.PP
    180330In
    181 /etc/inetd\&.conf
     331\FC/etc/inetd\&.conf\F[]
    182332you should add a line like this:
    183333.PP
    184 swat stream tcp nowait\&.400 root /usr/local/samba/sbin/swat swat
     334\FCswat stream tcp nowait\&.400 root /usr/local/samba/sbin/swat swat\F[]
    185335.PP
    186336Once you have edited
    187 /etc/services
     337\FC/etc/services\F[]
    188338and
    189 /etc/inetd\&.conf
     339\FC/etc/inetd\&.conf\F[]
    190340you need to send a HUP signal to inetd\&. To do this use
    191 kill \-1 PID
     341\FCkill \-1 PID \F[]
    192342where PID is the process ID of the inetd daemon\&.
    193343.SH "LAUNCHING"
     
    198348.SH "FILES"
    199349.PP
    200 /etc/inetd\&.conf
     350\FC/etc/inetd\&.conf\F[]
    201351.RS 4
    202352This file must contain suitable startup information for the meta\-daemon\&.
    203353.RE
    204354.PP
    205 /etc/services
     355\FC/etc/services\F[]
    206356.RS 4
    207357This file must contain a mapping of service name (e\&.g\&., swat) to service port (e\&.g\&., 901) and protocol type (e\&.g\&., tcp)\&.
    208358.RE
    209359.PP
    210 /usr/local/samba/lib/smb\&.conf
     360\FC/usr/local/samba/lib/smb\&.conf\F[]
    211361.RS 4
    212362This is the default location of the
    213363\fBsmb.conf\fR(5)
    214364server configuration file that swat edits\&. Other common places that systems install this file are
    215 /usr/samba/lib/smb\&.conf
     365\FC /usr/samba/lib/smb\&.conf\F[]
    216366and
    217 /etc/smb\&.conf\&. This file describes all the services the server is to make available to clients\&.
     367\FC/etc/smb\&.conf \F[]\&. This file describes all the services the server is to make available to clients\&.
    218368.RE
    219369.SH "WARNINGS"
    220370.PP
    221 swat
     371\FCswat\F[]
    222372will rewrite your
    223373\fBsmb.conf\fR(5)
     
    227377\fIcopy= \fR
    228378options\&. If you have a carefully crafted
    229 smb\&.conf
     379\FC smb\&.conf\F[]
    230380then back it up or don\'t use swat!
    231381.SH "VERSION"
     
    234384.SH "SEE ALSO"
    235385.PP
    236 inetd(5),
     386\FCinetd(5)\F[],
    237387\fBsmbd\fR(8),
    238388\fBsmb.conf\fR(5)
Note: See TracChangeset for help on using the changeset viewer.