]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
5 months agodrsuapi.idl: fix source_dsa spelling
Stefan Metzmacher [Fri, 10 Jan 2025 12:12:55 +0000 (13:12 +0100)] 
drsuapi.idl: fix source_dsa spelling

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Feb  8 19:49:33 UTC 2025 on atb-devel-224

5 months agosecurity.idl: DOMAIN_RID_{FOREST,EXTERNAL}_TRUST_ACCOUNTS
Stefan Metzmacher [Mon, 13 Jan 2025 22:25:35 +0000 (23:25 +0100)] 
security.idl: DOMAIN_RID_{FOREST,EXTERNAL}_TRUST_ACCOUNTS

These seem to be new in Windows 2025.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
5 months agosecurity.idl: add SID_NT_THIS_ORGANIZATION_CERTIFICATE
Stefan Metzmacher [Tue, 28 Jan 2025 13:29:58 +0000 (14:29 +0100)] 
security.idl: add SID_NT_THIS_ORGANIZATION_CERTIFICATE

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
5 months agosecurity.idl: change ORGANISATION into ORGANIZATION
Stefan Metzmacher [Wed, 4 Dec 2024 17:24:04 +0000 (18:24 +0100)] 
security.idl: change ORGANISATION into ORGANIZATION

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
5 months agodrsblobs.idl: make some scannerInfo related stuff public
Stefan Metzmacher [Wed, 5 Feb 2025 12:16:03 +0000 (13:16 +0100)] 
drsblobs.idl: make some scannerInfo related stuff public

This is needed in order to use ndr_pack() on them
in python code.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agodrsblobs.idl: use dom_sid0 in ForestTrustDataDomainInfo
Stefan Metzmacher [Tue, 17 Dec 2024 16:49:52 +0000 (17:49 +0100)] 
drsblobs.idl: use dom_sid0 in ForestTrustDataDomainInfo

We already use ndr_size_dom_sid0() and when ForestTrustDataDomainInfo
is used as part of ForestTrustDataScannerInfo, sid_size is 0
and the subcontext for the sid is skipped.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
5 months agodrsblobs.idl: introduce ForestTrustDataScannerInfo
Stefan Metzmacher [Tue, 17 Dec 2024 16:44:44 +0000 (17:44 +0100)] 
drsblobs.idl: introduce ForestTrustDataScannerInfo

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
5 months agodrsblobs.idl: split explicit binary data and unknown data for ForestTrustData
Stefan Metzmacher [Tue, 17 Dec 2024 14:40:49 +0000 (15:40 +0100)] 
drsblobs.idl: split explicit binary data and unknown data for ForestTrustData

For know FOREST_TRUST_SCANNER_INFO unknown.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
5 months agodrsblobs.idl: set NDR_PAHEX for ForestTrustDataBinaryData
Stefan Metzmacher [Tue, 17 Dec 2024 13:53:00 +0000 (14:53 +0100)] 
drsblobs.idl: set NDR_PAHEX for ForestTrustDataBinaryData

The dump_data hexdump is much easier to read...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
5 months agos4:torture/ndr: add a ForestTrustInfo ndr test with FOREST_TRUST_SCANNER_INFO
Stefan Metzmacher [Tue, 17 Dec 2024 13:40:32 +0000 (14:40 +0100)] 
s4:torture/ndr: add a ForestTrustInfo ndr test with FOREST_TRUST_SCANNER_INFO

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
5 months agodrsblobs.idl: add support for ForestTrustInfo with FOREST_TRUST_SCANNER_INFO
Stefan Metzmacher [Tue, 17 Dec 2024 11:30:56 +0000 (12:30 +0100)] 
drsblobs.idl: add support for ForestTrustInfo with FOREST_TRUST_SCANNER_INFO

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
5 months agos4:kdc: let samba_kdc_trust_message2entry don't support WITHIN_FOREST and PIM_TRUST
Stefan Metzmacher [Fri, 20 Dec 2024 18:50:53 +0000 (19:50 +0100)] 
s4:kdc: let samba_kdc_trust_message2entry don't support WITHIN_FOREST and PIM_TRUST

