[Samba] SWAT Question

Stephen Larsen Slarsen at lyrix.com
Mon Jan 6 01:35:02 GMT 2003

First Class .. it worked .. thanks so very much.

Steve L

                    Ronan Waide                                                                
                    <waider at waider.ie        To:     "Stephen Larsen" <Slarsen at lyrix.com>      
                    >                        cc:     samba at lists.samba.org                     
                    Sent by:                 Subject:     Re: [Samba] SWAT Question            
                    samba-admin at lists                                                          
                    01/05/2003 08:29                                                           

On January 5, Slarsen at lyrix.com said:
> I am running a Samba Server on a 7.0 Linux machine.
> I am having poor luck in enabling SWAT. As this machine
> has no inetd.conf file but instead has a xinetd.conf file.
> To this file I have added the line:
> swat stream tcp nowait.400 root /usr/sbin/swat swat
> Then rebooted the system, restarted samba.
> Then I've tried to connect to the IP,
> and it doesn't display the swat admin page.
> I am not sure what I'm doing wrong.
> Steve L

xinetd.conf is very different to inetd.conf. Rather than editing the
xinetd.conf file directly, put the details of the service into a file
in /etc/xinetd.d/ and format it like this:

# default: on
# description:  swat configures samba
service swat
        socket_type     = stream
        protocol        = tcp
        port            = 901
        type            = UNLISTED
        wait            = no
        user            = root
        server          = /usr/sbin/swat
        server_args     = swat
        disable         = no

then restart xinetd (service xinetd restart) and try again.

Note, this is untested. You may need to check the xinetd.conf manual
page to make sure the above is formatted correctly.

waider at waider.ie / Yes, it /is/ very personal of me.

AjD feels frustrated in his attempts to establish the delinitations of
  horror in puppy-burying.
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list