]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
2 months agos4:torture/smb2: let smb2.bench tests start the loop only when everything is ready
Stefan Metzmacher [Fri, 16 May 2025 11:41:21 +0000 (13:41 +0200)] 
s4:torture/smb2: let smb2.bench tests start the loop only when everything is ready

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri May 16 13:41:56 UTC 2025 on atb-devel-224

2 months agowafsamba: Adjust 'match' logic to override paths in config.check()
Noel Power [Thu, 8 May 2025 18:16:07 +0000 (19:16 +0100)] 
wafsamba: Adjust 'match' logic to override paths in config.check()

messages that match various parts of the configure check progress e.g.
 'Checking for library iconv'
 'Checking for iconv_open'
 'Checking for header iconv.h'

are intercepted and the some path(s) modified with the associated option
value

    o buildtools/wafsamba/samba_conftests.py: Add arg_list variable
       arg_list contains the argument object returned from
       'argparser.ArgumentParser.add_argument' which is called
       with the content of the 'match' keyword passed to 'add_option'
       stripped out. The content of the 'match' keyword is saved as
       an attribute to the arg object appended to arg_list.
    o buildtools/wafsamba/samba_waf18.py:
       search arg_list (see above) that match and 'msg' argument passed
       to arg_list (allowing the dest variable associated with the argument
       to be accessed and added to some 'path' used during the 'check' phase

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri May 16 10:31:31 UTC 2025 on atb-devel-224

2 months agodynconfig/wscript: Adjust default cleanup for waf 2.1.5
Andreas Schneider [Thu, 8 May 2025 19:33:52 +0000 (20:33 +0100)] 
dynconfig/wscript: Adjust default cleanup for waf 2.1.5

Using waf 2.1.5 parser.defaults no longer exists (that's part of
the optparse module and waf 2.1.5 uses argparse)
This patch adjusts the default cleanup for argparse.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agowafsamba: Adjust for waf 2.1.5 case of some Options.options attributes
Noel Power [Thu, 8 May 2025 19:28:54 +0000 (20:28 +0100)] 
wafsamba: Adjust for waf 2.1.5 case of some Options.options attributes

Some dynamic attribute names  for some variables have changed
from uppercase to lowercase with waf 2.1.5

e.g.

  Options.options.LIBDIR  -> Options.options.libdir
  Options.options.BINDIR  -> Options.options.bindir
  Options.options.SBINDIR -> Options.options.sbindir

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agowafsamba: Adjust for waf 2.1.5 wafsamba_options_parse_cmd_args return
Noel Power [Thu, 8 May 2025 19:26:33 +0000 (20:26 +0100)] 
wafsamba: Adjust for waf 2.1.5 wafsamba_options_parse_cmd_args return

return 2 item tuple to match waf 2.1.5 version of
Options.OptionsContext.parse_cmd_args

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agothird_party: Update waf to version 2.1.5
Andreas Schneider [Mon, 28 Apr 2025 11:31:20 +0000 (13:31 +0200)] 
third_party: Update waf to version 2.1.5

https://gitlab.com/ita1024/waf/-/blob/waf-2.1.5/ChangeLog

This breaks the build, the following 4 commit will fix it again.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agowafsamba: Set env variables before calling command
Noel Power [Fri, 2 May 2025 09:56:15 +0000 (10:56 +0100)] 
wafsamba: Set env variables before calling command

Old optparse handling in third_party/waf/waflib/Options.py would process
leftover arguments and distinguish between env var overrides and
commands. In waf 2.1.5 Options.py no longer will do this and we can see
this with config command like (from fuzz job)

./configure.developer -C --without-gettext --enable-debug --enable-developer --enable-libfuzzer --address-sanitizer --disable-warnings-as-errors --abi-check-disable --fuzz-target-ldflags=-Wl,--disable-new-dtags  --nonshared-binary=ALL --enable-afl-fuzzer --with-prometheus-exporter LINK_CC=

failing like below

'configure' finished successfully (1m11.100s)

==> /builds/samba-team/devel/samba/samba-fuzz.stderr <==
No function 'LINK_CC=' defined in /builds/samba-testbase/samba-fuzz/wscript
2025-05-02 08:58:21,615 samba-fuzz: [fuzzers-build] failed 'OUT=/builds/samba-testbase/prefix/samba-fuzz LIB_FUZZING_ENGINE= SANITIZER=address CXX= CFLAGS= ADDITIONAL_LDFLAGS='-fuse-ld=bfd' ./lib/fuzzing/oss-fuzz/build_samba.sh --enable-afl-fuzzer --with-prometheus-exporter' with status 1

Now we should just use the needed env directly e.g. for example above you
should call configure as below

LINK_CC= ./configure.developer -C --without-gettext --enable-debug --enable-developer --enable-libfuzzer --address-sanitizer --disable-warnings-as-errors --abi-check-disable --fuzz-target-ldflags=-Wl,--disable-new-dtags  --nonshared-binary=ALL --enable-afl-fuzzer --with-prometheus-exporter

This patch adjusts some documentation and a build script to reflect
this change.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agowafsamba: Adjust for waf 2.1.5, add default for '--with/without-json'
Noel Power [Thu, 8 May 2025 19:19:54 +0000 (20:19 +0100)] 
wafsamba: Adjust for waf 2.1.5, add default for '--with/without-json'

With argparse we need to specify a default for in order to correctly
handle conflicting values for with/without-json

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agowafsamba: Adjust value type from string name(s) to actual
Andreas Schneider [Tue, 29 Apr 2025 14:15:54 +0000 (16:15 +0200)] 
wafsamba: Adjust value type from string name(s) to actual

Signed-off-by: Noel Power <noel.power@suse.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agowafsamba: simplify mit kerberos detection
Noel Power [Thu, 8 May 2025 08:43:17 +0000 (09:43 +0100)] 
wafsamba: simplify mit kerberos detection

This patch removes the --with-system-mitkrb5 callback and associated
ability to store both boolean and path (string list) content.
The boolean part is self explanatory, specifying a path list
was a way to alternatively specify where krb5-config was found.
Instead now after this change to influence where krb5-config is found
the PATH variable itself should be modified before running configure.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agothird_party: Update waf to version 2.0.27
Andreas Schneider [Mon, 28 Apr 2025 11:28:56 +0000 (13:28 +0200)] 
third_party: Update waf to version 2.0.27

This is the last 2.0.x version.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri May 16 08:48:22 UTC 2025 on atb-devel-224

2 months agoutils: Fix CID 1638831 Division or modulo by zero
Shwetha K Acharya [Mon, 5 May 2025 07:47:05 +0000 (13:17 +0530)] 
utils: Fix CID 1638831 Division or modulo by zero

The conditions now == start or pos == start_pos are checked
at the beginning of the function definition to ensure that avg
is non zero.
Also an appropriate print statement is added to indicate
the print status.

Signed-off-by: Shwetha K Acharya <Shwetha.K.Acharya@ibm.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri May 16 07:10:57 UTC 2025 on atb-devel-224

2 months agoutils: Fix CID 242227 resource leak
Shwetha K Acharya [Fri, 9 May 2025 09:46:19 +0000 (15:16 +0530)] 
utils: Fix CID 242227 resource leak

Signed-off-by: Shwetha K Acharya <Shwetha.K.Acharya@ibm.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2 months agolibsmb: Modernize two DEBUGs
Volker Lendecke [Mon, 7 Apr 2025 08:47:23 +0000 (10:47 +0200)] 
libsmb: Modernize two DEBUGs

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu May 15 15:06:36 UTC 2025 on atb-devel-224

2 months agowinbind: Fix a few Coverity complaints
Volker Lendecke [Wed, 2 Apr 2025 07:34:57 +0000 (09:34 +0200)] 
winbind: Fix a few Coverity complaints

Coverity correctly complains that we pass time_t into a uint32_t.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agosmbd: Modernize a few DEBUGs
Volker Lendecke [Mon, 7 Apr 2025 13:28:14 +0000 (15:28 +0200)] 
smbd: Modernize a few DEBUGs

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolib: Fix whitespace
Volker Lendecke [Tue, 8 Apr 2025 09:46:38 +0000 (11:46 +0200)] 
lib: Fix whitespace

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolib: Save lines by avoiding explicit ZERO_STRUCTP calls
Volker Lendecke [Fri, 4 Apr 2025 10:24:59 +0000 (12:24 +0200)] 
lib: Save lines by avoiding explicit ZERO_STRUCTP calls

SMB_CALLOC_ARRAY(..., 1) does this.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Put useccache initialization into one place
Volker Lendecke [Thu, 24 Apr 2025 10:04:46 +0000 (12:04 +0200)] 
libsmb: Put useccache initialization into one place

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolsa_server4: Fix comments
Volker Lendecke [Mon, 5 May 2025 08:53:25 +0000 (10:53 +0200)] 
lsa_server4: Fix comments

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Avoid an "else"
Volker Lendecke [Thu, 8 May 2025 16:00:34 +0000 (18:00 +0200)] 
libsmb: Avoid an "else"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agosmbd: Modernize DEBUGs
Volker Lendecke [Thu, 8 May 2025 11:57:25 +0000 (13:57 +0200)] 
smbd: Modernize DEBUGs

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Avoid a "else" in cli_read_max_bufsize()
Volker Lendecke [Thu, 8 May 2025 11:47:37 +0000 (13:47 +0200)] 
libsmb: Avoid a "else" in cli_read_max_bufsize()

Simpler to read for me.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolib: Modernize a few DEBUGs
Volker Lendecke [Wed, 7 May 2025 13:45:53 +0000 (15:45 +0200)] 
lib: Modernize a few DEBUGs

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Remove an unused variable
Volker Lendecke [Tue, 6 May 2025 15:06:39 +0000 (17:06 +0200)] 
libsmb: Remove an unused variable

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Move 192 bytes from R/W .data to R/O (shared) .text
Volker Lendecke [Tue, 6 May 2025 11:52:57 +0000 (13:52 +0200)] 
libsmb: Move 192 bytes from R/W .data to R/O (shared) .text

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Reduce indentation in SMBC_attr_server()
Volker Lendecke [Tue, 6 May 2025 11:18:30 +0000 (13:18 +0200)] 
libsmb: Reduce indentation in SMBC_attr_server()

Use an early return

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Reduce indentation in SMBC_find_server()
Volker Lendecke [Mon, 5 May 2025 13:55:13 +0000 (15:55 +0200)] 
libsmb: Reduce indentation in SMBC_find_server()

Use an early return

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Simplify cli_smb2_list_send()
Volker Lendecke [Mon, 5 May 2025 12:05:03 +0000 (14:05 +0200)] 
libsmb: Simplify cli_smb2_list_send()

Use make_smb2_posix_create_ctx()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Remove a redundant tevent_req_nterror()
Volker Lendecke [Mon, 5 May 2025 12:02:39 +0000 (14:02 +0200)] 
libsmb: Remove a redundant tevent_req_nterror()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Reduce indentation in SMBC_check_server() with a "goto done"
Volker Lendecke [Mon, 5 May 2025 10:47:07 +0000 (12:47 +0200)] 
libsmb: Reduce indentation in SMBC_check_server() with a "goto done"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Reduce indentation in SMBC_check_server() with an early return
Volker Lendecke [Mon, 5 May 2025 10:43:58 +0000 (12:43 +0200)] 
libsmb: Reduce indentation in SMBC_check_server() with an early return

Best reviewed with "git show -b"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Introduce a helper var in SMBC_check_server()
Volker Lendecke [Mon, 5 May 2025 10:41:51 +0000 (12:41 +0200)] 
libsmb: Introduce a helper var in SMBC_check_server()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Introduce a helper var in SMBC_check_server()
Volker Lendecke [Mon, 5 May 2025 10:40:35 +0000 (12:40 +0200)] 
libsmb: Introduce a helper var in SMBC_check_server()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Fix a nomem return from cli_smb2_list_send()
Volker Lendecke [Mon, 5 May 2025 09:07:08 +0000 (11:07 +0200)] 
libsmb: Fix a nomem return from cli_smb2_list_send()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agoutils: Fix a comment
Volker Lendecke [Tue, 29 Apr 2025 12:03:41 +0000 (14:03 +0200)] 
utils: Fix a comment

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Save errno across TALLOC_FREE in a few places
Volker Lendecke [Mon, 28 Apr 2025 12:48:16 +0000 (14:48 +0200)] 
libsmb: Save errno across TALLOC_FREE in a few places

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Simplify SMBC_creat_ctx()
Volker Lendecke [Fri, 25 Apr 2025 15:12:30 +0000 (17:12 +0200)] 
libsmb: Simplify SMBC_creat_ctx()

The same is also checked in SMBC_open_ctx()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agoauth: Reduce indentation
Volker Lendecke [Thu, 3 Apr 2025 15:14:42 +0000 (17:14 +0200)] 
auth: Reduce indentation

Best reviewed with "git sh -b"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Slightly simplify libsmb_xattr
Volker Lendecke [Thu, 3 Apr 2025 09:41:24 +0000 (11:41 +0200)] 
libsmb: Slightly simplify libsmb_xattr

We have str[n]equal() for this

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Simplify net_share_enum_rpc() with a direct struct initialization
Volker Lendecke [Fri, 25 Apr 2025 14:07:20 +0000 (16:07 +0200)] 
libsmb: Simplify net_share_enum_rpc() with a direct struct initialization

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Save a few lines of ZERO_STRUCTP with SMB_CALLOC_ARRAY
Volker Lendecke [Fri, 25 Apr 2025 14:06:08 +0000 (16:06 +0200)] 
libsmb: Save a few lines of ZERO_STRUCTP with SMB_CALLOC_ARRAY

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agovfs: Fix some whitespace
Volker Lendecke [Fri, 25 Apr 2025 07:38:59 +0000 (09:38 +0200)] 
vfs: Fix some whitespace

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agosmbd: Replace talloc_zero() with a struct initialization
Volker Lendecke [Tue, 8 Apr 2025 07:49:17 +0000 (09:49 +0200)] 
smbd: Replace talloc_zero() with a struct initialization

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2 months agolibsmb: Reduce indentation in SMB_open_ctx()
Volker Lendecke [Wed, 7 May 2025 12:25:01 +0000 (14:25 +0200)] 
libsmb: Reduce indentation in SMB_open_ctx()

The "else" branch does not fall through to the opendir-retry. Best
reviewed with "git sh -b".

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
3 months agogitlab-ci: add ubuntu2404
Stefan Metzmacher [Wed, 30 Apr 2025 08:37:04 +0000 (10:37 +0200)] 
gitlab-ci: add ubuntu2404

For now we don't use it as default as the autobuild server would need to
be upgraded as well, but that will happen soon.

We also can't remove ubuntu2004 yet, because it's needed for
samba-fuzz.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon May 12 20:27:24 UTC 2025 on atb-devel-224

3 months agogitlab-ci: add a reference for samba-fuzz regarding oss-fuzz with ubuntu 20.04
Stefan Metzmacher [Wed, 30 Apr 2025 08:28:05 +0000 (10:28 +0200)] 
gitlab-ci: add a reference for samba-fuzz regarding oss-fuzz with ubuntu 20.04

When https://github.com/google/oss-fuzz/pull/13018 is merged we can
likely switch to ubuntu 24.04 for oss-fuzz

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
3 months agoscript/autobuild.py: don't specify _FORTIFY_SOURCE together with -O3 on ubuntu
Stefan Metzmacher [Wed, 30 Apr 2025 18:18:28 +0000 (18:18 +0000)] 
script/autobuild.py: don't specify _FORTIFY_SOURCE together with -O3 on ubuntu

Passing _FORTIFY_SOURCE=2 while -O3 might imply _FORTIFY_SOURCE=3
causes an redefined error.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
3 months agoasync_sock: try recvmsg(MSG_DONTWAIT) without fd event handler first
Stefan Metzmacher [Mon, 28 Apr 2025 15:56:37 +0000 (17:56 +0200)] 
async_sock: try recvmsg(MSG_DONTWAIT) without fd event handler first

Also callers typically read a header to get the length and then
the remaining data, for that we typically don't need an additional
hop via [e]poll.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon May 12 11:28:47 UTC 2025 on atb-devel-224

3 months agoasync_sock: split out read_packet_do() from read_packet_handler()
Stefan Metzmacher [Mon, 28 Apr 2025 15:54:31 +0000 (17:54 +0200)] 
async_sock: split out read_packet_do() from read_packet_handler()

We'll call read_packet_do() in other places too in future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agoasync_sock: make use of recvmsg() in read_packet_handler()
Stefan Metzmacher [Mon, 28 Apr 2025 15:46:44 +0000 (17:46 +0200)] 
async_sock: make use of recvmsg() in read_packet_handler()

This typically has a better call stack in the kernel.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agoasync_sock: let writev_do() try sendmsg() first
Stefan Metzmacher [Mon, 28 Apr 2025 15:38:15 +0000 (17:38 +0200)] 
async_sock: let writev_do() try sendmsg() first

This is typically more efficient on the kernel call stack.
As far as I can see writev_send/recv is only used with sockets
so far, but in any case we fallback on ENOTSOCK.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agosource3/wscript: Remove extra config WITH_PROMETHEUS_EXPORTER
Anoop C S [Thu, 8 May 2025 07:50:08 +0000 (13:20 +0530)] 
source3/wscript: Remove extra config WITH_PROMETHEUS_EXPORTER

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Fri May  9 12:04:16 UTC 2025 on atb-devel-224

3 months agosource3/wscript: Configure prometheus exporter only with profiling
Anoop C S [Thu, 8 May 2025 07:38:13 +0000 (13:08 +0530)] 
source3/wscript: Configure prometheus exporter only with profiling

Prometheus endpoint is only built when profiling is enabled during
configure step. Therefore bail out early if this is not the case.

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agodocs-xml: only generate prometheus manpage when configured
Günther Deschner [Tue, 22 Apr 2025 09:45:15 +0000 (11:45 +0200)] 
docs-xml: only generate prometheus manpage when configured

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agosmbd: Simplify synthetic_smb_fname_split()
Volker Lendecke [Thu, 8 May 2025 13:11:17 +0000 (15:11 +0200)] 
smbd: Simplify synthetic_smb_fname_split()

Remove the "posix_path" parameter, all callers just passed in "false".

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri May  9 11:02:41 UTC 2025 on atb-devel-224

3 months agosmbd: Handle the "posix" special case outside of synthetic_smb_fname_split
Volker Lendecke [Thu, 8 May 2025 13:06:23 +0000 (15:06 +0200)] 
smbd: Handle the "posix" special case outside of synthetic_smb_fname_split

See next patch

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
3 months agosmbd: Remove the "posix_pathnames" global variable
Volker Lendecke [Thu, 8 May 2025 13:00:34 +0000 (15:00 +0200)] 
smbd: Remove the "posix_pathnames" global variable

This was only set from the smb1 trans2 call negotiating smb1 unix
extensions. This means for none of the callers in cmd_vfs and pysmbd
this could ever have been set to "true". The only real caller is
init_smb1_request(), and there we have the originating xconn with its
flags available for direct query.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
3 months agothird_party: Update socket_wrapper to version 1.5.0
Stefan Metzmacher [Mon, 5 May 2025 08:41:32 +0000 (10:41 +0200)] 
third_party: Update socket_wrapper to version 1.5.0

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue May  6 14:06:49 UTC 2025 on atb-devel-224

3 months agovfs_ceph_snapshots: Always calculate absolute snapshot path
Anoop C S [Tue, 4 Mar 2025 10:45:05 +0000 (16:15 +0530)] 
vfs_ceph_snapshots: Always calculate absolute snapshot path

Use the same logic from shadow_copy2 module to always prepend the
connectpath to the relative snapshot path so as to return converted
path corresponding to the file's share root.

Please note that with the current working directory staying at the
connectpath level we are safe to prefix it to the smb_filename. In
other words it seems we never get past the connectpath internally
during normal file system operations via chdir(). Since all relative
paths are now based on dirfsp we could constitute absolute path by
prepending the connectpath to full_path_from_dirfsp_atname() output
ignoring the current working directory.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15819

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Wed Apr 30 11:32:59 UTC 2025 on atb-devel-224

3 months agovfs_ceph_snapshots: Use full path from dirfsp at smb_fname
Anoop C S [Tue, 4 Mar 2025 09:39:33 +0000 (15:09 +0530)] 
vfs_ceph_snapshots: Use full path from dirfsp at smb_fname

In ceph_snap_gmt_openat() we hand in the incoming smb_fname as it is
to ceph_snap_gmt_strip_snapshot() which is then passed on to derive
the actual snapshot path using ceph_snap_gmt_convert(). But this can
go wrong in ceph_snap_gmt_convert_dir() while opening the snapdir.
Unless we constitute the full path from dirfsp at the first place we
always end up opening the snapdir from the parent directory with
OpenDir().

For example with dirfsp("foobar") and smb_fname("shift.txt"), we open
snapdir from share root because parent is calculated as empty string
via ceph_snap_get_parent_path(). Instead we could construct the full
path from dirfsp using full_path_from_dirfsp_atname() to ensure we
don't open the wrong snapdir.

Since we have access to the twrp token at VFS layer it doesn't make
much sense to make use of ceph_snap_gmt_strip_snapshot() in openat.
We could instead directly act based on already available twrp token
avoiding an extra copy of incoming smb_filename.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15819

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: David Disseldorp ddiss@samba.org
3 months agogitlab-ci: Update Fedora to version 42
Andreas Schneider [Mon, 28 Apr 2025 12:20:59 +0000 (14:20 +0200)] 
gitlab-ci: Update Fedora to version 42

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Apr 30 09:41:38 UTC 2025 on atb-devel-224

3 months agolib/util: let dump_data_diff() pass omit_zero_bytes to dump_data_diff_cb()
Stefan Metzmacher [Tue, 22 Apr 2025 13:18:09 +0000 (15:18 +0200)] 
lib/util: let dump_data_diff() pass omit_zero_bytes to dump_data_diff_cb()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Apr 29 17:56:37 UTC 2025 on atb-devel-224

3 months agopysmbd: fix samba.tests.samba_tool.ntacl failure due to errno overwrite
Noel Power [Wed, 23 Apr 2025 16:15:40 +0000 (17:15 +0100)] 
pysmbd: fix samba.tests.samba_tool.ntacl failure due to errno overwrite

some functions in source3/smbd/pysmbd.c when deleting stack frame
can modify errno. (and in one case causes failure with
test samba.tests.samba_tool.ntacl)

this is related to newer versions of lmdb (at least version 0.9.30)

[1(0)/1 at 20s] samba.tests.samba_tool.ntacl(ad_dc:local)
2025-04-23T16:18:23.341528+00:00 addc.addom.samba.example.com [13640]: set_nt_acl_conn: init_files_struct failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
UNEXPECTED(failure): samba.tests.samba_tool.ntacl.samba.tests.samba_tool.ntacl.NtACLCmdGetSetTestCase.test_set_expect_file_not_found(ad_dc:local)
REASON: Exception: Exception: Traceback (most recent call last):
  File "/home/npower/samba-temp/bin/python/samba/tests/samba_tool/ntacl.py", line 142, in test_set_expect_file_not_found
    "No such file or directory expected")