These are not supported yet.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat Feb  8 16:23:30 UTC 2025 on atb-devel-224

5 months agowinbindd: don't support PIM_TRUST and WITHIN_FOREST
Stefan Metzmacher [Mon, 23 Dec 2024 13:55:39 +0000 (14:55 +0100)] 
winbindd: don't support PIM_TRUST and WITHIN_FOREST

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:rpc_server/lsa: PIM trusts are not supported yet
Stefan Metzmacher [Thu, 19 Dec 2024 19:43:43 +0000 (20:43 +0100)] 
s4:rpc_server/lsa: PIM trusts are not supported yet

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:rpc_server/lsa: a PIM trust requires FOREST_TRANSITIVE
Stefan Metzmacher [Thu, 19 Dec 2024 19:43:18 +0000 (20:43 +0100)] 
s4:rpc_server/lsa: a PIM trust requires FOREST_TRANSITIVE

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:rpc_server/lsa: WITHIN_FOREST together with FOREST_TRANSITIVE is invalid
Stefan Metzmacher [Thu, 19 Dec 2024 18:34:59 +0000 (19:34 +0100)] 
s4:rpc_server/lsa: WITHIN_FOREST together with FOREST_TRANSITIVE is invalid

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:rpc_server/lsa: don't allow WITHIN_FOREST trusts
Stefan Metzmacher [Thu, 19 Dec 2024 18:26:10 +0000 (19:26 +0100)] 
s4:rpc_server/lsa: don't allow WITHIN_FOREST trusts

They are not supported yet.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:rpc_server/lsa: don't allow WITHIN_FOREST together with CROSS_ORGANIZATION
Stefan Metzmacher [Thu, 19 Dec 2024 18:22:47 +0000 (19:22 +0100)] 
s4:rpc_server/lsa: don't allow WITHIN_FOREST together with CROSS_ORGANIZATION

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:rpc_server: dcesrv_lsa_DeleteObject needs to close the handles
Stefan Metzmacher [Thu, 30 Jan 2025 18:03:32 +0000 (19:03 +0100)] 
s4:rpc_server: dcesrv_lsa_DeleteObject needs to close the handles

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:rpc_server/lsa: let dcesrv_lsa_CreateTrustedDomain check for valid netbios name...
Stefan Metzmacher [Thu, 30 Jan 2025 18:07:08 +0000 (19:07 +0100)] 
s4:rpc_server/lsa: let dcesrv_lsa_CreateTrustedDomain check for valid netbios name length

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:dsdb/common: check for valid netbios name length for trusts
Stefan Metzmacher [Thu, 30 Jan 2025 18:10:03 +0000 (19:10 +0100)] 
s4:dsdb/common: check for valid netbios name length for trusts

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agopython:tests: let lsa_utils.py use valid netbios names
Stefan Metzmacher [Wed, 5 Feb 2025 12:12:48 +0000 (13:12 +0100)] 
python:tests: let lsa_utils.py use valid netbios names

createtrustrelax has 16 characters, but only 15 are allowed
and they are typically uppercase.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:rpc_server/lsa: no longer send MSG_WINBIND_RELOAD_TRUSTED_DOMAINS
Stefan Metzmacher [Thu, 30 Jan 2025 18:04:28 +0000 (19:04 +0100)] 
s4:rpc_server/lsa: no longer send MSG_WINBIND_RELOAD_TRUSTED_DOMAINS

This is done by the "trust_notify" ldb module now.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agos4:dsdb/ldb_modules: add trust_notify module
Stefan Metzmacher [Thu, 6 Feb 2025 19:11:20 +0000 (20:11 +0100)] 
s4:dsdb/ldb_modules: add trust_notify module

This will notify winbindd if critical aspects
of the trusted domain topology are changed.

It means it will also happen when the changes are
replicated from other DCs.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: introduce update_trusted_domains_dc()
Stefan Metzmacher [Tue, 4 Feb 2025 17:32:59 +0000 (18:32 +0100)] 
winbindd: introduce update_trusted_domains_dc()

