[Samba] Setting up SWAT

Rob Tanner rtanner+samba at linfield.edu
Wed Aug 27 20:25:03 GMT 2003


You need to enable SWAT.  You've currently got disbale set to "yes".  Set
it to "no"  Then you need to HUP the xinet daemon to get it to reread the
files.

-- Rob

--On Wednesday, August 27, 2003 12:42:29 PM -0700 Joseph Phillips
<jphillips at amphus.com> wrote:

> I hope this is the right mailing list to post this question.
> 
> I have my swat binary located at "/usr/local/samba/sbin/swat", and the
> directory access point is "/usr/local/samba/swat".
> 
> I went into my "/etc/xinetd.d" directory and created a new script with
> the name "swat", with the following contents:
> 
># default: off
># description: SWAT is the Samba Web Admin Tool. Use swat
>#              to configure your Samba server. To use SWAT,
>#              connect to port 901 with your favorite web browser.
> service swat
> {
>         disable = yes
>         port    = 901
>         socket_type     = stream
>         wait    = no
>         only_from = localhost
>         user    = root
>         server  = /usr/local/sbin/swat
>         log_on_failure  += USERID
> }
> 
> Then, I issued the following command: chkconfig swat on
> 
> However, when I load up the "http://localhost:901/" page, I don't get
> anything at all.
> 
> Do I need to have apache web server installed, in order to use swat?
> 
> Does anyone know why I can't get swat to come up on my system?
> 
> Thanks.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



  
Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR






More information about the samba mailing list