AssertionError: 'No such file or directory' not found in "ERROR: Could not set acl for setExpectFileNotFound-a94c241d9550d581e51d: [Errno 11] Resource temporarily unavailable: 'setExpectFileNotFound-a94c241d9550d581e51d'\n" : No such file or directory expected
teardown_env(ad_dc)

This patch saves/sets errno explicitly before calling PyErr_SetFromErrno to
ensure the correct errno is used.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Apr 28 14:31:15 UTC 2025 on atb-devel-224

3 months agos3:rpc_server: make sure we can bind to the same port on all ip addresses
Stefan Metzmacher [Wed, 23 Apr 2025 08:58:55 +0000 (10:58 +0200)] 
s3:rpc_server: make sure we can bind to the same port on all ip addresses

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15851

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
3 months agovfs_ceph_new: Enhance logging for improved debugging and code flow visibility (part 2)
Shweta Sodani [Fri, 14 Feb 2025 14:59:17 +0000 (20:29 +0530)] 
vfs_ceph_new: Enhance logging for improved debugging and code flow visibility (part 2)

This commit introduces significant enhancements to our logging system to
improve debugging capabilities and provide better visibility into the
code's execution flow. 

This is part 2 for logging improvement. There have already been some
logging improvements done in the past.

https://gitlab.com/samba-team/samba/-/merge_requests/3948