Reloading trusts should reload every aspect of
the trust and also remove deleted trusts from
the winbindd _domain_list.

But pending requests still continue.

With this commit it is required that
async state structures use struct winbindd_domain_ref
instead of raw struct winbindd_domain pointers,
in order to usage of stale pointers.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: use struct winbindd_domain_ref in struct winbindd_domain_info_state
Stefan Metzmacher [Fri, 7 Feb 2025 12:57:45 +0000 (13:57 +0100)] 
winbindd: use struct winbindd_domain_ref in struct winbindd_domain_info_state

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: use struct winbindd_domain_ref in struct wb_lookupsids_domain
Stefan Metzmacher [Fri, 7 Feb 2025 12:57:45 +0000 (13:57 +0100)] 
winbindd: use struct winbindd_domain_ref in struct wb_lookupsids_domain

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: use struct winbindd_domain_ref in struct winbindd_list_groups_domstate
Stefan Metzmacher [Fri, 7 Feb 2025 12:57:45 +0000 (13:57 +0100)] 
winbindd: use struct winbindd_domain_ref in struct winbindd_list_groups_domstate

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: use struct winbindd_domain_ref in struct winbindd_list_users_domstate
Stefan Metzmacher [Fri, 7 Feb 2025 12:57:45 +0000 (13:57 +0100)] 
winbindd: use struct winbindd_domain_ref in struct winbindd_list_users_domstate

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: use struct winbindd_domain_ref in struct trustdom_state
Stefan Metzmacher [Fri, 7 Feb 2025 12:57:45 +0000 (13:57 +0100)] 
winbindd: use struct winbindd_domain_ref in struct trustdom_state

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: use struct winbindd_domain_ref in struct getgrent_state
Stefan Metzmacher [Fri, 7 Feb 2025 12:57:45 +0000 (13:57 +0100)] 
winbindd: use struct winbindd_domain_ref in struct getgrent_state

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: use struct winbindd_domain_ref in struct getpwent_state
Stefan Metzmacher [Fri, 7 Feb 2025 12:57:45 +0000 (13:57 +0100)] 
winbindd: use struct winbindd_domain_ref in struct getpwent_state

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: use struct winbindd_domain_ref in struct wb_query_user_list_state
Stefan Metzmacher [Fri, 7 Feb 2025 12:57:45 +0000 (13:57 +0100)] 
winbindd: use struct winbindd_domain_ref in struct wb_query_user_list_state

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: use struct winbindd_domain_ref in struct wbint_bh_raw_call_state
Stefan Metzmacher [Fri, 7 Feb 2025 12:57:45 +0000 (13:57 +0100)] 
winbindd: use struct winbindd_domain_ref in struct wbint_bh_raw_call_state

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Note this is most likely not really needed because
the requests are in the domain or child tevent queue,
before the domain will be free'ed.
But we better use the winbindd_domain_ref in
all async state!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: add struct winbindd_domain_ref infrastructure
Stefan Metzmacher [Fri, 7 Feb 2025 12:43:10 +0000 (13:43 +0100)] 
winbindd: add struct winbindd_domain_ref infrastructure

In the next commits it will be possible that
struct winbindd_domain instances become stale
because trusted domains were reloaded.

That means aync state structure should not use
pointers to 'struct winbindd_domain' as they
can become stale!

Instead they should use 'struct winbindd_domain_ref domain'
in the async state and use winbindd_domain_ref_set/get()
to manage the 'struct winbindd_domain' pointer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: winbindd_child->domain is a talloc grant parent if valid
Stefan Metzmacher [Fri, 7 Feb 2025 15:16:25 +0000 (16:16 +0100)] 
winbindd: winbindd_child->domain is a talloc grant parent if valid

