-   Linux - Newbie (
-   -   SWAT in SAMBA (

mahajan.ritesh 11-26-2009 01:58 AM

I am just wondering how do i use SWAT utility that cums inbuilt with SAMBA server that provides GUI interface for easy working.So plz tell me What n where shud i edit the files to make it working?

paulsm4 11-26-2009 06:56 PM

If Samba is installed and working, the odds are pretty good SWAT might be installed and working, too. Try this:
If that doesn't work, the exact method for installing and configuring SWAT will depend on your distro. Here's a good example to start with (it should work for Ubuntu, for example):
... or ...

1) sudo apt-get install samba swat

2) sudo vi /etc/xinet.d/swat

# 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
        port    = 901
        socket_type    = stream
        wait    = no
        # Use only_from if you want to restrict access
        # only_from = localhost
        user    = root
        server  = /usr/sbin/swat
        log_on_failure  += USERID
        disable = no

3) sudo /etc/init.d/xinetd restart
'Hope that helps .. PSM

All times are GMT -5. The time now is 03:54 AM.