This commit includes following key changes.
Expanded a logging message
1) Every function entry and exit point.
2) Error Path / Error handling blocks.
3) Key decision branches (if/else statements).
Consistent logging.
1) Logging message to print either the file/dir name its
   feasible.
2) Standardized log message formatting to ensure consistency and
   readability. This makes it easier to scan and understand log
   output.

Impact
This enhancement will reduce the time required to diagnose and resolve
issues. It will provide valuable insights into the system's behavior,
enabling us to optimize performance and improve user experience.

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Mon Apr 28 07:04:15 UTC 2025 on atb-devel-224

3 months agolib/krb5_wrap: Fix placement of TALLOC_FREE(frame)
Pavel Filipenský [Wed, 23 Apr 2025 07:34:14 +0000 (09:34 +0200)] 
lib/krb5_wrap: Fix placement of TALLOC_FREE(frame)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15727

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Apr 23 12:14:17 UTC 2025 on atb-devel-224

3 months agos3:lib: map EPROTONOSUPPORT to NT_STATUS_PROTOCOL_NOT_SUPPORTED
Stefan Metzmacher [Tue, 15 Apr 2025 11:48:54 +0000 (13:48 +0200)] 
s3:lib: map EPROTONOSUPPORT to NT_STATUS_PROTOCOL_NOT_SUPPORTED

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Apr 18 11:18:42 UTC 2025 on atb-devel-224