This comment makes it easier to spot if we still have
'struct winbindd_domain' pointers in state structures,
which should be replaced by struct winbindd_domain_ref,
in order to handle stale domains after reloading trusts.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: assert that wbint_binding_handle() gets a valid memory context
Stefan Metzmacher [Fri, 7 Feb 2025 15:10:59 +0000 (16:10 +0100)] 
winbindd: assert that wbint_binding_handle() gets a valid memory context

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: let setup_child() use a useful mem_ctx for talloc memory
Stefan Metzmacher [Fri, 7 Feb 2025 15:09:39 +0000 (16:09 +0100)] 
winbindd: let setup_child() use a useful mem_ctx for talloc memory

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: make wb_domain_request_* more robust
Stefan Metzmacher [Fri, 7 Feb 2025 14:46:33 +0000 (15:46 +0100)] 
winbindd: make wb_domain_request_* more robust

We don't need struct winbindd_domain_ref, but
we should clear the pointers before removing
the queue entry.

And we should start the queue every time
before remove ourself.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: wbint_bh_raw_call_child_done() doesn't have state->domain
Stefan Metzmacher [Fri, 7 Feb 2025 14:24:50 +0000 (15:24 +0100)] 
winbindd: wbint_bh_raw_call_child_done() doesn't have state->domain

Only child or domain binding handles are possible!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: let wb_lookupsid_send() use a stack variable for struct winbindd_domain
Stefan Metzmacher [Fri, 7 Feb 2025 14:10:20 +0000 (15:10 +0100)] 
winbindd: let wb_lookupsid_send() use a stack variable for struct winbindd_domain

It's not needed to be on struct wb_lookupsid_state.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: remove unused free_domain_list()
Stefan Metzmacher [Tue, 4 Feb 2025 10:40:36 +0000 (11:40 +0100)] 
winbindd: remove unused free_domain_list()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
5 months agowinbindd: let add_trusted_domain() check sid and dns_name are not changed
Stefan Metzmacher [Tue, 4 Feb 2025 09:16:15 +0000 (10:16 +0100)] 
winbindd: let add_trusted_domain() check sid and dns_name are not changed

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agolibnet4: check return value of DC lookup
Björn Baumbach [Fri, 7 Feb 2025 11:03:18 +0000 (12:03 +0100)] 
libnet4: check return value of DC lookup

Avoids possible segmentation fault when the lookup fails.

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

Pair-programmed-with: Volker Lendecke <vl@samba.org>
Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Sat Feb  8 03:30:27 UTC 2025 on atb-devel-224

6 months agosamba-tool contact: remove useless versionopts references
Douglas Bagnall [Thu, 30 Jan 2025 22:50:48 +0000 (11:50 +1300)] 
samba-tool contact: remove useless versionopts references

These are now redundant as all samba-tool sub-commands handle
-V/--version automatically.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
6 months agopy:get_opts:VersionOptions prints version in --help
Douglas Bagnall [Thu, 30 Jan 2025 08:22:04 +0000 (21:22 +1300)] 
py:get_opts:VersionOptions prints version in --help

Because it might as well. Like this:

  Version Options:
    -V, --version       Display version number (4.22.2)

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
6 months agosamba-tool: --version shortcircuits option evaluation
Douglas Bagnall [Wed, 15 Jan 2025 02:32:18 +0000 (15:32 +1300)] 
samba-tool: --version shortcircuits option evaluation

This means in

   bin/samba-tool spn -h -V

the -V takes precedence over the -h, as with the 'net' tool.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
6 months agosamba-tool: all subcommands know --version
Douglas Bagnall [Wed, 15 Jan 2025 02:33:18 +0000 (15:33 +1300)] 
samba-tool: all subcommands know --version

Before `samba-tool -V` would give you the version,
but `samba-tool spn -V` would complain.

An ad-hoc selection of sub-commands already supported --version,
depending on whether VersionOptions was manually added to the
takes_options dict. The .run() methods of these subcommands all take a
'versionopts' keyword argument, but never use it. If it was set (i.e.,
argv contained "--version"), the process never gets to .run(), so the
value of versionopts.version is always None in run(). After this
commit we can remove VersionOptions/versionopts from sub-commands.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
6 months agosamba-tool: do not complain of no sub-command with '-V'
Douglas Bagnall [Wed, 15 Jan 2025 02:07:38 +0000 (15:07 +1300)] 
samba-tool: do not complain of no sub-command with '-V'

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
6 months agopytest: samba-tool --version tests
Douglas Bagnall [Thu, 30 Jan 2025 08:22:53 +0000 (21:22 +1300)] 
pytest: samba-tool --version tests

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
6 months agovfs_shadow_copy2: Use VFS interface to derive mount point
Anoop C S [Thu, 6 Feb 2025 12:20:10 +0000 (17:50 +0530)] 
vfs_shadow_copy2: Use VFS interface to derive mount point

