Commit 31202ad0 authored by Ivo De Decker's avatar Ivo De Decker

Imported Upstream version 4.0.0+dfsg1

parent 2865eba1

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

.gitignore
\ No newline at end of file
bin/
st/
.waf*
.lock-wscript
*~
*.1
*.3
*.8
*.swp
tags
TAGS
cscope*.out
*.x
autom4te.cache
config.cache
config.h
config.h.in
config.log
config.status
source3/.build.log
source3/.clang_complete
source3/configure
source3/Makefile
examples/libsmbclient/Makefile.internal
examples/libsmbclient/smbwrapper/smbsh
examples/libsmbclient/smbwrapper/smbwrapper.so
examples/libsmbclient/testacl
examples/libsmbclient/testacl2
examples/libsmbclient/testacl3
examples/libsmbclient/testbrowse
examples/libsmbclient/testbrowse2
examples/libsmbclient/testchmod
examples/libsmbclient/testread
examples/libsmbclient/testsmbc
examples/libsmbclient/teststat
examples/libsmbclient/teststat2
examples/libsmbclient/teststat3
examples/libsmbclient/testtruncate
examples/libsmbclient/testutime
examples/libsmbclient/testwrite
examples/libsmbclient/tree
examples/libsmbclient/testfstatvfs
examples/libsmbclient/teststatvfs
examples/VFS/config.log
examples/VFS/config.status
examples/VFS/configure
examples/VFS/Makefile
examples/VFS/module_config.h
examples/VFS/module_config.h.in
examples/VFS/shadow_copy_test.so
examples/VFS/skel_opaque.so
examples/VFS/skel_transparent.so
*.gcda
*.gcno
*.o
*.patch
*.pc
*.po
*.pyc
semantic.cache
nsswitch/libnss_winbind.so
nsswitch/libnss_wins.so
source3/config.cache
source3/config.log
source3/config.status
source3/configure
source3/exports/libnetapi.syms
source3/exports/libsmbclient.syms
source3/exports/libsmbsharemodes.syms
source3/exports/libtalloc.syms
source3/exports/libtdb.syms
source3/exports/libwbclient.syms
source3/include/build_env.h
source3/include/config.h
source3/include/config.h.in
source3/include/includes.h.gch
source3/include/stamp-h
source3/include/version.h
source3/lib/netapi/examples/Makefile
source3/lib/netapi/tests/Makefile
source3/library-versions
librpc/gen_ndr/*.*
source3/librpc/gen_ndr/*.*
source3/nsswitch/*.so
source3/pkgconfig/*.pc
source3/proto_exists
source3/script/findsmb
source3/script/gen-8bit-gap.sh
source3/script/installbin.sh
source3/script/uninstallbin.sh
source3/smbadduser
source3/smbd/build_options.c
source3/setup
pidl/blib
pidl/cover_db
pidl/Makefile
pidl/pm_to_blib
packaging/RHEL-CTDB/samba.spec
packaging/RHEL/samba.spec
packaging/RHEL/makerpms.sh
docs-xml/build/catalog.xml
docs-xml/*/images/*.eps
docs-xml/*/images/*.pdf
docs-xml/output
docs-xml/Samba3-ByExample/images/AccountingNetwork.png
docs-xml/Samba3-ByExample/images/Charity-Network.png
docs-xml/Samba3-ByExample/images/UNIX-Samba-and-LDAP.png
docs-xml/Samba3-ByExample/images/acct2net.png
docs-xml/Samba3-ByExample/images/ch7-dual-additive-LDAP-Ok.png
docs-xml/Samba3-ByExample/images/ch7-dual-additive-LDAP.png
docs-xml/Samba3-ByExample/images/ch7-fail-overLDAP.png
docs-xml/Samba3-ByExample/images/ch7-singleLDAP.png
docs-xml/Samba3-ByExample/images/ch8-migration.png
docs-xml/Samba3-ByExample/images/chap4-net.png
docs-xml/Samba3-ByExample/images/chap5-net.png
docs-xml/Samba3-ByExample/images/chap6-net.png
docs-xml/Samba3-ByExample/images/chap7-idresol.png
docs-xml/Samba3-ByExample/images/chap9-ADSDC.png
docs-xml/Samba3-ByExample/images/chap9-SambaDC.png
docs-xml/Samba3-HOWTO/images/access1.png
docs-xml/Samba3-HOWTO/images/browsing1.png
docs-xml/Samba3-HOWTO/images/cups1.png
docs-xml/Samba3-HOWTO/images/cups2.png
docs-xml/Samba3-HOWTO/images/domain.png
docs-xml/Samba3-HOWTO/images/idmap-gid2sid.png
docs-xml/Samba3-HOWTO/images/idmap-sid2gid.png
docs-xml/Samba3-HOWTO/images/idmap-sid2uid.png
docs-xml/Samba3-HOWTO/images/idmap-store-gid2sid.png
docs-xml/Samba3-HOWTO/images/idmap-uid2sid.png
docs-xml/Samba3-HOWTO/images/pdftoepsonusb.png
docs-xml/Samba3-HOWTO/images/pdftosocket.png
docs-xml/Samba3-HOWTO/images/trusts1.png
source4/.testrepository
[DEFAULT]
test_command=./buildtools/bin/waf test --filtered-subunit $IDOPTION $LISTOPT
test_id_option=--load-list $IDFILE
test_list_option=--list
BUILDING SAMBA 4.0
(which build system to use and why)
===================================
The waf build
-------------
Samba 4.0 ships with a new build system, based on waf. A background to
this build system can be found at https://wiki.samba.org/index.php/Waf
This is the build system that is used when you run ./configure && make
in the top level of a Samba 4.0 release tree.
For the vast majority of our users, this is the build system you should
use. It supports parallel and incremental builds, and builds the whole
Samba suite, the file server, the print server, the NT4 domain
controller, winbind, the AD Domain Controller, the client libraries and
the python libraries.
A key feature for many of our distributors and OEMs is that despite the
range of additional features, the resulting binaries and libraries are
substantially smaller, because we use shared libraries extensively.
For distributions that have a requirement to use the system-supplied
Kerberos library, we support building against a Heimdal or system MIT
Kerberos library, provided the version is recent enough (otherwise we
will use our internal version of Heimdal). Please note that builds
with MIT krb5 support will not have AD DC features.
Where we provide a tool under a name that was used in Samba 3.x, it
continues to behave in the same way it always has. This will ensure
that our change in build system does not impact on our user's ability
to use Samba as they always have.
For developers, this build system backs a comprehensive 'make test',
which provides code coverage of around 48% of our code by line:
https://build.samba.org/lcov/data/coverage/samba_4_0_test/
This build system also implements important features such as ABI
checking (which protects you as users from accidental changes to our
published libraries), symbol versions and dependency checked incremental
rebuilds after header-file changes.
The waf build also assists developers by providing fully-linked binaries
that run from bin/ without needing to set LD_LIBRARY_PATH.
For users who do not have python installed on their systems, we provide
a install_with_python.sh script, which will install a local copy of
python sufficient to run the build system, without impacting on the rest
of the system.
Within this requirement, we expect that this build will run on all our
supported platforms, and will actively deal with any portability issues
that users can bring to our attention.
For all these reasons, we highly recommend this new build system to all
our users, for whatever purpose you want to put Samba to.
The autoconf build
------------------
For a small number of users, the requirement to have access to Python
2.4 and perl will be unacceptable, and for these users we continue to
provide the 'autoconf' build system used in Samba 3.x under the
source3/. This will build fewer parts of Samba, but should not be seen
as 'the file server build' (typical file server deployments should use
the top level build), but as a measure provided with limited features
for systems and organisations unable to meet the requirements for the
new build system.
If you do need to use the autoconf build system, please let us know:
both why you cannot use the 'waf' build in the top level, and what
features of the source3 build that you require. We need this
information to assess the continuing demand for this parallel
infrastructure, and to determine which features need to remain available
in both build systems.
Optional Libraries
------------------
To assist users and distributors to build Samba with the full feature
set, by the first release candidate the build system will abort if our
dependent libraries and their header files are not found on the target
system. This will mean for example, that xattr, acl and ldap headers
must be installed for the default build to complete. The configure
system will check for these headers, and the error message will
indicate:
- the required header and library
- the option (such as --without-acl-support) that can be specified to
skip this requirement, and
- the feature (ACL support optional for file servers, mandatory for AD
Domain Controller) being skipped.
This will assist users and in particular distributors in building fully
functional packages, while allowing those on systems truly without these
facilities to continue to build Samba after careful consideration.
......@@ -62,7 +62,7 @@ policy:
pass. Larger commits require discussion on samba-technical
list and review by the maintainer
files: lib/tevent/py*, lib/talloc/py*, source4/lib/ldb/py*, lib/tdb/py*
files: lib/tevent/py*, lib/talloc/py*, lib/ldb/py*, lib/tdb/py*
maintainers:
Jelmer Vernooij <jelmer@samba.org>
policy:
......@@ -72,6 +72,18 @@ policy:
Other non-trivial (typo, etc) commits require pre- or post-push review by the
maintainer or one of the maintainers of the containing subsystem.
files: lib/ccan
maintainers:
Rusty Russell <rusty@samba.org>
policy:
Please ping me when changes made, so I can sync with CCAN project.
files: libcli/dns
maintainers:
Kai Blin <kai@samba.org>
policy:
Mail/CC changes to the maintainer, commit the changes
unless the maintainer objects.
=======================================================================