OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Samba3 3.0.11

From: Andreas Vögele (voegelasgmx.net)
Date: Mon Feb 07 2005 - 11:04:24 CST


Marc Balmer wrote:

> The Samba team has released the 3.0.11 version and here is the updated
> port to it. Please test and comment.

I've attached a patch that includes two bugfixes

- Replaced --libdir with --with-libdir in CONFIGURE_ARGS. LIBDIR will
be set incorrectly in Makefile and smbadduser if --libdir is used.
Also, Samba will look for a couple of files in the wrong place without
this fix.

- Changed CONFIGURE_STYLE from autoconf to gnu. Since configure.in
isn't patched anymore the autoconf style is no longer required. This
fix decreases the number of build dependencies. It also speeds up the
build somewhat.

I've changed and added a couple of other things:

- Changed MASTER_SITES to http://ca.samba.org/samba/ftp/old-versions/

IMHO it's better to use the "old-versions" subdirectory since all Samba
versions, including the current one, can be downloaded from that
directory. As soon as Samba 3.0.12 is released 3.0.11 will no longer be
available from the parent directory. I also decided to use
ca.samba.org instead of us2.samba.org. The U.S. government might
change its rules regarding encryption again so it's IMHO better to
default to a server outside of the USA.

- Removed SUBST_VARS since that line is no longer needed.

- Removed --with-ssl since that option is no longer supported by
Samba's configure script.

- Added --with-quotas. Since OpenBSD supports quotas out-of-the-box
the Samba package should probably support them too. I haven't tested
Samba's quota feature though.

- Added -I/usr/include/kerberosV to CPPFLAGS.

- Added --with-ads to the LDAP flavor.

- Added -lssl and -lcrypto to KRB5_LIBS in configure.

I've tested the normal and the LDAP flavour on two i386 servers with
Mac OS X and Windows XP clients. I haven't tested the CUPS flavor.