LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't open SAMBA through web browser !! (https://www.linuxquestions.org/questions/linux-networking-3/cant-open-samba-through-web-browser-399023/)

tuxuser19 01-03-2006 07:54 AM

Can't open SAMBA through web browser !!
 
I have just started knowing about SAMBA and it's usage. I heard that SAMBA has a "Swat" tool with which we can open SAMBA through a web browser by typing in http://localhost:901/ , but I can't open it, I get a message saying "Connection refused when contacting the localhost:901"

I know that the other way to open the SAMBA config is through /etc/samba/smb.conf

I am running Ubuntu Breezy. Any suggestions or clues ?

Nylex 01-03-2006 08:05 AM

You need to enable SWAT before you can use it. There are instructions on how to do this here.

tuxuser19 01-03-2006 01:31 PM

Thanx u :) I will give it a go..

gundestrup 03-16-2006 10:28 AM

I have persistent problems, with getting swat to run under kubuntu.
I have tried everything.
Disenabled ipv6
manualle written the config line in /etc/inetd.conf, taken from my running debian server.

but nothing works!

anyone pls help me.

I have also enabled the root account, to make the sure that program could run correctly.

regards
svend

gundestrup 03-16-2006 01:59 PM

I ended up, finding a solution:
1) In /etc/inetd.conf remove the "#<off>#" on the swat line so it looks like this:
swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat

2) Install the inetd and swat packages 'sudo apt-get install inetd swat'

3) To use swat you will need your root password. If you don't know it (ubuntu sets one at install time and doesn't tell you what it is) then change it: 'sudo passwd'

But why the XXXX do I have to manually install inetd ?
Someting tells me, that someone in ubuntu/kubuntu has made an error....
Since all other items of inetd is present in the system!


All times are GMT -5. The time now is 10:02 PM.