1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source3/rpc_client
Noel Power a61eb70328 s3/rpc_client: change type of offset to uint64_t
Offset can be a 32 or 64 bit address depending on the indexing addressing
mode negotiated by the client
With a 32 bit param we can only specify a 32 bit base address. This change
alone doesn't affect anything as it is the client itself that choses and
passes the base address offset and wspsearch is the only current user of
this code.
In this case even with 64bit addressing negotiated the address passed
represents only the lower 32-bits part of the address.
However, for coverage purposes it would be better for the client to use an
address that covers the full 64bit range of the address (when 64 bit
addressing is negotiated).
This change will alow the wspsearch client in a future commit to pass a
base address value with both the hi and low 32 bits values set to make up
the full 64 bit address.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-01-30 16:21:35 +00:00
..
cli_lsarpc.c s3:rpc_client: Remove unused rpccli_lsa_open_policy2() 2023-11-21 12:21:18 +00:00
cli_lsarpc.h s3:rpc_client: Remove unused rpccli_lsa_open_policy2() 2023-11-21 12:21:18 +00:00
cli_mdssvc_private.h CVE-2023-34968: mdscli: return share relative paths 2023-07-21 12:05:35 +00:00
cli_mdssvc_util.c CVE-2023-34968: mdscli: return share relative paths 2023-07-21 12:05:35 +00:00
cli_mdssvc_util.h CVE-2023-34968: mdscli: return share relative paths 2023-07-21 12:05:35 +00:00
cli_mdssvc.c s3:rpc_client: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
cli_mdssvc.h s3:rpc_client: add a mdssvc client library 2019-10-09 14:35:28 +00:00
cli_netlogon.c CVE-2022-38023 libcli/auth: pass lp_ctx to netlogon_creds_cli_set_global_db() 2022-12-13 13:07:29 +00:00
cli_netlogon.h s3:winbind: Pass the challenge to winbind_dual_SamLogon() as a data blob 2022-04-30 00:10:34 +00:00
cli_pipe_schannel.c s3:rpc_client: Pass remote name and socket to cli_rpc_pipe_open_schannel_with_creds() 2021-12-02 13:59:31 +00:00
cli_pipe.c librpc:ndr: Introduce ‘ndr_flags_type’ type 2023-11-01 20:10:45 +00:00
cli_pipe.h librpc: Make rpc_pipe_open_np() public and async 2023-03-06 21:32:35 +00:00
cli_samr.c s3:rpc_client: Fix code spelling 2023-07-19 09:58:37 +00:00
cli_samr.h s3:rpc_client: Fix code spelling 2023-07-19 09:58:37 +00:00
cli_spoolss.c s3:rpc_client: Fix code spelling 2023-09-11 02:42:41 +00:00
cli_spoolss.h
cli_winreg_int.c rpcclient: Fix a DBG msg: This is not dcerpc_winreg_int_openkey() 2021-03-16 17:09:32 +00:00
cli_winreg_int.h s3:rpc_client: Fix code spelling 2023-07-19 09:58:37 +00:00
cli_winreg_spoolss.c lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
cli_winreg_spoolss.h s3:rpc_client: Fix code spelling 2023-07-19 09:58:37 +00:00
cli_winreg.c rpc_client: talloc_stackframe() aborts on failure 2021-04-19 18:18:31 +00:00
cli_winreg.h s3:rpc_client: Fix code spelling 2023-07-19 09:58:37 +00:00
init_lsa.c
init_lsa.h
init_samr.c s3:rpcclient: Pass salt down to init_samr_CryptPasswordAES() 2022-10-25 09:34:33 +00:00
init_samr.h s3:rpcclient: Pass salt down to init_samr_CryptPasswordAES() 2022-10-25 09:34:33 +00:00
init_spoolss.c
init_spoolss.h
local_np.c librpc: Fix error path cleanups in start_rpc_host_send() 2023-11-07 12:46:37 +00:00
local_np.h s3:rpc_client: Add local_np_connect() 2021-12-10 14:02:30 +00:00
py_mdscli.c Use python.h from libreplace 2023-11-20 15:37:33 +00:00
rpc_client.h
rpc_transport_np.c s3:rpc_client: Add missing newlines to logging messages 2023-08-08 04:39:38 +00:00
rpc_transport_sock.c
rpc_transport_tstream.c add accessor for tstream_context 2023-10-25 22:23:38 +00:00
rpc_transport.h add accessor for tstream_context 2023-10-25 22:23:38 +00:00
util_netlogon.c s3:rpc_client: Fix memory allocation hierarchy 2022-04-30 00:10:34 +00:00
util_netlogon.h s3-rpc_client: add copy_netr_DsRGetDCNameInfo() helper 2021-07-14 16:49:30 +00:00
wsp_cli.c s3/rpc_client: change type of offset to uint64_t 2024-01-30 16:21:35 +00:00
wsp_cli.h libcli/wsp: Add simple client api for wsp client code. 2023-10-25 22:23:38 +00:00