[Samba] samba newbie having trouble configuring samba on RH7.3...

Tori Williamson tori at bsitpa.com
Fri Jun 6 05:54:08 GMT 2003


Marv,

You do need to run configure for a source tarball... you just haven't found
the config script yet. :-) In the samba-2.2.8a directory, go into the
directory labeled "source". You'll find the configure script there.

My advice is, if this is the first time installing Samba, run your install
thusly:

#samba-2.2.8a > ./configure --prefix=/usr/local/samba
#samba-2.2.8a > make
#samba-2.2.8a > make install

The reason I suggest setting the prefix as /usr/local/samba and no other
config options, is that this will put samba in a singular space and allow
you time to monkey with it in a closed directory. Then when your comfortable
with samba and it's files and configurations, you can wipe the
/usr/local/samba dir (thus trashing ALL of the files) and run the configure
with WHATEVER path your heart desires.

My advice is something like this install:

#samba-2.2.8a >
./configure --prefix=/usr --configdir=/etc/samba --what-ever-other-config-op
tions-you-want
#samba-2.2.8a > make
#samba-2.2.8a > find /* > samba1
#samba-2.2.8a > make install
#samba-2.2.8a > find /* > samba2
#samba-2.2.8a > diff samba1 samba2 > samba-installed

Why the two find and diff statements? Well, you'll see that I offer /usr as
the prefix dir, you'r files will be scattered. Doing a find before AND after
the install and diffing the two find files will create a file (called
samba-installed) with the locations of all the samba files. quite handy.

If you don't feel comfortable with that, and want an easier way to manage
the install (and if necessary the UNinstall) of Samba, you can download the
latest samba SRPM file from Samba.org here:
http://us2.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-2.2.8a-1.s
rc.rpm

Just install rpm-build from the 7.3 RPMS, and after downloading the src.rpm,
run:
#dir > rpm -ivh samba-2.2.8a-1.src.rpm
then change to /usr/src/redhat/SPECS and edit the samba.spec file to make
the config changes you want. Then:
#SPECS > rpm -bb samba.spec
This will place the samba-common, samba-client, samba-server & samba-swat
RPMS in /usr/src/redhat/RPMS/i386 and you can install the latest samba
version from samba.org via RPM.

Lastly, I offer up the suggestion of obtaining "Using Samba" from O'Reilly &
Assc. A VERY handy book for samba admins of any level. And the latest
edition covers Samba 3. You can also do a google search for "samba redhat
HOWTO"

Good luck!

Tori


----- Original Message -----
From: "marvc" <marvc at bellsouth.net>
To: "'Joel Hammer'" <Joel at HammersHome.com>; <samba at lists.samba.org>
Sent: Thursday, June 05, 2003 9:48 PM
Subject: RE: [Samba] samba newbie having trouble configuring samba on
RH7.3...


> I downloaded the samba-latest.tar from the downloads page and you're
> right it doesn't look as though I have to configure it. I'm just unsure
> of what it is I need to do to next.
>
> -----Original Message-----
> From: Joel Hammer [mailto:Joel at HammersHome.com]
> Sent: Thursday, June 05, 2003 9:38 PM
> To: marvc; samba at lists.samba.org
> Subject: Re: [Samba] samba newbie having trouble configuring samba on
> RH7.3...
>
> What type of file did you download?
> Maybe its all set to run? Maybe you don't have to configure it?
> Joel
>
>
>
> On Thu, Jun 05, 2003 at 08:52:31PM -0400, marvc wrote:
> > I just downloaded Samba ver2.2.8a onto my RH server and I'm unsure on
> > how to properly configure samba. I've seen documentation online for
> the
> > older versions which contain instructions for running ./configure,
> make,
> > and make install. I don't see ./configure in my samba-2.2.8a directory
> > so I'm clueless on what to do next. Can anyone assist with this?
> >
> > TIA
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>




More information about the samba mailing list