summaryrefslogtreecommitdiff
path: root/source3/utils/wscript_build
AgeCommit message (Collapse)AuthorFilesLines
2025-04-11utils: Initial version of smb_prometheus_endpointVolker Lendecke1-0/+10
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2024-07-26s3:lib: Merge library trusts_util into library adsPavel Filipenský1-1/+0
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-06-06s3:utils: DNS_UTIL depends on libads headers so we need to depend on 'ads'Stefan Metzmacher1-1/+1
Otherwise we don't get the correct header include paths and krb5.h in a non default location won't be found. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-01-26s3:utils: add 'net witness list' commandStefan Metzmacher1-0/+1
It lists the entries from the rpcd_witness_registration.tdb. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
2023-10-25s3/utils: Add search clientNoel Power1-0/+17
Simple cli client for doing a basic windows search. example: wspsearch -U$(USER)%$(PASSWD) //$(SERVER)/$(SHARE) --search='DSC' --kind=Picture Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-07-03utils3: Remove the "split_tokens" utilityVolker Lendecke1-9/+0
This is not tested as far as I can see, and as this is explicity meant as a testing utility I think we can live without it. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2023-04-05s3:utils: Use common command line parser for smbgetAndreas Schneider1-1/+1
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-3/+5
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2022-08-08smbstatus: add frame files for json specific methodsJule Anger1-0/+5
Signed-off-by: Jule Anger <janger@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2021-12-09build: Add missing dependency on addnsAndrew Bartlett1-1/+2
This becomes noticed when we upgrade Heimdal as we do not find the correct gssapi headers any more. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2021-12-06samba-tool: Create DNS entries on member joinDavid Mulder1-2/+5
The net ads join command already handles this, and the call was missing from the python bindings for samba-tool domain join member. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-11-30s3:ntlm_auth: use wbcRequestResponse[Priv]() instead of ↵Stefan Metzmacher1-0/+1
winbindd_request_response() We should try to route everything through libwbclient.so, because we'll soon don't have a single library providing winbindd_request_response(). BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2021-11-30s3:utils: remove notify_msg.c from smbstatus sourcesStefan Metzmacher1-1/+1
This is not needed for smbstatus and the symbols are also available via 'smbd_base', which already contains notify_msg.c. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2021-07-14s3-net: add "net offlinejoin" commandGünther Deschner1-0/+1
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
2021-05-28s3:utils: Migrate net to new cmdline option parserAndreas Schneider1-1/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-28s3:utils: Migrate smbtree to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-28s3:utils: Migrate smbcquotas to the new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-28s3:utils: Use samba_cmdline_burn() in smbgetAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-28s3:utils: Migrate samba-regedit to new cmdline option parserAndreas Schneider1-1/+7
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-28s3:utils: Migrate smbcacls to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate pdbedit to the new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate sharesec to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate spilt_tokens to new cmdline option parserAndreas Schneider1-1/+3
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate smbcontrol to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate dbwrap_torture to new cmdline option parserAndreas Schneider1-1/+3
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate smbstatus to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate ntlm_auth to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate mdfind to new cmdline option parserAndreas Schneider1-2/+2
The signing_state is correctly handled by --client-protection now! Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate testparm to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate nmblookup to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate dbwrap_tool to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-25s3:utils: Migrate profiles to new cmdline option parserAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-07s3: utils: Remove debug2html utility. Not used, installed or tested.Richard Sharpe1-5/+0
No reference to it on the web since the year 2000. Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri May 7 03:20:46 UTC 2021 on sn-devel-184
2021-04-28s3:utils: Link py_net only against needed cmdline_contexts libraryAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-04-21s3: Add s3 net python bindingsDavid Mulder1-0/+8
This adds python bindings for the s3 net ads join and leave commands. Signed-off-by: David Mulder <dmulder@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-03-29Rename mdfind to mdsearchMathieu Parent1-2/+2
GNUstep as an mdfind binary, and both should be co-instalable. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14431 Signed-off-by: Mathieu Parent <math.parent@gmail.com> Reviewed-by: Ralph Boehme <slow@samba.org> Reviewed-by: Björn Baumbach <bb@sernet.de> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Mon Mar 29 16:18:54 UTC 2021 on sn-devel-184
2021-01-13s3:utils: Fix header and deps of mvxattrAndreas Schneider1-1/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
2021-01-13s3:utils: Remove unused header and deps from destroy_netlogon_creds_cliAndreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
2020-04-18libsmb: Move clirap2.c to utils/Volker Lendecke1-0/+1
It's only used in net_rap.c, expansion to other users is unlikely. Don't link it into libsmbclient anymore. It saves roughly 50k from the everywhere-linked libsmb. 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 Apr 18 04:12:48 UTC 2020 on sn-devel-184
2020-04-18utils: Convert smbtree to use libsmbclientVolker Lendecke1-1/+1
We have the domain browsing functionality in libsmbclient, don't duplicate it in smbtree with special code. Not too much gain in lines of code, but the new code is much more regular and reuses functionality provided elsewhere. This removes the "-b" option from smbtree, libsmbclient always does that. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2020-03-19s3:utils: Add weak crypto information to testparmAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-10-18Build registry parsing code into subsystemMichael Hanselmann1-1/+0
Fuzzing code will make use of the "reg_parse_fd" function. By building it into the "SMBREGISTRY" subsystem it can just be linked and "reg_parse.c" doesn't need to be explicitly included. Signed-off-by: Michael Hanselmann <public@hansmi.ch> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
2019-10-09s3:utils: add mdfindRalph Boehme1-0/+14
A small command line tool to run macOS Spotlight searches against an SMB server that runs the Spotlight mdssvc RPC service, including macOS and Samba. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Noel Power <noel.power@suse.com>
2019-07-12s3:net: add 'net vfs getntacl' commandRalph Boehme1-0/+1
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 12 22:59:58 UTC 2019 on sn-devel-184
2019-07-12s3:net: add 'vfs' hierarchy with 'stream2adouble' commandRalph Boehme1-0/+2
This adds a new top-level command hierarchy 'vfs' that can be used to add commands that access the smbd VFS stack. The first command to be implemented is 'stream2adouble' which can be used to convert stream metadata to AppleDouble files. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2019-04-12utils: Move conn_tdb.c to utils/Volker Lendecke1-0/+5
That's a wrapper that only smbstatus and net status use by now. 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): Fri Apr 12 00:37:05 UTC 2019 on sn-devel-144
2019-04-11build: Move smbstatus definition to source3/utils/wscript_buildVolker Lendecke1-0/+19
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2019-01-28utils:libgpo: re-add libgpo as library, it should not be part of gpextGünther Deschner1-1/+1
It was initially removed in 78fd02cf31dfe72d596030f342aebefba1e72263 but is needed by the inf file parsing. Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Bjoern Jacke <bjacke@samba.org>
2018-09-22s3: net: implement json output for ads infoPhilipp Gesang1-0/+2
Add the switch '--json' to 'net' to format the output as JSON. The rationale is to supply the information in a machine-readable fashion to complement the text version of the output which is neither particularly well defined nor locale-safe. The output differs from that of plain 'info' in that times are not formatted as timestamps. Currently affects only the 'net ads info' subcommand. Reviewed-by: Gary Lockyer <gary@catalyst.net.nz> Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-09-07s3:smbcontrol: Use cmdline_messaging_contextChristof Schmitt1-0/+1
Initialize the messaging context through cmdline_messaging_context to allow access to config in clustered Samba. 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>