How to install SWAT (Samba Web Administration Tool) in 12.04
In a terminal write:
Enable service SWAT in /etc/xinetd.conf and restart with the new configuration by the following:
Create new configuration file /etc/xinetd.d/swat:
Change the permissions smb.conf to group administrator (adm).
Restart service xinetd with following command:
open your web browser and access http://samba_server:[port]. default port: 901
If successful, you will be presented with a dialog box asking for username and password.
Use the username and a password from the admin group to log in, and you’ll have access to SWAT.
There an error ocuride in ubuntu 12.04, try http://joyit.ru/ubuntu/24-swat-samba-ubuntu-12-10.html