SWAT
Sir,
How to configure SAMBA Services through SWAT and how to run this SWAT program(which runs in a browser window)to set up the files.
Regards,
Manish.
Linux
Sir,
How to configure SAMBA Services through SWAT and how to run this SWAT program(which runs in a browser window)to set up the files.
Regards,
Manish.
Its actually not that difficult. You have to edit /etc/services. Look for a commented line as follows. # swat 901/tcp. Uncomment this by removing the hash. This line tells your server which port to listen to for the protocol tcp."901"
Next, edit /etc/inetd.conf
Also look for the entry "swat" You should see something as follows
# swat stream tcp nowait.400 root /usr/sbin/swat swat
remove the hash.
This is needed to start the swat services.
Now here is the fun part. From one of your connected machines, from a browser, type http://ipaddressofserver:901
You should get a login. Thats the part I do not like because you must login as root, with the root password. This is an unencrypted transmission of your root password. For home use should be fine. Other than that, there could be something out there for this.
I find editing the smb.conf much better, and I can use ssl for telnet across my network and access the file securely.
The rest is basic. smb.conf is the file that swat edits. I had more fun with testing some settings and got some surprising results. I would first make a backup of smb.conf before I started doing any changes.
smb.conf is pretty basic. The original smb.conf comes with different sections which are pretty explanatory.
Hopes this helps as a start.
This discussion is closed to new replies.
Sort by Trending