Samba setup on RH8.0
Bob McClure Jr
robertmcclure at earthlink.net
Sat Nov 20 23:05:43 UTC 2004
On Sat, Nov 20, 2004 at 06:14:53AM -0800, Jared L. Black wrote:
> ontent-Length: 6296
> Lines: 152
>
> On Fri, 2004-11-19 at 17:15, Rick Stevens wrote:
> > Jared L. Black wrote:
> > > On Fri, 2004-11-19 at 10:23, Rick Stevens wrote:
> > >
> > >>Jared L. Black wrote:
> > >>
> > >>>On Thu, 2004-11-18 at 16:27, Rick Stevens wrote:
> > >>>
> > >>>
> > >>>>Rick Stevens wrote:
> > >>>>
> > >>>>
> > >>>>>Jared L. Black wrote:
> > >>>>
> > >>>>[snip]
> > >>>>
> > >>>>
> > >>>>>>>The easiest way to administer samba is to use swat. Run "service swat
> > >>>>>>>start", then point your web browser to "http://localhost:901". Once
> > >>>>>>>you log in as the root user with the root user's password, you'll be
> > >>>>>>>given a GUI that you can manage the whole thing. The on-line help is
> > >>>>>>>good and can explain a lot of stuff. When you're done, disable swat
> > >>>>>>>by running "service swat stop" (you don't want outsiders to get at your
> > >>>>>>>swat config) or you can set up iptables to block outside incoming
> > >>>>>>>access to port 901 and leave swat running. It's up to you (I tend to
> > >>>>>>>stop swat when not using it).
> > >>>>>>>
> > >>>>>>>I also recommend you get a copy of the O'Reilly book "Using Samba" by
> > >>>>>>>Eckstein, Collier-Brown and Kelly. I consider it essential for Samba
> > >>>>>>>users--especially when you start using domain security or a Windows
> > >>>>>>>PDC for authentication.
> > >>>>>>
> > >>>>>>Rick:
> > >>>>>>Thanks for the reply. I'll take your advice and get the Using Samba
> > >>>>>>book. In the meantime, I couldn't find a directory where the "service
> > >>>>>>swat start" command would work (command not found). Any suggestions?
> > >>>>>
> > >>>>>
> > >>>>>Uh, oops! My bad. Sorry about that. It's an xinetd-spawned program.
> > >>>>>Do this as root:
> > >>>>>
> > >>>>> # vi /etc/xinetd.d/swat
> > >>>>>
> > >>>>>Find the line that says "disable = yes" and change it to "disable = no".
> > >>>>>Save the file, then enter:
> > >>>>>
> > >>>>> # killall -HUP xinetd
> > >>>>>
> > >>>>>Then you can point your browser to "http://localhost:901" and have at
> > >>>>>it. To disable swat, change the line back to "disable = yes" and do
> > >>>>>the "killall" again.
> > >>>>>
> > >>>>>Again, sorry about that.
> > >>>>
> > >>>>I forgot one other thing...you may have to install the RPM for it.
> > >>>>The RPM is called "samba-swat" and it's on one of your CDs. If you're
> > >>>>running yum, you can "yum install samba-swat".
> > >>>>----------------------------------------------------------------------
> > >>>>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
> > >>>>- VitalStream, Inc. http://www.vitalstream.com -
> > >>>
> > >>>My distribution disks have only samba-2.2.5-10, samba-client-2.2.5-10
> > >>>and samba-common-2.2.5-10. I don't see a samba-swat listed.
> > >>>
> > >>>The samba suite I installed was samba-8.0.1, which downloaded. I just
> > >>>now downloaded the samba-swat-8.0.1 version and did an install, but it
> > >>>failed because I don't have libcrypto.so.4 and libssl.so.4. Am I having
> > >>>problems because I've mixed versions?
> > >>
> > >>It's possible. Which Red Hat or Fedora are you using?
> > >>----------------------------------------------------------------------
> > >>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
> > >>- VitalStream, Inc. http://www.vitalstream.com -
> > >
> > > I bought a Dell Precision 340 last year with RedHat 8.0 pre-installed.
> > > The kernel is 2.4.20-18.8
> >
> > Well, that's an old kernel and 8.0 is not being actively supported by
> > anyone (not even Fedora Legacy). I'd really suggest an upgrade to
> > (at least) RH9 or, if you have the courage, FC2.
> >
> > I do have some much later samba RPMs (from the last days before 8.0
> > support was dropped). I'll make them available on the RHIL server.
> > Hit this URL:
> >
> > ftp://ftp.rhil.net/pub/Misc
> >
> > All four are there (samba, samba-client, samba-common AND samba-swat).
> > ----------------------------------------------------------------------
> > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
> > - VitalStream, Inc. http://www.vitalstream.com -
>
> Rick:
> samba-common and samba-swat installed OK, but samba didn't. I got this
> message:
>
> error: Failed dependencies:
> perl(CGI) is needed by samba-2.2.5-10
>
> my version of perl is:
>
> perl-5.8.0-88.3
>
> Can you point me to the required package?
> Thanks
> Jared
Install the perl-CGI RPM.
Cheers,
--
Bob McClure, Jr. Bobcat Open Systems, Inc.
robertmcclure at earthlink.net http://www.bobcatos.com
Grace happens.
More information about the Redhat-install-list
mailing list