3 months agolibcli/util: map EPROTONOSUPPORT to NT_STATUS_PROTOCOL_NOT_SUPPORTED
Stefan Metzmacher [Tue, 15 Apr 2025 11:48:54 +0000 (13:48 +0200)] 
libcli/util: map EPROTONOSUPPORT to NT_STATUS_PROTOCOL_NOT_SUPPORTED

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: make use of smbsock_any_connect_send/recv()
Stefan Metzmacher [Wed, 9 Apr 2025 13:17:12 +0000 (15:17 +0200)] 
s4:libcli: make use of smbsock_any_connect_send/recv()

This means have only one codepath that connects based
on struct smb_transports.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos3:libsmb: pass struct loadparm_context to smbsock_connect_send()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s3:libsmb: pass struct loadparm_context to smbsock_connect_send()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos3:libsmb: pass struct loadparm_context to smbsock_connect()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s3:libsmb: pass struct loadparm_context to smbsock_connect()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos3:libsmb: pass struct loadparm_context to smbsock_any_connect_send()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s3:libsmb: pass struct loadparm_context to smbsock_any_connect_send()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos3:libsmb: pass struct loadparm_context to smbsock_any_connect()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s3:libsmb: pass struct loadparm_context to smbsock_any_connect()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smbcli_sock_connect_send()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smbcli_sock_connect_send()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smb_composite_connect_send()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smb_composite_connect_send()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smb_composite_fetchfile_send()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smb_composite_fetchfile_send()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: remove unused smb_composite_fetchfile()
Stefan Metzmacher [Thu, 10 Apr 2025 18:33:41 +0000 (20:33 +0200)] 
s4:libcli: remove unused smb_composite_fetchfile()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smb_composite_fsinfo_send()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smb_composite_fsinfo_send()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: remove unused smb_composite_fsinfo()
Stefan Metzmacher [Thu, 10 Apr 2025 18:28:39 +0000 (20:28 +0200)] 
s4:libcli: remove unused smb_composite_fsinfo()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smb_composite_connect()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smb_composite_connect()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smbcli_tree_full_connection()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smbcli_tree_full_connection()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smbcli_full_connection()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smbcli_full_connection()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smbcli_sock_connect()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smbcli_sock_connect()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smbcli_socket_connect()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smbcli_socket_connect()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smb2_connect_send()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smb2_connect_send()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smb2_connect_ext()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smb2_connect_ext()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smb2_connect()
Stefan Metzmacher [Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)] 
s4:libcli: pass struct loadparm_context to smb2_connect()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: pass struct loadparm_context to smb_connect_nego_send()
Stefan Metzmacher [Thu, 10 Apr 2025 14:04:47 +0000 (16:04 +0200)] 
s4:libcli: pass struct loadparm_context to smb_connect_nego_send()

