summaryrefslogtreecommitdiffstats
path: root/source3/wscript_build
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix numerous missing dependencies in WAF build scriptsSean Finney2011-05-251-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
* fix the WAF buildVolker Lendecke2011-05-191-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 18:46:51 CEST 2011 on sn-devel-104
* build: Add 'cap' as a dependency of samba3coreAndrew Bartlett2011-05-181-1/+1
|
* build: Make POPT_SAMBA3 a libraryAndrew Bartlett2011-05-181-4/+5
| | | | | | | This avoids some duplicate symbols when libnet and libsmbclient are linked into the same binary (smbtorture4). Andrew Bartlett
* librpc/ndr Merge ndr_print_sockaddr_storage() into common codeAndrew Bartlett2011-05-181-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
* build: Add rpc_client grouping libraryAndrew Bartlett2011-05-181-0/+7
|
* build: Add depenencies needed by Samba3 subsystemsAndrew Bartlett2011-05-181-1/+2
|
* build: Make msrpc3 a libraryAndrew Bartlett2011-05-181-4/+5
|
* waf-build: Add more libraries to avoid duplicate symbolsAndrew Bartlett2011-05-181-4/+5
| | | | | | The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett
* s3-build: use ndr-standard in msrpc3Andrew Bartlett2011-05-131-3/+4
| | | | | | This avoids pulling in the symbols from the NDR_ subsystems directly. Andrew Bartlett
* lib/util/charset Move built-in charset modules to the top levelAndrew Bartlett2011-05-131-1/+1
| | | | | | | This removes the 'charset' subsystem and allows these modules to be used across the whole of Samba. Andrew Bartlett
* s3-waf: stop building smbtortre4.Günther Deschner2011-05-121-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
* s3-waf: Create a public libsmconf.Andreas Schneider2011-05-101-7/+9
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-waf: Create a registry private library.Andreas Schneider2011-05-101-5/+9
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-lib Use common lib/socket code for get_interfaces() et alAndrew Bartlett2011-05-081-2/+3
|
* s3-waf: expose the server_exit code in the smbd_base libraryAndrew Tridgell2011-05-081-1/+2
| | | | these functions are called from the rest of smbd_base
* libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett2011-05-061-1/+1
| | | | | | unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-061-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
* s3-torture: Add a test for notify upon read&xVolker Lendecke2011-05-041-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
* lib/util/charset Use push_string and talloc_strupper/strlower from common codeAndrew Bartlett2011-05-031-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
* s3-ctdb Rename packet file and files to ctdb_packetAndrew Bartlett2011-05-031-1/+1
| | | | | | | This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett
* s3-build Add popt dep to fix build on FreeBSDAndrew Bartlett2011-04-301-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 11:42:20 CEST 2011 on sn-devel-104
* s3-waf: Add dependency on popt to fix build on FreeBSDAndrew Bartlett2011-04-301-1/+1
|
* build: put doserr.c into it's own subsystem, so it's no longer a duplicateAndrew Bartlett2011-04-291-1/+3
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104
* libcli/smb Move attrib_string in commonAndrew Bartlett2011-04-291-1/+2
|
* build: Fix kerberos build issues in top level buildAndrew Bartlett2011-04-291-7/+7
|
* lib/util/charset use convert_string.c in commonAndrew Bartlett2011-04-281-1/+1
| | | | | | | | This brings another layer of the charcnv library in common. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-waf: add pthreadpool support.Günther Deschner2011-04-271-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
* build: fixed build problems due to implicit library deps in samba3coreAndrew Tridgell2011-04-271-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
* auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett2011-04-271-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
* build: Move Heimdal/MIT compat build rules to heimdal_buildAndrew Bartlett2011-04-261-11/+0
| | | | | | This allows top level build rules to rely on these names at all times. Andrew Bartlett
* libcli/auth Move PAC parsing and verification in common.Andrew Bartlett2011-04-201-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
* s3-waf: only LIBNMB needs to linked against -lresolv.Günther Deschner2011-04-151-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
* s3-waf: try to fix the non-ldap-but-krb5 build.Günther Deschner2011-04-151-2/+1
| | | | Guenther
* libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett2011-04-141-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
* s3-waf: add --with-profiling-data configure option.Günther Deschner2011-04-141-1/+1
| | | | Guenther
* Fix WAF build for sids2xids.Jeremy Allison2011-04-141-1/+4
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 14 00:33:53 CEST 2011 on sn-devel-104
* build: Bring DYNCONFIG into samba-util library to avoid symbol duplicationAndrew Bartlett2011-04-131-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
* s3-build Remove distinct LOCALEDIR subsystemAndrew Bartlett2011-04-131-6/+1
| | | | | | | This is no different to the rest of dynconfig, and so should be dealt with there. Andrew Bartlett
* s3-charcnv: Move convert_string() et al to lib/util/charsetAndrew Bartlett2011-04-131-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>
* lib/util/charset Move source3/lib/util_unistr.c to the common code.Andrew Bartlett2011-04-131-1/+1
| | | | | | | | This file (largely) contains functions to deal with UTF16 strings. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a libraryAndrew Bartlett2011-04-131-4/+4
| | | | | | This reduces symbol duplication Andrew Bartlett
* s3-util: separate out cmdline helpers.Günther Deschner2011-04-121-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
* s3-net: Add net trust utilitySumit Bose2011-04-061-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* tstream: make npa_tstream a private libraryAndrew Tridgell2011-04-061-2/+2
| | | | | | this prevents symbol duplication of the npa_tstream symbols Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib: make asn1_util a private libraryAndrew Tridgell2011-04-061-11/+11
| | | | | | | this prevents symbol duplication of the asn1 symbols in the service and ntvfs subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib: moved data_blob.c into samba-util-commonAndrew Tridgell2011-04-061-6/+2
| | | | | | | this avoids a duplication of the data_blob symbols some binaries (eg. smbtorture) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-net: add command "net idmap check"Gregor Beck2011-04-041-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
* s3: Add a quick test for bug 8042Volker Lendecke2011-04-031-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 16:13:21 CEST 2011 on sn-devel-104
* s3: move filename_util.c out of source3/smbd to source3/lib.Günther Deschner2011-03-301-1/+1
| | | | Guenther