Enabling Samba and SWAT on Ubuntu

I recently got an album from AllOfMP3.com on my laptop while I was away from my house, and wanted it on my desktop computer. In the past I’ve used Samba to transfer from Windows to Linux, so that’s what I did this time.

There were a couple of problems though, i didn’t have samba installed or configured because I just switched from Ubuntu Breezy to Ubuntu Dapper. Samba can be a bit of a pain to set up by hand, so that’s why I use SWAT (Samba Web Administration Tool).

SWAT doesn’t work automatically in ubuntu though, in order to get it to work the install the following packages if you’re using inetd (not recommended):


apt-get install samba swat netkit-inetd
sudo update-inetd --enable 'swat'

Otherwise, if you’re using the recommended xinetd use the following fix:

Create a text file called ‘swat’ with the following information in it:


# default: on
# description: SWAT - The Samba Web Administration Toolkit
service vmware-authd
{
disable = no
port = 901
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/swat
type = unlisted
}

Then restart either (x)inetd and in your browser goto http://localhost:901 to log in.

That should work, if it doesn’t email me at howe dot jon -at- gmail _dot_ com

7 thoughts on “Enabling Samba and SWAT on Ubuntu

  1. Thanks a lot, Howe.Jon!!!
    I’ve been searching the internet for a while as well as I’ve tried to get swat to work on my Ubuntu Dapper Drake system on my own. Finally, I succeeded by simply installing netkit-inetd (as you wrote in your short How To)!!! One should add this to the dependencies of swat…

    Again, many thanks!
    With kind regards,
    Wastl

  2. Mr. Howe.

    Thank you so much, I’ve spent days trying to resolve this issue. All the articles I’ve read just led me in different directions. I’m new to linux and like the ubuntu desktop, Your How To worked perfect.

    Wishing you much health and happiness!
    Roy

Leave a Reply to chirayu patel Cancel reply

Your email address will not be published. Required fields are marked *

Copyright VirtJunkie.com © 2020
Click to access the login or register cheese