It will be passed further down in the next commits.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: simplify struct smbcli_socket
Stefan Metzmacher [Tue, 8 Apr 2025 14:21:04 +0000 (16:21 +0200)] 
s4:libcli: simplify struct smbcli_socket

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:libcli: use the correct talloc parent for smbcli_socket->hostname
Stefan Metzmacher [Wed, 9 Apr 2025 13:37:11 +0000 (15:37 +0200)] 
s4:libcli: use the correct talloc parent for smbcli_socket->hostname

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos3:libsmb: introduce smbsock_connect.h
Stefan Metzmacher [Wed, 9 Apr 2025 14:54:36 +0000 (16:54 +0200)] 
s3:libsmb: introduce smbsock_connect.h

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos3:smbstatus: provide the transport type via json output
Stefan Metzmacher [Tue, 8 Apr 2025 12:28:39 +0000 (14:28 +0200)] 
s3:smbstatus: provide the transport type via json output

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos3:smbd: store transport_type in smbXsrv_channel_global0
Stefan Metzmacher [Tue, 8 Apr 2025 12:20:36 +0000 (14:20 +0200)] 
s3:smbd: store transport_type in smbXsrv_channel_global0

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos3:smbd: expand scope of lp_ctx variable in main()
Stefan Metzmacher [Tue, 8 Apr 2025 07:42:50 +0000 (09:42 +0200)] 
s3:smbd: expand scope of lp_ctx variable in main()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:ldap_server: make use of tstream_tls_params_server_lpcfg()
Stefan Metzmacher [Tue, 8 Apr 2025 07:45:12 +0000 (09:45 +0200)] 
s4:ldap_server: make use of tstream_tls_params_server_lpcfg()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos4:lib/tls: introduce tstream_tls_params_server_lpcfg()
Stefan Metzmacher [Mon, 7 Apr 2025 16:15:53 +0000 (18:15 +0200)] 
s4:lib/tls: introduce tstream_tls_params_server_lpcfg()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agoexample/winexe: pass struct smb_transports through some more layers
Stefan Metzmacher [Sun, 6 Apr 2025 17:05:19 +0000 (19:05 +0200)] 
example/winexe: pass struct smb_transports through some more layers

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agoexample/fuse: pass struct smb_transports to connect_one()
Stefan Metzmacher [Sun, 6 Apr 2025 17:05:19 +0000 (19:05 +0200)] 
example/fuse: pass struct smb_transports to connect_one()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
3 months agos3:libsmb: pass struct smb_transports to cli_full_connection_creds()
Stefan Metzmacher [Sun, 6 Apr 2025 17:05:19 +0000 (19:05 +0200)] 
s3:libsmb: pass struct smb_transports to cli_full_connection_creds()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>