summaryrefslogtreecommitdiff
path: root/source3/wscript_build
AgeCommit message (Collapse)AuthorFilesLines
2026-02-15lib: Move statvfs.[ch] to lib/utilVolker Lendecke1-1/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Anoop C S <anoopcs@samba.org>
2025-11-14s3:mdssvc: Remove support for tracker sparql supportAndreas Schneider1-35/+0
This only support v2 of tracker sparql which is only avilable on the Ubuntu 20.04 runner. All newer distributions provide only tracker sparql v3. Also the tevent glib stopped working on Fedora 43. Time to remove it. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2025-07-17s3:smbd: add support for SMB_TRANSPORT_TYPE_QUICStefan Metzmacher1-0/+1
This requires https://github.com/lxin/quic, which provides a kernel module quic.ko for Linux (tested with Linux 6.8 and 6.14). The userspace libquic is mirrored under third_party/quic for now. This can be activated by adding 'quic' to 'server smb transports'. The following smb.conf options are also relevant: 'tls enabled' 'tls cafile' 'tls certfile' 'tls keyfile' If the files pointed to by 'tls cafile', 'tls certfile' and 'tls keyfile' all don't exist, self-signed tls certificates are generated automatically at startup. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2025-04-03libcli/security: split trust_forest_info_* functions into samba-security-trustsStefan Metzmacher1-0/+1
This will avoid dependency loops in following commits. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2025-02-28s3-waf: Enable build of MO files for localizationIvan Korytov1-0/+1
waf will now generate .mo files for pam_winbind and net when gettext support is enabled and gettext tools are available BUG: https://bugzilla.samba.org/show_bug.cgi?id=14491 Signed-off-by: Ivan Korytov <korytovip@basealt.ru> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Fri Feb 28 13:26:45 UTC 2025 on atb-devel-224
2025-02-22s3:passdb: add pdb_filter_hints()Stefan Metzmacher1-1/+1
This reveals information about our own domain/forest. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2025-02-17s3:rpc_client: Use cli_rpc_pipe_reopen_np_noauth() for OpenPolicy fallbackStefan Metzmacher1-1/+1
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15680 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2025-01-02specify some deps on private libs actually used directlyMichael Tokarev1-2/+2
Lots of samba libraries has incomplete dependencies listed in wscript files. This usually is not a problem since the link line includes dependencies of their dependencies of their dependencies, and somewhere down that line all immediate dependencies which are missing are actually present. But sometimes this becomes a problem when a library does not declare direct dependency on at least one private library which it actually uses: in case no private library is listed as direct dependency, private library directory is not put into RUNPATH of the resulting binary, so the binary can not find its own dependencies. Fix a few such places, including some libraries which are a part of public abi (libsmbldap, libndr). Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
2024-11-11libads: Add netlogon_pings()Volker Lendecke1-1/+5
This encapsulates our logic that we send CLDAP requests on UDP/389, sending them with 100msec timeouts until someone replies. It also contains the code to do this over LDAP/389 or LDAPS/636. It also contains code to filter for domain controller flags like DS_ONLY_LDAP_NEEDED, this logic exists in several places right now. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-11-11build: Remove the big samba3util dependency from TLDAPVolker Lendecke1-1/+2
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-11-11build: Make util_tsock its own subsystemVolker Lendecke1-1/+5
One step to strip TLDAP deps Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-08-20build: Fix LIBCLI_SAMR dependenciesVolker Lendecke1-2/+1
cli_samr.c calls init_Lsa_String Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2024-07-26s3:lib: Merge library trusts_util into library adsPavel Filipenský1-10/+4
Function trust_pw_change() originally from library trustis_util was updated to call functionality from ads library. This would introduce circular dependency between the two libraries. To avoid it, trusts_util is merged into ads. BUG: https://bugzilla.samba.org/show_bug.cgi?id=6750 Signed-off-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-07-26s3/passdb: add lookup_name_smbconf_ex() using lookup_name_internal()Ralph Boehme1-1/+1
Returns NTSTATUS instead of bool. lookup_name_smbconf() becomes a thin wrapper around lookup_name_smbconf_ex(). Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-07-26s3/lib: add per-user support to set_namearray()Ralph Boehme1-0/+1
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-07-26s3/lib: move set_namearray() to util_namearray.cRalph Boehme1-0/+8
Needed to fix circular dependencies between samba-passdb, secrets3 and samba3util (iirc). Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-07-26s3/lib: modernize set_namearray()Ralph Boehme1-1/+0
No change in behaviour. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-05-14s3:libads: finally remove unused ads_connect[_user_creds]() and related codeStefan Metzmacher1-1/+0
That was a long way, but now we're cli_credentials/gensec only :-) Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2024-04-23s3:libads: add tls_wrapping into openldapStefan Metzmacher1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-04-23s3:tldap: add support for [START]TLSStefan Metzmacher1-0/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-04-09s3:rpc_client: Implement rpc_lsa_encrypt_trustdom_info_aes()Andreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-04-05s3:wscript: LIBNMB requires lp_ functionsStefan Metzmacher1-0/+1
We need to make this explicit in order to let LIBNMB be used in source4 code. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15620 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-12-15VERSION: move COPYRIGHT_STARTUP_MESSAGE as SAMBA_COPYRIGHT_STRING into version.hStefan Metzmacher1-2/+1
We also prodive a samba_copyright_string() helper similar to samba_version_string(). BUG: https://bugzilla.samba.org/show_bug.cgi?id=15377 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Björn Jacke <bjacke@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Dec 15 10:44:42 UTC 2023 on atb-devel-224
2023-10-25libcli/wsp: Add simple client api for wsp client code.Noel Power1-0/+6
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-09-25libsmb: Make libsmb/clispnego.c static to libads/Volker Lendecke1-1/+0
It's only called there. The "+" part of this patch might not conform to README.Coding because it's a literal cut&paste. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2023-06-16profiling: Factor out functions to read smbprofile.tdbVolker Lendecke1-1/+4
We don't need all of Samba just to dump contents of this tdb, make exporting profile information cheaper. No direct use yet, but it's a good cleanup IMHO Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2023-06-05smbd: Remove smb1-only perfcount subsystemVolker Lendecke1-1/+0
This never took off outside of a special OEM setup. 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): Mon Jun 5 18:13:05 UTC 2023 on atb-devel-224
2023-03-29s3:waf: Fix One Definition Rule (ODR) violation of libsecrets3Andreas Schneider1-1/+1
==7109==ERROR: AddressSanitizer: odr-violation (0x7f7d682b4f00): [1] size=88 'ndr_table_secrets' source3/librpc/gen_ndr/ndr_secrets.c:1002:34 [2] size=88 'ndr_table_secrets' source3/librpc/gen_ndr/ndr_secrets.c:1002:34 These globals were registered at these points: [1]: #0 0x7f7d6843eda8 (/lib64/libasan.so.8+0x3eda8) #1 0x7f7d682970ed in _sub_I_00099_1 (bin/shared/private/libsecrets3-samba4.so+0x1a0ed) #2 0x7f7d68af72fd in call_init /usr/src/debug/glibc-2.37/elf/dl-init.c:70 #3 0x7f7d68af72fd in call_init /usr/src/debug/glibc-2.37/elf/dl-init.c:26 [2]: #0 0x7f7d6843eda8 (/lib64/libasan.so.8+0x3eda8) #1 0x7f7d65d423fb in _sub_I_00099_1 (bin/shared/private/libndr-samba4.so+0x3423fb) #2 0x7f7d68af72fd in call_init /usr/src/debug/glibc-2.37/elf/dl-init.c:70 #3 0x7f7d68af72fd in call_init /usr/src/debug/glibc-2.37/elf/dl-init.c:26 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-01-12build: Don't compile source3/lib/util_sd.c four timesVolker Lendecke1-0/+3
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2022-12-16s3-librpc: add ads.idl and convert ads_struct to talloc.Günther Deschner1-1/+1
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-12-14smbd: Remove source3/smbd/statcache.cVolker Lendecke1-1/+0
After I found that nobody calls stat_cache_add() anymore, there was no reason to keep the rest of statcache.c. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-09-20s3:smbd: move locking related vfs functions to smbd/vfs.cStefan Metzmacher1-0/+1
This allows us to make VFS_FIND local to smbd/vfs.c in the next step. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-09-19libsmb: Use find_snapshot_token() for clistr_is_previous_version_path()Volker Lendecke1-1/+0
Dedup that string parsing logic 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): Mon Sep 19 18:21:56 UTC 2022 on sn-devel-184
2022-06-24s3:waf: Fix version number of public libsmbconfAndreas Schneider1-1/+1
Error: ldconfig: /lib64/libsmbconf.so.0 is not a symbolic link BUG: https://bugzilla.samba.org/show_bug.cgi?id=15108 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Jun 24 09:48:38 UTC 2022 on sn-devel-184
2022-05-06source3/lib/smbconf: add python bindings for init functionsJohn Mulligan1-0/+5
Add functions that allow python to access the registry back-end initialization function as well as the "general" init function that parses the back-end out of given string "path". With the registry back-end it will be possible to implement and test read-write functions of smbconf API in the future. Signed-off-by: John Mulligan <jmulligan@redhat.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2022-04-07smbd: Move trans2.c -> smb2_trans2.cDavid Mulder1-1/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move send_trans2_replies to smb1_trans2.cDavid Mulder1-0/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move process.c -> smb1_process.cDavid Mulder1-1/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move srv_send_smb/smb2_srv_send to smb2_process.cDavid Mulder1-0/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move signing.c -> smb1_signing.cDavid Mulder1-1/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move smb2_srv_init_signing to smb2_signing.cDavid Mulder1-0/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move service.c -> smb2_service.cDavid Mulder1-1/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move make_connection to smb1_service.cDavid Mulder1-0/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move reply.c -> smb1_reply.cDavid Mulder1-1/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move check_path_syntax* to smb2_reply.cDavid Mulder1-0/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move pipes.c -> smb2_pipes.cDavid Mulder1-1/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move reply_open_pipe_and_X to smb1_pipes.cDavid Mulder1-0/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move oplock.c -> smb2_oplock.cDavid Mulder1-1/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move new_break_message_smb1 to smb1_oplock.cDavid Mulder1-0/+1
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07smbd: Move nttrans.c -> smb1_nttrans.cDavid Mulder1-1/+1
nttrans.c now contians only smb1 code Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>