LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SWAT in SAMBA (http://www.linuxquestions.org/questions/linux-newbie-8/swat-in-samba-771640/)

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

SWAT in SAMBA
 
Friends,
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):

http://www.testmy.net/t-11663
... or ...
https://help.ubuntu.com/community/Swat
Quote:

1) sudo apt-get install samba swat

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

# 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 12:03 PM.