shadow_copy2_find_mount_point() does direct stat() calls locally while
trying to automatically detect the mount point. This cannot be always
true as there are virtual file systems like CephFS, GlusterFS etc.
without their share path locally available on the system. Instead use
the VFS interface to make the stat calls hit the underlying file system
irrespective of their local presence in the system.

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

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: John Mulligan <jmulligan@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Fri Feb  7 06:23:12 UTC 2025 on atb-devel-224

6 months agoWHATSNEW: Start release notes for Samba 4.23.0pre1.
Jule Anger [Thu, 6 Feb 2025 12:46:04 +0000 (13:46 +0100)] 
WHATSNEW: Start release notes for Samba 4.23.0pre1.

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
6 months agoVERSION: Bump version up to 4.23.0pre1...
Jule Anger [Thu, 6 Feb 2025 10:23:58 +0000 (11:23 +0100)] 
VERSION: Bump version up to 4.23.0pre1...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Jule Anger <janger@samba.org>
Autobuild-Date(master): Thu Feb  6 12:24:14 UTC 2025 on atb-devel-224

6 months agoVERSION: Disable GIT_SNAPSHOT for the Samba 4.22.0rc1 release. samba-4.22.0rc1
Jule Anger [Thu, 6 Feb 2025 09:48:47 +0000 (10:48 +0100)] 
VERSION: Disable GIT_SNAPSHOT for the Samba 4.22.0rc1 release.

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
6 months agoWHATSNEW: Up to Samba 4.22.0rc1.
Jule Anger [Thu, 6 Feb 2025 09:59:11 +0000 (10:59 +0100)] 
WHATSNEW: Up to Samba 4.22.0rc1.

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
6 months agotevent: version 0.16.2 tevent-0.16.2
Jule Anger [Thu, 6 Feb 2025 10:18:30 +0000 (11:18 +0100)] 
tevent: version 0.16.2

* Documentation fixes
* Add LGPLv3 LICENSE file

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
6 months agotalloc: version 2.4.3 talloc-2.4.3
Jule Anger [Thu, 6 Feb 2025 10:16:38 +0000 (11:16 +0100)] 
talloc: version 2.4.3

* Testsuite and documenation fixes
* Add LGPLv3 LICENSE file

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
6 months agotdb: version 1.4.13 tdb-1.4.13
Jule Anger [Thu, 6 Feb 2025 10:14:44 +0000 (11:14 +0100)] 
tdb: version 1.4.13

* Add LGPLv3 LICENSE file

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
6 months agovfs_gpfs: Remove one whitespace
Christof Schmitt [Wed, 5 Feb 2025 21:21:55 +0000 (14:21 -0700)] 
vfs_gpfs: Remove one whitespace

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agogpfswrap: Remove unused gpfs_set_winattrs_path
Christof Schmitt [Tue, 4 Feb 2025 22:09:56 +0000 (15:09 -0700)] 
gpfswrap: Remove unused gpfs_set_winattrs_path

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agogpfswrap: Remove unused gpfs_fstat_x
Christof Schmitt [Tue, 4 Feb 2025 22:07:52 +0000 (15:07 -0700)] 
gpfswrap: Remove unused gpfs_fstat_x

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agogpfswrap: Remove unused gpfs_stat_x wrapper
Christof Schmitt [Tue, 4 Feb 2025 21:57:28 +0000 (14:57 -0700)] 
gpfswrap: Remove unused gpfs_stat_x wrapper

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agovfs_gpfs: Remove winattr calls from vfs_gpfs_fntimes
Christof Schmitt [Tue, 4 Feb 2025 21:05:58 +0000 (14:05 -0700)] 
vfs_gpfs: Remove winattr calls from vfs_gpfs_fntimes

