[GRLUG] Samba on Kubuntu

Godwin geektoyz at gmail.com
Fri Aug 25 08:56:47 EDT 2006


http://www.watsky.net/cgi-bin/yabb/YaBB.cgi?board=BOFH;action=display;num=1107570812

Apparently, you need the "inetd" and "swat" packages on Ubuntu.  I
just tried in on Ubuntu 6.06.1 and it worked.  All attempts to get
swat working w/o it failed.  Give it a try:


root at birdofpray:/etc/xinetd.d# apt-get install inetd
...
Note, selecting inetutils-inetd instead of inetd
...
Setting up inetutils-inetd (1.4.3+20051212-3) ...
 * Starting internet superserver inetd                                   [ ok ]

root at birdofpray:/etc/xinetd.d#
godwin at birdofpray:~$ netstat -l | grep swat
tcp6       0      0 *:swat                  *:*                     LISTEN
godwin at birdofpray:~$




On 8/25/06, Ben Rousch <brousch at orthicomp.com> wrote:
> Is the samba server itself working? You don't actually need swat to use samba,
> especialy since you already have a working smb.conf (posting it here may help
> with the troubleshooting). Maybe once samba is working, swat will be easier
> to troubleshoot ...
>
> I am currently using samba server on a few Ubuntu server and Kubuntu setups
> and haven't had any trouble with it.
>
> I have never actually used swat, since I am a config file kind of guy. I did a
> Google search to find out a little about it and found this page:
> http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html
>
> It bothers me a bit that swat will strip out any comments or configurations it
> doesn't understand. I can see that causing difficult-to-discover problems.
>
>
> On Thursday 24 August 2006 18:33, Bob Kline wrote:
> > On 8/24/06, Justin Denick <justin.denick at gmail.com> wrote:
> > > On 8/24/06, Roberto Villarreal <rvillarreal at mktec.com> wrote:
> > > > I've never used swat before, but based on your own diagnostics, have
> > > > you checked the following:
> > > >
> > > > - The swat service is actually running?  ( i.e. 'ps ax | grep swat' )
> > > > - If so, have you verified that it is actually listening?  (
> > > > i.e. 'netstat -ant | grep 901)
> >
> > I've done the things you mention.   swat is not running.
> >
> > > > - Also, this might be an ignorant question, but what is the
> > > > significance
> > >
> > > of
> > >
> > > > port 631?  According to my services file, it is IPP (Interenet Printing
> > > > Protocol)
> > >
> > >  I suppose it means the person can get to the CUPS web interface, which
> > > tells them that the box is resloving localhost and allowing connections
> > > to it (at least to that port)
> >
> > That was my intention - show that at least something
> > was working.  I concede it's perhaps a thin point,  but
> > that is what I had in mind.
> >
> > > > Roberto
> >
> > I could easily be missing something simple yet.
> > In my own defense in a small way,  I have never
> > had a lot of trouble getting samba to work on
> > Mandrake,  so I assume there are things set up
> > there that I'm not aware of.  What I read on the
> > Internet says that Kubuntu often presents a real
> > challenge for  many users of samba.
> >
> >      -Bob
> >
> > > > On Thursday 24 August 2006 12:52 am, Bob Kline wrote:
> > > > > Somewhat in the spirit of "if first you
> > > > > don't succeed,  you probably won't
> > > > > the second time either,"  I'm still having
> > > > > a problem with Samba on a system
> > > > > running Kubuntu 6.06.
> > > > >
> > > > > What I know:
> > > > >
> > > > > * There is an entry for port 901
> > > > >    in /etc/services,  and the line
> > > > >   contains swat.
> > > > >
> > > > > * /etc/xinetd.conf contain a line with
> > > > >
> > > > > swat  stream tcp nowait:400 root /usr/sbin/tcpd /usr/sbin/swat
> > > > >
> > > > > * There is a smb.conf file in /etc/samba
> > > > >
> > > > >    The same one that works fine on a
> > > > >    system running Mandrake 10.1
> > > > >
> > > > > *  Putting the URL  http://localhost:901/  in Firefox,
> > > > >    I get "Problem loading page."  Port 631 runs as
> > > > >    expected.
> > > > >
> > > > > What I don't know:
> > > > >
> > > > > * Why localhost:901 doesn't work.
> > > > >
> > > > > Anyone see something,  or perhaps many
> > > > > things,  that I'm missing yet?
> > > > >
> > > > >    -Bob
> > > > > _______________________________________________
> > > > > grlug mailing list
> > > > > grlug at grlug.org
> > > > > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> > > >
> > > > _______________________________________________
> > > > grlug mailing list
> > > > grlug at grlug.org
> > > > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> > >
> > > --
> > > In vino veritas.
> > >         [In wine there is truth.]
> > >                 -- Pliny
> > > _______________________________________________
> > > grlug mailing list
> > > grlug at grlug.org
> > > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> >
> > _______________________________________________
> > grlug mailing list
> > grlug at grlug.org
> > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
> --
>
>  - Ben Rousch
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>


-- 

Ubber::Geek
http://grlug.org/


More information about the grlug mailing list