summaryrefslogtreecommitdiff
path: root/source3/wscript_build
Commit message (Collapse)AuthorAgeFilesLines
* passdb: Update ABI to 0.27.2Christof Schmitt2019-03-121-1/+1
| | | | | | | | This change is for the backport only. The change in master increased the ABI version to 0.28.0 and removed some functions; this should not happen in a backport. Signed-off-by: Christof Schmitt <cs@samba.org>
* s3:passdb: add create_builtin_guests()Stefan Metzmacher2019-03-121-1/+1
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit c5874b9b68e0795e9dc23b04efa5959ac03ec8dc)
* torture: Add tests for idmap cacheVolker Lendecke2019-03-121-0/+1
| | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org> Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813 (cherry picked from commit e5a903bab6eda8f7ff2a7c8149d51022d9d8aede)
* waf: Check for libnscdChristof Schmitt2019-02-211-0/+1
| | | | | | | | | | | | | | | | | | | The check was in the old autoconf, but not in waf. As the code is still in source3/lib/util_nscd.c, add the check for libnscd to allow building and using the code. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13787 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Wed Feb 13 17:58:33 CET 2019 on sn-devel-144 (cherry picked from commit 3a793497796395ffa3efda5807bdb1ca8e09e35b) Autobuild-User(v4-8-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-8-test): Thu Feb 21 17:42:07 CET 2019 on sn-devel-144
* s3:smbstatus: Use cmdline_messaging_contextChristof Schmitt2018-10-091-0/+1
| | | | | | | | | | | Use cmdline_messaging_context to initialize a messaging context instead of open coding the same steps. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (backported from commit d7fa3815a83a50fd9e3d78cac0d5ef3eb79235e5)
* s3:popt_common: use cmdline_messaging_context() in ↵Ralph Boehme2018-10-091-1/+1
| | | | | | | | | | | | | | | | popt_common_credentials_callback() This adds a call to cmdline_messaging_context() to the popt popt_common_credentials_callback() hook and ensures that any client tool that uses POPT_COMMON_CREDENTIALS gets an implicit messaging context, ensuring it doesn't crash in the subsequent lp_load_client() with include=registry in a cluster. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org> (cherry picked from commit 2c63ce94ef3a55ab0aa1aae4f6fee88e29ac2efe)
* s3:lib: Introduce cmdline context wrapperChristof Schmitt2018-10-091-0/+5
| | | | | | | | | | | | | | | Command line tools need acccess to the same messaging context provided by server_messaging_context, as common code for db_open uses that context. We want to have additional checking for command line tools without having that code part of the servers. Introduce a wrapper library to use for command line tools with the additional checks, that then acquires the server_messaging_context. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit 8c3b62e6231e62feafacf2a7ee4c9d41cd27a4a1)
* s3:lib: Move popt_common_credentials to separate fileChristof Schmitt2018-10-091-2/+7
| | | | | | | | | | | | This is only used by command line utilities and has additional dependencies. Move to a separate file to contain the dependencies to the command line tools. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit b7464fd89bc22b71c82bbaa424bcbfcf947db651)
* s3/smbd: smb2 server implementation for query get/set info.Noel Power2018-08-131-0/+1
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13553 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3/libsmb: adjust smb1 cli code to use idl structs and ndr push/pull funcs.Noel Power2018-08-131-0/+1
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13553 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
* waf: Fix NFS quota support with libtirpcAndreas Schneider2018-01-251-1/+1
| | | | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=13238 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Jan 22 17:26:52 CET 2018 on sn-devel-144 (cherry picked from commit 39a6ea766dfe55d84ab2284b8d5ed01d66da11dd)
* torture: Check messaging_send_allVolker Lendecke2017-12-121-0/+1
| | | | | | | We must make sure not to receive our own broadcast Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* torture3: Test namemap_cacheVolker Lendecke2017-11-291-0/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* lib: Add namemap_cacheVolker Lendecke2017-11-291-0/+1
| | | | | | | A few functions to maintain lookupname and lookupsid cache in gencache. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* gpo: enable gpo update with addition to build systemLuke Morrison2017-11-201-19/+0
| | | | | | | | Split from "Initial commit for GPO work done by Luke Morrison" by Garming Sam Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Luke Morrison <luke@hubtrek.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* gpo: Add python libgpo bindingsLuke Morrison2017-11-201-2/+2
| | | | | | | | Split from "Initial commit for GPO work done by Luke Morrison" by David Mulder Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Luke Morrison <luke@hubtrek.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* source3: remove sock_execGary Lockyer2017-11-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove the sock_exec code which is no longer needed and additionally has been used by exploit code. This was originally test support code, the tests relying on the sock_exec code have been removed. Past exploits have used sock_exec as a proxy for system() matching a talloc destructor prototype. See for example: Exploit for Samba vulnerabilty (CVE-2015-0240) at https://gist.github.com/worawit/051e881fc94fe4a49295 and the Red Hat post at https://access.redhat.com/blogs/766093/posts/1976553 Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Nov 20 07:20:13 CET 2017 on sn-devel-144
* lib: Remove fncall.cVolker Lendecke2017-10-211-1/+0
| | | | | | | | | | | | | | This was meant as a nice wrapper around pthreadpool_add_job. pthreadpool_tevent_job_send does the same thing. The getaddrinfo_send/recv was the only example and can easily be re-added on top of pthreadpool_tevent_job_send. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Oct 21 00:04:59 CEST 2017 on sn-devel-144
* smbd: cleanupdb.c is used in smbd onlyVolker Lendecke2017-10-201-1/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* lib: Remove talloc_dictVolker Lendecke2017-09-301-1/+0
| | | | | | | | Looked like a good idea at its time, but its only user did not need it anyway Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* libnet: Remove libnet_samsyncVolker Lendecke2017-09-201-13/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* acl_common: Avoid "#include vfs_acl_common.c"Volker Lendecke2017-08-241-0/+1
| | | | | | | | | | | This makes vfs_acl_common.c a subsystem of its own that acl_xattr and acl_tdb now link against, not #include it. This patch is a bit on the large and clumsy side, but splitting it up would (I believe) involve a separate intermediate copy of acl_common.c. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* ctdb_conn: Use messaging_ctdb_connectionVolker Lendecke2017-07-251-1/+0
| | | | | | | Replace messaging_ctdbd_connection Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* messaging: Add messages_ctdb_refVolker Lendecke2017-07-251-0/+1
| | | | | | | Modeled after messages_dgm_ref Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* messaging: Add messaging_ctdb_init/destroyVolker Lendecke2017-07-251-0/+1
| | | | | | | | | | | | | This models connecting to ctdb after the dgm code. The main point is that we should never open more than more ctdb socket for messaging. With more than one socket, we might end up with our pid registered with ctdb on more than one socket. This could lead to memory overconsumption in ctdb. ctdbd will eventually throw away messages, but they will take up space unnecessarily. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* torture3: Test dbwrap_do_lockedVolker Lendecke2017-07-251-0/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* s3: drop build_envBernhard M. Wiedemann2017-07-141-8/+0
| | | | | | | | | | | | | | | As a follow up to eedebe2ef1b ("docs-xml: Sort input file list"), this change enables reproducible builds, without the added complexity of https://lists.samba.org/archive/samba-technical/2017-June/121302.html Bug: https://bugzilla.samba.org/show_bug.cgi?id=12906 Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Jul 14 18:48:08 CEST 2017 on sn-devel-144
* smbldap: expose bind callback via API and increase smbldap ABI versionAlexander Bokovoy2017-07-041-1/+1
| | | | | | | | | | | | | | | | Until we fully migrate to use gensec in smbldap, we need to continue exposing bind callback to allow FreeIPA to integrate with smbldap. Since smbldap API is now lacking direct access to 'struct smbldap_state' and new API functions were added to give access to individual members of this structure, it makes sense to increase ABI version too. Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Jul 4 11:14:49 CEST 2017 on sn-devel-144
* torture3: Initial test g_lockVolker Lendecke2017-06-151-0/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* smbldap: Bump version numberVolker Lendecke2017-04-201-1/+1
| | | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Apr 20 14:23:14 CEST 2017 on sn-devel-144
* lib: Remove unused winbind_get_groups and _get_sid_aliasesVolker Lendecke2017-03-281-1/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3: locking: Move two leases functions into a new file.Jeremy Allison2017-03-151-0/+6
| | | | | | | | | map_oplock_to_lease_type(), fsp_lease_type(). BUG: https://bugzilla.samba.org/show_bug.cgi?id=12628 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* s3:wscript_build: remove unused bld.RECURSE('lib/pthreadpool')Stefan Metzmacher2017-02-231-1/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:libads: use trust_pw_new_value() for krb5 machine passwordsStefan Metzmacher2017-02-211-0/+1
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12262 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* s3/rpc_server/mdssvc: Generate flex/bison files in buildNoel Power2017-01-281-2/+2
| | | | | | | | | | | | | | | Build the generated files at build time instead of using a committed version generated at some point in the past. Bug: https://bugzilla.samba.org/show_bug.cgi?id=12528 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Sat Jan 28 13:26:01 CET 2017 on sn-devel-144
* wscript: remove executable bits for all wscript* filesStefan Metzmacher2017-01-111-0/+0
| | | | | | | | | | These files should not be executable. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Jan 11 20:21:01 CET 2017 on sn-devel-144
* passdb: Move lookup_unix_[user|group]_name to lookup_sid.cVolker Lendecke2016-12-281-1/+1
| | | | | | | This is the only user and reduces the dependencies of util_unixsids.c Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
* s3:waf: Remove unneeded CHARSET3 dependencyAndreas Schneider2016-12-041-1/+0
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Make PARAM and SMBREGISTRY a subsystem of smbconf onlyAndreas Schneider2016-12-041-47/+48
| | | | | | | | | | | | | | | | | | | | | | This is the only way to resolve cirular dependencies with these libraries. I've tried several ways but this is the only way to do it correctly. In future we should try to seperate them by passing down information or making a more lightweight loadparm mechanism. +---------+ +-------------+ | | | | | param <---------+ +--------+ smbregistry | | | | | | | +----+----+ | | +------^------+ | +---+----v--+ | | | | | +----------> smbconf +------------+ | | +-----------+ Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf samba3util requires CHARSET3Andreas Schneider2016-12-041-0/+1
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Move cbuf functions to samba3-utilAndreas Schneider2016-12-041-1/+1
| | | | | | | | | This is used more commonly in the meantime and this way we avoid linking to smbconf. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Move popt_samba3 up in the stackAndreas Schneider2016-12-041-1/+1
| | | | | | | | Only daemons and client directly need to link against it. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Reformat vlpAndreas Schneider2016-12-041-2/+3
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Reformat rpc_open_tcpAndreas Schneider2016-12-041-2/+3
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Reformat versiontestAndreas Schneider2016-12-041-2/+3
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Reformat vfstestAndreas Schneider2016-12-041-6/+9
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Reformat pdbtestAndreas Schneider2016-12-041-5/+6
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Reformat msg_sourceAndreas Schneider2016-12-041-2/+3
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Reformat msg_sinkAndreas Schneider2016-12-041-2/+3
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:waf: Reformat msgtestAndreas Schneider2016-12-041-2/+3
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>