The call to the default function for fntimes already calls back into
fset_dos_attributes to set the create time. It is not necessary to
repeat the code in vfs_gpfs_fntimes.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agovfs_gpfs: Set creation time from vfs_gpfs_fset_dos_attributes
Christof Schmitt [Tue, 4 Feb 2025 21:40:34 +0000 (14:40 -0700)] 
vfs_gpfs: Set creation time from vfs_gpfs_fset_dos_attributes

This matches the default behavior of fset_dos_attributes and allows
removing the fallback case from vfs_gpfs_fntimes.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agovfs_gpfs: Simplify vfs_gpfs_fset_dos_attributes
Christof Schmitt [Tue, 4 Feb 2025 20:35:29 +0000 (13:35 -0700)] 
vfs_gpfs: Simplify vfs_gpfs_fset_dos_attributes

The gpfs_set_winattrs API call accepts O_PATH descriptors since GPFS
5.1.2, so switch to fsp_get_pathref_fd and remove the fallback logic.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agovfs_gpfs: Use gpfs_get_winattrs instead of gpfs_fstat_x
Christof Schmitt [Tue, 4 Feb 2025 20:18:21 +0000 (13:18 -0700)] 
vfs_gpfs: Use gpfs_get_winattrs instead of gpfs_fstat_x

gpfs_fstat_x had been introduced for querying additional inode
attributes for fileids. With the fileid code being removed, the simpler
gpfs_get_winattrs call can be used. gpfs_get_winattrs also accepts
O_PATH descriptors since GPFS 5.1.2.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agovfs_gpfs: Remove pathref test
Christof Schmitt [Tue, 4 Feb 2025 20:10:22 +0000 (13:10 -0700)] 
vfs_gpfs: Remove pathref test

The gpfs_stat_x call O_PATH descriptors since GPFS 5.1.2.0 and will also
be replaced with a simpler API call that also accepts O_PATH
descriptors. Remove the pathref test that is no longer needed.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agovfs_gpfs: Remove gpfs_stat_x fallback
Christof Schmitt [Tue, 4 Feb 2025 20:09:11 +0000 (13:09 -0700)] 
vfs_gpfs: Remove gpfs_stat_x fallback

Since GPFS 5.1.2 gpfs_stat_x accepts O_PATH descriptors so the fallback
case is no longer used and can be removed.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
6 months agolibrpc/ndr: apply some const to ndr_push_union_blob()
Stefan Metzmacher [Wed, 5 Feb 2025 13:40:43 +0000 (14:40 +0100)] 
librpc/ndr: apply some const to ndr_push_union_blob()

Keep libndr at 6.0.0, this has not been released yet.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Feb  6 10:45:52 UTC 2025 on atb-devel-224

6 months agovfs_gpfs: add gpfs:clamp_invalid_times
Ralph Boehme [Wed, 22 Jan 2025 11:34:31 +0000 (12:34 +0100)] 
vfs_gpfs: add gpfs:clamp_invalid_times

The timestamp validation added as part of the fix for bug 15151 causes hard
failures for certain clients that seem to use a temporary timestamp initially
when creating files, changing in a later step.

Clamp invalid timestamps to the allowed range 0..UINT32_MAX if
"gpfs:clamp_invalid_times = yes" is set.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Wed Feb  5 23:42:15 UTC 2025 on atb-devel-224

6 months agontvfs: Simplify rap_netshareenum()
Volker Lendecke [Thu, 17 Mar 2022 18:31:44 +0000 (19:31 +0100)] 
ntvfs: Simplify rap_netshareenum()

I know, unused. But the whole point of strlcpy is that we don't need
this kind of calculation, and we should not leave this as a bad
example code in our tree.

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): Wed Feb  5 01:05:08 UTC 2025 on atb-devel-224

