Samba-TNG						        INSTALL
-----------------------------------------------------------------------


Install instructions:
--------------------


First, if you have checked this source out from CVS rather than using
a released tarball, some files will be missing.  To create them, you
must have GNU autoconf 2.13 installed.  Go to the 'source' directory
and type:

  ./autogen.sh

If you have a released tarball, the necessary files should be in the
tarball already.

Now, to configure the Samba source and create a makefile, go to the
'source' directory and type:

  ./configure 

On some OSes this must be done logged in as root, so it can run various
tests related to file locking.  Run it as root unless you know your
platform isn't affected by this.

There are many options available, but due to the alpha nature of
Samba-TNG, some work and some do not.  The options relating to
directory locations (--prefix, --with-*dir, etc) should work, and LDAP
support (but not "nt5ldap"), and some others.  If in doubt, either do
not specify an option, or make sure to test that particular feature
thoroughly before putting it in production.  (But of course you do that
anyway, right?)  To see all available options, use './configure --help'.

Now type:

  make

and cross your fingers.  If all goes well, it will succeed, and you
can log in as root and type:

  make install

Known 'BUGS':

Red Hat Linux 7.0 shipped with a buggy alpha version of gcc which
they label "2.96".  It has problems compiling Samba-TNG (and other
things).  To fix this, download a newer gcc from their errata page:

  http://www.redhat.com/support/errata/RHBA-2001-082.html

Alternatively, you can compile Samba-TNG with 'kgcc', an older
version of gcc intended for compiling the kernel:

  CC=kgcc ./configure ....
