<html><head><meta DEFANGED_name="qrichtext" content="1" /></head><body style="font-size:9pt;font-family:DejaVu Sans">
<p>Sorry to reply to my own reply, but I think I have the answer.</p>
<p></p>
<p>OK, so I gave swat a try on my Kubuntu machine and found a clue. At the end of the installation process, apt gave me the message:</p>
<p></p>
<p><DEFANGED_span style="font-family:Courier New">Setting up swat (3.0.22-1ubuntu3.1) ...</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New">--------- IMPORTANT INFORMATION FOR XINETD USERS ----------</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New">The following line will be added to your /etc/inetd.conf file:</DEFANGED_span></p>
<p></p>
<p><DEFANGED_span style="font-family:Courier New">swat\t\tstream\ttcp\tnowait.400\troot\t/usr/sbin/tcpd\t/usr/sbin/swat</DEFANGED_span></p>
<p></p>
<p><DEFANGED_span style="font-family:Courier New">If you are indeed using xinetd, you will have to convert the</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New">above into /etc/xinetd.conf format, and add it manually. See</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New">/usr/share/doc/xinetd/README.Debian for more information.</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New">-----------------------------------------------------------</DEFANGED_span></p>
<p></p>
<p>Now if you prefer to install using Adept, I think messages like that aren't exposed unless you click a drop-down or something, so it would be easy to miss. </p>
<p></p>
<p>I restarted xinetd and tried to go to http://localhost:901 and indeed it didn't work. I check the /etc/xinetd.conf and there was no swat entry. I checked /etc/xinetd.d and there was no swat file.</p>
<p></p>
<p>So I did a "sudo nano /etc/xinetd.d/swat" and inserted the following content (gleaned from the swat page in my previous email):</p>
<p></p>
<p><DEFANGED_span style="font-family:Courier New"># default: off</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"># description: SWAT is the Samba Web Admin Tool. Use swat \</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"># to configure your Samba server. To use SWAT, \</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"># connect to port 901 with your favorite web browser.</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New">service swat</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New">{</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"> port = 901</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"> socket_type = stream</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"> wait = no</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"> only_from = localhost</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"> user = root</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"> server = /usr/sbin/swat</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"> log_on_failure += USERID</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New"> disable = no</DEFANGED_span></p>
<p><DEFANGED_span style="font-family:Courier New">}</DEFANGED_span></p>
<p></p>
<p>A restart of xinetd and swat is now working!</p>
<p></p>
<p></p>
<p>On Friday 25 August 2006 08:36, Ben Rousch wrote:</p>
<p>> Is the samba server itself working? You don't actually need swat to use</p>
<p>> samba, especialy since you already have a working smb.conf (posting it here</p>
<p>> may help with the troubleshooting). Maybe once samba is working, swat will</p>
<p>> be easier to troubleshoot ...</p>
<p>></p>
<p>> I am currently using samba server on a few Ubuntu server and Kubuntu setups</p>
<p>> and haven't had any trouble with it.</p>
<p>></p>
<p>> I have never actually used swat, since I am a config file kind of guy. I</p>
<p>> did a Google search to find out a little about it and found this page:</p>
<p>> http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html</p>
<p>></p>
<p>> It bothers me a bit that swat will strip out any comments or configurations</p>
<p>> it doesn't understand. I can see that causing difficult-to-discover</p>
<p>> problems.</p>
<p>></p>
<p>> On Thursday 24 August 2006 18:33, Bob Kline wrote:</p>
<p>> > On 8/24/06, Justin Denick <justin.denick@gmail.com> wrote:</p>
<p>> > > On 8/24/06, Roberto Villarreal <rvillarreal@mktec.com> wrote:</p>
<p>> > > > I've never used swat before, but based on your own diagnostics, have</p>
<p>> > > > you checked the following:</p>
<p>> > > ></p>
<p>> > > > - The swat service is actually running? ( i.e. 'ps ax | grep swat' )</p>
<p>> > > > - If so, have you verified that it is actually listening? (</p>
<p>> > > > i.e. 'netstat -ant | grep 901)</p>
<p>> ></p>
<p>> > I've done the things you mention. swat is not running.</p>
<p>> ></p>
<p>> > > > - Also, this might be an ignorant question, but what is the</p>
<p>> > > > significance</p>
<p>> > ></p>
<p>> > > of</p>
<p>> > ></p>
<p>> > > > port 631? According to my services file, it is IPP (Interenet</p>
<p>> > > > Printing Protocol)</p>
<p>> > ></p>
<p>> > > I suppose it means the person can get to the CUPS web interface, which</p>
<p>> > > tells them that the box is resloving localhost and allowing connections</p>
<p>> > > to it (at least to that port)</p>
<p>> ></p>
<p>> > That was my intention - show that at least something</p>
<p>> > was working. I concede it's perhaps a thin point, but</p>
<p>> > that is what I had in mind.</p>
<p>> ></p>
<p>> > > > Roberto</p>
<p>> ></p>
<p>> > I could easily be missing something simple yet.</p>
<p>> > In my own defense in a small way, I have never</p>
<p>> > had a lot of trouble getting samba to work on</p>
<p>> > Mandrake, so I assume there are things set up</p>
<p>> > there that I'm not aware of. What I read on the</p>
<p>> > Internet says that Kubuntu often presents a real</p>
<p>> > challenge for many users of samba.</p>
<p>> ></p>
<p>> > -Bob</p>
<p>> ></p>
<p>> > > > On Thursday 24 August 2006 12:52 am, Bob Kline wrote:</p>
<p>> > > > > Somewhat in the spirit of "if first you</p>
<p>> > > > > don't succeed, you probably won't</p>
<p>> > > > > the second time either," I'm still having</p>
<p>> > > > > a problem with Samba on a system</p>
<p>> > > > > running Kubuntu 6.06.</p>
<p>> > > > ></p>
<p>> > > > > What I know:</p>
<p>> > > > ></p>
<p>> > > > > * There is an entry for port 901</p>
<p>> > > > > in /etc/services, and the line</p>
<p>> > > > > contains swat.</p>
<p>> > > > ></p>
<p>> > > > > * /etc/xinetd.conf contain a line with</p>
<p>> > > > ></p>
<p>> > > > > swat stream tcp nowait:400 root /usr/sbin/tcpd /usr/sbin/swat</p>
<p>> > > > ></p>
<p>> > > > > * There is a smb.conf file in /etc/samba</p>
<p>> > > > ></p>
<p>> > > > > The same one that works fine on a</p>
<p>> > > > > system running Mandrake 10.1</p>
<p>> > > > ></p>
<p>> > > > > * Putting the URL http://localhost:901/ in Firefox,</p>
<p>> > > > > I get "Problem loading page." Port 631 runs as</p>
<p>> > > > > expected.</p>
<p>> > > > ></p>
<p>> > > > > What I don't know:</p>
<p>> > > > ></p>
<p>> > > > > * Why localhost:901 doesn't work.</p>
<p>> > > > ></p>
<p>> > > > > Anyone see something, or perhaps many</p>
<p>> > > > > things, that I'm missing yet?</p>
<p>> > > > ></p>
<p>> > > > > -Bob</p>
<p>> > > > > _______________________________________________</p>
<p>> > > > > grlug mailing list</p>
<p>> > > > > grlug@grlug.org</p>
<p>> > > > > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</p>
<p>> > > ></p>
<p>> > > > _______________________________________________</p>
<p>> > > > grlug mailing list</p>
<p>> > > > grlug@grlug.org</p>
<p>> > > > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</p>
<p>> > ></p>
<p>> > > --</p>
<p>> > > In vino veritas.</p>
<p>> > > [In wine there is truth.]</p>
<p>> > > -- Pliny</p>
<p>> > > _______________________________________________</p>
<p>> > > grlug mailing list</p>
<p>> > > grlug@grlug.org</p>
<p>> > > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</p>
<p>> ></p>
<p>> > _______________________________________________</p>
<p>> > grlug mailing list</p>
<p>> > grlug@grlug.org</p>
<p>> > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</p>
<p></p>
<p>-- </p>
<p>Ben Rousch</p>
<p>Manager of Information Systems</p>
<p>Van Dam Iron Works</p>
<p>1813 Chicago Dr SW</p>
<p>Grand Rapids, MI 49519</p>
<p>(616) 452-8627</p>
</body></html>