6 months agotalloc: Add a comment explaining talloc_asprintf_addbuf()
Volker Lendecke [Fri, 24 Jan 2025 07:30:56 +0000 (08:30 +0100)] 
talloc: Add a comment explaining talloc_asprintf_addbuf()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agosmbd: Remove an unnecessary call to SMB_VFS_STAT()
Volker Lendecke [Fri, 24 Jan 2025 12:45:31 +0000 (13:45 +0100)] 
smbd: Remove an unnecessary call to SMB_VFS_STAT()

smb_fname came out of filename_convert_dirfsp(), which already stat'ed
if the file exists. !VALID_STAT means new file.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agolib: Shrink .text a bit
Volker Lendecke [Sat, 1 Feb 2025 15:05:06 +0000 (16:05 +0100)] 
lib: Shrink .text a bit

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agovfs: Slightly simplify ad_get_meta_fsp()
Volker Lendecke [Sat, 1 Feb 2025 10:26:00 +0000 (11:26 +0100)] 
vfs: Slightly simplify ad_get_meta_fsp()

Use cp_smb_filename_nostream()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agovfs: Add some const
Volker Lendecke [Tue, 28 Jan 2025 17:37:54 +0000 (18:37 +0100)] 
vfs: Add some const

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agovfs: Align a few integer types
Volker Lendecke [Fri, 24 Jan 2025 15:04:16 +0000 (16:04 +0100)] 
vfs: Align a few integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agosmbd: Remove vfs_file_exist()
Volker Lendecke [Fri, 24 Jan 2025 11:58:22 +0000 (12:58 +0100)] 
smbd: Remove vfs_file_exist()

Both callers followed this with SMB_VFS_CREATE_FILE which can be given
FILE_NON_DIRECTORY_FILE as an option to achieve the same.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agolib: Remove a pointer from R/W .data
Volker Lendecke [Tue, 28 Jan 2025 05:04:39 +0000 (06:04 +0100)] 
lib: Remove a pointer from R/W .data

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agolib: Move a pointer from .data to stack
Volker Lendecke [Tue, 28 Jan 2025 05:09:28 +0000 (06:09 +0100)] 
lib: Move a pointer from .data to stack

Why was this declared static? ...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agovfs: Remove a few calls to map_errno_from_nt_status()
Volker Lendecke [Tue, 28 Jan 2025 11:28:04 +0000 (12:28 +0100)] 
vfs: Remove a few calls to map_errno_from_nt_status()

That call always "feels" lossy to me, the other way around is better
defined.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agovfs: Slightly simplify catia_translate_name()
Volker Lendecke [Tue, 28 Jan 2025 11:12:33 +0000 (12:12 +0100)] 
vfs: Slightly simplify catia_translate_name()

We have returned if !NT_STATUS_OK(status) a few lines above.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agolib: Convert string_replace_allocate() to return 0/errno
Volker Lendecke [Tue, 28 Jan 2025 10:51:41 +0000 (11:51 +0100)] 
lib: Convert string_replace_allocate() to return 0/errno

This is only used in the VFS, which is still in large parts
errno-based.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agovfs: Fix some whitespace
Volker Lendecke [Tue, 28 Jan 2025 17:38:56 +0000 (18:38 +0100)] 
vfs: Fix some whitespace

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agovfs: Fix some error path memleaks
Volker Lendecke [Sat, 1 Feb 2025 09:41:40 +0000 (10:41 +0100)] 
vfs: Fix some error path memleaks

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agolibsmb: Save some bytes in .text code
Volker Lendecke [Sat, 1 Feb 2025 09:48:16 +0000 (10:48 +0100)] 
libsmb: Save some bytes in .text code

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agolib: Fix typos
Volker Lendecke [Sat, 1 Feb 2025 16:05:01 +0000 (17:05 +0100)] 
lib: Fix typos

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agolib: Move 968 bytes from R/W data to R/O text
Volker Lendecke [Mon, 3 Feb 2025 16:30:03 +0000 (17:30 +0100)] 
lib: Move 968 bytes from R/W data to R/O text

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agolib: Simplify ad_get_internal()
Volker Lendecke [Mon, 3 Feb 2025 17:33:46 +0000 (18:33 +0100)] 
lib: Simplify ad_get_internal()

