summaryrefslogtreecommitdiff
path: root/source3/wscript_build
AgeCommit message (Collapse)AuthorFilesLines
2011-05-25Fix numerous missing dependencies in WAF build scriptsSean Finney1-13/+32
With the recent consolidation of code between s3 and s4, a number of new dependencies have been implicitly introduced. For example, previous s3 code gained an implicit dependency on talloc after the charset related consolidation (lib/util/charset/charset.h now includes talloc.h). When building against the embedded version of talloc this isn't a problem since the paths are automatically added to the search path, but when building against the external libraries build failures will occur for all components that don't directly or indirectly include talloc as a dependency. Since charset.h is included from util.h, which in turn is included from includes.h, this means most of the codebase (s3 and s4) has such an undeclared dependency. Therefore, samba-util-common and samba-util have been added as dependencies to the s3 and s4 code respectively, for all cases where the source would otherwise fail to build. Additionally, a few other dependencies are added in specific wscript_build files to address similar dependency-related problems. https://bugzilla.samba.org/show_bug.cgi?id=8128 Signed-off-by: Sean Finney <seanius@seanius.net> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed May 25 19:22:13 CEST 2011 on sn-devel-104
2011-05-19fix the WAF buildVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 18:46:51 CEST 2011 on sn-devel-104
2011-05-18build: Add 'cap' as a dependency of samba3coreAndrew Bartlett1-1/+1
2011-05-18build: Make POPT_SAMBA3 a libraryAndrew Bartlett1-4/+5
This avoids some duplicate symbols when libnet and libsmbclient are linked into the same binary (smbtorture4). Andrew Bartlett
2011-05-18librpc/ndr Merge ndr_print_sockaddr_storage() into common codeAndrew Bartlett1-8/+2
There is no longer a reason to leave this source3 specific, and this brings it into a library (avoiding duplicate symbols). Andrew Bartlett
2011-05-18build: Add rpc_client grouping libraryAndrew Bartlett1-0/+7
2011-05-18build: Add depenencies needed by Samba3 subsystemsAndrew Bartlett1-1/+2
2011-05-18build: Make msrpc3 a libraryAndrew Bartlett1-4/+5
2011-05-18waf-build: Add more libraries to avoid duplicate symbolsAndrew Bartlett1-4/+5
The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett
2011-05-13s3-build: use ndr-standard in msrpc3Andrew Bartlett1-3/+4
This avoids pulling in the symbols from the NDR_ subsystems directly. Andrew Bartlett
2011-05-13lib/util/charset Move built-in charset modules to the top levelAndrew Bartlett1-1/+1
This removes the 'charset' subsystem and allows these modules to be used across the whole of Samba. Andrew Bartlett
2011-05-12s3-waf: stop building smbtortre4.Günther Deschner1-7/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 12 15:35:02 CEST 2011 on sn-devel-104
2011-05-10s3-waf: Create a public libsmconf.Andreas Schneider1-7/+9
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10s3-waf: Create a registry private library.Andreas Schneider1-5/+9
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-08s3-lib Use common lib/socket code for get_interfaces() et alAndrew Bartlett1-2/+3
2011-05-08s3-waf: expose the server_exit code in the smbd_base libraryAndrew Tridgell1-1/+2
these functions are called from the rest of smbd_base
2011-05-06libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett1-1/+1
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett1-1/+1
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
2011-05-04s3-torture: Add a test for notify upon read&xVolker Lendecke1-0/+1
This makes sure that when a file is brought online by a read call we notify the client for FILE_NOTIFY_CHANGE_ATTRIBUTES. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 21:09:22 CEST 2011 on sn-devel-104
2011-05-03lib/util/charset Use push_string and talloc_strupper/strlower from common codeAndrew Bartlett1-2/+1
The only caller of push_string() (not to be confused with push_string_check()) in the common code was encode_pw_buffer(), and it didn't use the alignment or STR_UPPER flags. The talloc_strupper() and talloc_strlower() functions are tested in smbtorture, and are next_codepoint() based. Andrew Bartlett
2011-05-03s3-ctdb Rename packet file and files to ctdb_packetAndrew Bartlett1-1/+1
This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett
2011-04-30s3-build Add popt dep to fix build on FreeBSDAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 11:42:20 CEST 2011 on sn-devel-104
2011-04-30s3-waf: Add dependency on popt to fix build on FreeBSDAndrew Bartlett1-1/+1
2011-04-29build: put doserr.c into it's own subsystem, so it's no longer a duplicateAndrew Bartlett1-1/+3
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104
2011-04-29libcli/smb Move attrib_string in commonAndrew Bartlett1-1/+2
2011-04-29build: Fix kerberos build issues in top level buildAndrew Bartlett1-7/+7
2011-04-28lib/util/charset use convert_string.c in commonAndrew Bartlett1-1/+1
This brings another layer of the charcnv library in common. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-27s3-waf: add pthreadpool support.Günther Deschner1-4/+3
Volker, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 27 17:57:32 CEST 2011 on sn-devel-104
2011-04-27build: fixed build problems due to implicit library deps in samba3coreAndrew Tridgell1-3/+3
this fixes the top level build on svart and probably other hosts Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 27 08:27:49 CEST 2011 on sn-devel-104
2011-04-27auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett1-0/+1
This only works for Heimdal and MIT Krb5 1.8, other versions will get an ACCESS_DEINED error. We no longer manually verify any details of the PAC in Samba for GSSAPI logins, as we never had the information to do it properly, and it is better to have the GSSAPI library handle it. Andrew Bartlett
2011-04-26build: Move Heimdal/MIT compat build rules to heimdal_buildAndrew Bartlett1-11/+0
This allows top level build rules to rely on these names at all times. Andrew Bartlett
2011-04-20libcli/auth Move PAC parsing and verification in common.Andrew Bartlett1-1/+1
This uses the source3 PAC code (originally from Samba4) with some small changes to restore functionality needed by the torture tests, and to have a common API. Andrew Bartlett
2011-04-15s3-waf: only LIBNMB needs to linked against -lresolv.Günther Deschner1-26/+26
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 15 17:02:16 CEST 2011 on sn-devel-104
2011-04-15s3-waf: try to fix the non-ldap-but-krb5 build.Günther Deschner1-2/+1
Guenther
2011-04-14libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett1-1/+1
This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
2011-04-14s3-waf: add --with-profiling-data configure option.Günther Deschner1-1/+1
Guenther
2011-04-14Fix WAF build for sids2xids.Jeremy Allison1-1/+4
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 14 00:33:53 CEST 2011 on sn-devel-104
2011-04-13build: Bring DYNCONFIG into samba-util library to avoid symbol duplicationAndrew Bartlett1-5/+5
When this was depended on directly as a subsystem, it ended up in multiple libraries. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 13 08:39:35 CEST 2011 on sn-devel-104
2011-04-13s3-build Remove distinct LOCALEDIR subsystemAndrew Bartlett1-6/+1
This is no different to the rest of dynconfig, and so should be dealt with there. Andrew Bartlett
2011-04-13s3-charcnv: Move convert_string() et al to lib/util/charsetAndrew Bartlett1-1/+1
This is the first step to this being the common convert_string implementation. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util/charset Move source3/lib/util_unistr.c to the common code.Andrew Bartlett1-1/+1
This file (largely) contains functions to deal with UTF16 strings. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a libraryAndrew Bartlett1-4/+4
This reduces symbol duplication Andrew Bartlett
2011-04-12s3-util: separate out cmdline helpers.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 12 13:06:27 CEST 2011 on sn-devel-104
2011-04-06s3-net: Add net trust utilitySumit Bose1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06tstream: make npa_tstream a private libraryAndrew Tridgell1-2/+2
this prevents symbol duplication of the npa_tstream symbols Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-06lib: make asn1_util a private libraryAndrew Tridgell1-11/+11
this prevents symbol duplication of the asn1 symbols in the service and ntvfs subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-06lib: moved data_blob.c into samba-util-commonAndrew Tridgell1-6/+2
this avoids a duplication of the data_blob symbols some binaries (eg. smbtorture) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-04s3-net: add command "net idmap check"Gregor Beck1-1/+2
This is a tool to check the consistency of an idmap tdb database. The default mode is to scan the database and list invalid entries, e.g. records with an invalid format, or records which are valid but for which the reverse mapping entry is missing. With the "--repair" switch, one can enter an interactive repair mode which will prompt for each invalid entry found with the option to delete, skip or edit the record. There is also a non-interactive repair mode triggered by "--auto" which will remove all records with invalid content and fill up mappings which are missing the reverse entry. The "--test" parameter lets "net idmap check" only list the changes that would be written and not actually commit them to the database. The "--lock" option allows to lock the database already in the first reading traverse, in order to remove the race when the database has to be closed and reopened again before writing the changes. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Apr 4 18:21:09 CEST 2011 on sn-devel-104
2011-04-03s3: Add a quick test for bug 8042Volker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 16:13:21 CEST 2011 on sn-devel-104
2011-03-30s3: move filename_util.c out of source3/smbd to source3/lib.Günther Deschner1-1/+1
Guenther