Remove an unnecessary variable

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
6 months agoprovision: always use a large transaction index cache
Douglas Bagnall [Thu, 30 Jan 2025 21:31:32 +0000 (10:31 +1300)] 
provision: always use a large transaction index cache

A larger cache costs more per transaction, but makes a large number
of operations within a transaction faster. We expect to be dealing
with the latter case here, regardless of the batch_mode parameter
and the database size. 200000 is chosen because it is also used in
join and schemaupgrade, and should be sufficient in most cases.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Tue Feb  4 22:47:35 UTC 2025 on atb-devel-224

6 months agonetcmd: Increase the transaction_index_cache_size to 200k for schemaupgrade
Andréas Leroux [Thu, 2 May 2024 08:29:52 +0000 (10:29 +0200)] 
netcmd: Increase the transaction_index_cache_size to 200k for schemaupgrade

Increasing this value greatly improve the performances of schema
upgrade for large domains (>200k entries).

The value 200000 is chosen because it is already used in join.py, and
should be sufficient for known domains.

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

Signed-off-by: Andréas Leroux <aleroux@tranquil.it>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
6 months agos3:utils: Fix 'Usage:' for 'net ads enctypes'
Pavel Filipenský [Fri, 31 Jan 2025 11:17:28 +0000 (12:17 +0100)] 
s3:utils: Fix 'Usage:' for 'net ads enctypes'

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org>
Autobuild-Date(master): Tue Feb  4 09:35:58 UTC 2025 on atb-devel-224

6 months agos3:utils: Fix 'Usage:' for 'net ads setspn'
Pavel Filipenský [Fri, 31 Jan 2025 10:14:07 +0000 (11:14 +0100)] 
s3:utils: Fix 'Usage:' for 'net ads setspn'

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
6 months agodocs-xml:manpages: Fix doc for 'net ads setspn'
Pavel Filipenský [Fri, 31 Jan 2025 10:22:24 +0000 (11:22 +0100)] 
docs-xml:manpages: Fix doc for 'net ads setspn'

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
6 months agodocs-xml:manpages: Fix doc for 'net ads enctypes'
Pavel Filipenský [Fri, 31 Jan 2025 09:43:34 +0000 (10:43 +0100)] 
docs-xml:manpages: Fix doc for 'net ads enctypes'

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
6 months agodocs-xml:manpages: Add missing ')' to ADS KEYTAB
Pavel Filipenský [Fri, 31 Jan 2025 11:07:18 +0000 (12:07 +0100)] 
docs-xml:manpages: Add missing ')' to ADS KEYTAB

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
6 months agos3,s4: Make case spelling of sAMAccountName consistent
Pavel Filipenský [Thu, 30 Jan 2025 21:25:29 +0000 (22:25 +0100)] 
s3,s4: Make case spelling of sAMAccountName consistent

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
6 months agos3-libnet: avoid using lp_dns_hostname() in join code
Günther Deschner [Tue, 14 Jan 2025 18:16:31 +0000 (19:16 +0100)] 
s3-libnet: avoid using lp_dns_hostname() in join code

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

This codepath is also used for provisiong non-local machines into AD
during offlinejoin operations. When creating accounts for non-local
machines we certainly need to be able to use arbitrary hostname other
than lp_netbios_name() (which is used internally by lp_dns_hostname()).
This partly reverts 0e96092c1895ecb41d4064111566b4ada71fe457.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Jan 30 07:35:05 UTC 2025 on atb-devel-224

6 months agoselfest: add test for non-local offlinejoin provision
Günther Deschner [Mon, 13 Jan 2025 19:26:01 +0000 (20:26 +0100)] 
selfest: add test for non-local offlinejoin provision

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

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
6 months agos3-libads: dump ADS_MODSLIST before attempting the LDAP modify
Günther Deschner [Tue, 14 Jan 2025 00:40:05 +0000 (01:40 +0100)] 
s3-libads: dump ADS_MODSLIST before attempting the LDAP modify

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

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>