Stefan Metzmacher [Sat, 2 Oct 2010 00:10:43 +0000 (02:10 +0200)]
rpc echo.idl...
Stefan Metzmacher [Sun, 24 Oct 2010 16:00:44 +0000 (18:00 +0200)]
Revert "midltests async..."
This reverts commit
6d8d39c6862cc7706185c66838af16644be712bb.
Stefan Metzmacher [Sun, 24 Oct 2010 16:00:32 +0000 (18:00 +0200)]
Revert "midletests bla..."
This reverts commit
7eda85c7f12954b01cee023bcaad0b2ce1797c1c.
Stefan Metzmacher [Tue, 8 Mar 2011 09:04:40 +0000 (10:04 +0100)]
Revert "pidl/NDR: give anonymous structs and unions a name"
This reverts commit
04ada3e56d6442c7cdd5efe1ca6a7e99c78c6502.
Stefan Metzmacher [Sat, 18 Sep 2010 17:40:52 +0000 (19:40 +0200)]
pidl/NDR: give anonymous structs and unions a name
metze
Stefan Metzmacher [Tue, 5 Oct 2010 06:12:48 +0000 (08:12 +0200)]
Revert "Revert "TODO pidl/IDL: give anonymous structs and unions a name...""
This reverts commit
cc66e11215463f4597126a7f4c5b48e143cb773f.
Stefan Metzmacher [Tue, 5 Oct 2010 06:12:41 +0000 (08:12 +0200)]
Revert "TODO pidl/IDL: give anonymous structs and unions a name..."
This reverts commit
da001b7398fbf4890a9525aac016a5362f39be82.
Conflicts:
pidl/lib/Parse/Pidl/IDL.pm
Stefan Metzmacher [Tue, 5 Oct 2010 06:12:20 +0000 (08:12 +0200)]
Revert "TODO pidl/IDL: give anonymous structs and unions a name..."
This reverts commit
7a4ad3703048621f487b88deea1a6fffe8b1b62f.
Stefan Metzmacher [Tue, 5 Oct 2010 06:09:22 +0000 (08:09 +0200)]
TODO pidl/IDL: give anonymous structs and unions a name...
TODO fix aligment
Stefan Metzmacher [Fri, 1 Oct 2010 04:16:34 +0000 (06:16 +0200)]
midletests bla...
Stefan Metzmacher [Fri, 1 Oct 2010 00:52:21 +0000 (02:52 +0200)]
midltests async...
Stefan Metzmacher [Fri, 30 Aug 2013 07:27:44 +0000 (09:27 +0200)]
git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/*.[ch]
Stefan Metzmacher [Tue, 5 Oct 2010 18:57:45 +0000 (20:57 +0200)]
pidl:NDR/Client.pm: use dcerpc_binding_handl_call_params* if a dcerpc pipe is used
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 30 Aug 2013 07:08:44 +0000 (09:08 +0200)]
git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/*.[ch]
Stefan Metzmacher [Tue, 5 Oct 2010 18:58:15 +0000 (20:58 +0200)]
pidl:NDR/Client.pm: generate pipe pull/push functions
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Tue, 17 Sep 2013 15:26:39 +0000 (17:26 +0200)]
git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/*.[ch]
Stefan Metzmacher [Sat, 18 Sep 2010 17:17:17 +0000 (19:17 +0200)]
HACK: pidl: always dump idl and ndr tree
Stefan Metzmacher [Sat, 21 Sep 2013 10:30:52 +0000 (12:30 +0200)]
fix source4/librpc/rpc/dcerpc.c dcerpc_bh_raw_call_recv
Stefan Metzmacher [Fri, 20 Sep 2013 17:23:24 +0000 (19:23 +0200)]
source4/librpc/rpc/dcerpc.c s4 cli fix PIPE support
Stefan Metzmacher [Fri, 20 Sep 2013 12:38:13 +0000 (14:38 +0200)]
source4/librpc/rpc/dcerpc.c sq bla
Stefan Metzmacher [Wed, 18 Sep 2013 08:49:39 +0000 (10:49 +0200)]
source4/librpc/rpc/dcerpc.c·bla
Stefan Metzmacher [Wed, 18 Sep 2013 00:00:42 +0000 (02:00 +0200)]
source4/librpc/rpc/dcerpc.c bla...
Stefan Metzmacher [Sat, 31 Aug 2013 09:59:10 +0000 (11:59 +0200)]
TODO s4:librpc/rpc: prepare LIBNDR_FLAG_INCOMPLETE_BUFFER support...
Stefan Metzmacher [Sat, 21 Sep 2013 21:51:47 +0000 (23:51 +0200)]
librpc/rpc/binding_handle.c remember missing
Stefan Metzmacher [Sat, 21 Sep 2013 21:51:25 +0000 (23:51 +0200)]
librpc/rpc/binding_handle.c cleanup
Stefan Metzmacher [Sat, 21 Sep 2013 20:05:23 +0000 (22:05 +0200)]
librpc/rpc/binding_handle.c cleanups
Stefan Metzmacher [Sat, 21 Sep 2013 20:00:29 +0000 (22:00 +0200)]
librpc/rpc/binding_handle.c cleanups
Stefan Metzmacher [Sat, 21 Sep 2013 10:31:51 +0000 (12:31 +0200)]
TODO cleanup incomplete_buffer librpc/rpc/binding_handle.c
Stefan Metzmacher [Sat, 21 Sep 2013 10:31:32 +0000 (12:31 +0200)]
librpc/rpc/binding_handle.c unused vars
Stefan Metzmacher [Sat, 21 Sep 2013 08:19:14 +0000 (10:19 +0200)]
librpc/rpc/binding_handle.c
Stefan Metzmacher [Sat, 21 Sep 2013 07:49:15 +0000 (09:49 +0200)]
librpc/rpc/binding_handle.c disconnect pipe before error
Stefan Metzmacher [Sat, 21 Sep 2013 07:25:32 +0000 (09:25 +0200)]
librpc/rpc/binding_handle.c ...
Stefan Metzmacher [Sat, 21 Sep 2013 06:10:59 +0000 (08:10 +0200)]
librpc/rpc/binding_handle.c...
Stefan Metzmacher [Sat, 21 Sep 2013 00:59:51 +0000 (02:59 +0200)]
librpc/rpc/binding_handle.c cleanup incomplete
Stefan Metzmacher [Sat, 21 Sep 2013 00:59:24 +0000 (02:59 +0200)]
librpc/rpc/binding_handle.c deadlock...
Stefan Metzmacher [Sat, 21 Sep 2013 00:30:03 +0000 (02:30 +0200)]
librpc/rpc/binding_handle.c dcerpc_binding_handle_call_params_done
Stefan Metzmacher [Fri, 20 Sep 2013 21:11:48 +0000 (23:11 +0200)]
librpc/rpc/binding_handle.c sq dcerpc_binding_handle_call_params_in_done
Stefan Metzmacher [Fri, 20 Sep 2013 17:23:00 +0000 (19:23 +0200)]
sq librpc/rpc/binding_handle.c PIPE support
Stefan Metzmacher [Sat, 31 Aug 2013 08:16:11 +0000 (10:16 +0200)]
TODO librpc/rpc: add DCERPC pipe support to dcerpc_binding_handle_call_params_send/recv()
Stefan Metzmacher [Fri, 30 Aug 2013 09:56:18 +0000 (11:56 +0200)]
librpc/rpc: add dcerpc_binding_handle_raw_call_in_*
The binding handle backend can support LIBNDR_FLAG_INCOMPLETE_BUFFER
with this change and implement the raw_call_in_send/recv functions
to get more data from the caller. The final chunk clears the
LIBNDR_FLAG_INCOMPLETE_BUFFER flag in the in_flags of raw_call_in_send().
If LIBNDR_FLAG_INCOMPLETE_BUFFER was indicated in the in_flags of raw_call_send()
the backend can deliver partial results to the caller,
in raw_call_recv() by specifying LIBNDR_FLAG_INCOMPLETE_BUFFER in the out_flags.
In that case the caller should not call TALLOC_FREE(subreq)
as there's more to come. The backend continues to delivers results by
raw_call_recv() and clears LIBNDR_FLAG_INCOMPLETE_BUFFER on the last chunk.
This will be used to implement support for DCERPC pipes.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 1 Oct 2010 06:54:54 +0000 (08:54 +0200)]
librpc/rpc: add dcerpc_binding_handle_call_params*
This function will allow to add dcerpc pipes support later.
metze
Stefan Metzmacher [Sat, 21 Sep 2013 08:18:31 +0000 (10:18 +0200)]
librpc/rpc/pipe_handle.c
Stefan Metzmacher [Sat, 21 Sep 2013 07:48:59 +0000 (09:48 +0200)]
librpc/rpc/pipe_handle.c
Stefan Metzmacher [Sat, 21 Sep 2013 06:11:22 +0000 (08:11 +0200)]
librpc/rpc/pipe_handle.c
Stefan Metzmacher [Sat, 2 Oct 2010 03:54:21 +0000 (05:54 +0200)]
librpc/rpc: add dcerpc_pipe_handle* infrastructure
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 30 Aug 2013 09:56:18 +0000 (11:56 +0200)]
librpc/rpc: make the dcerpc_binding_handle_raw_call_send/recv() wrapper more thin
The allows better passthrough to the ops->raw_call_send/recv functions.
The important change is that the ops->raw_call_recv() function is deferred to
the dcerpc_binding_handle_raw_call_recv() function, which means
that 'req' and 'subreq' have the same lifetime.
This will be important in the following commits, which will add
dcerpc_binding_handle_raw_call_in_send/recv and LIBNDR_FLAG_INCOMPLETE_BUFFER
support for DCERPC pipes.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Mon, 28 Apr 2014 17:05:27 +0000 (19:05 +0200)]
HACK dnsupdate:name interval = 5
Stefan Metzmacher [Fri, 28 Mar 2014 12:44:29 +0000 (13:44 +0100)]
s4:librpc/rpc: require smb signing by default.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 28 Mar 2014 12:05:49 +0000 (13:05 +0100)]
s4:libcli/smb_composite: don't try to anonymous smb signing
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Mon, 14 Apr 2014 20:55:35 +0000 (22:55 +0200)]
Revert "source4/torture/smb2/durable_open.c"
This reverts commit
3f42beed778b2523f9be88834d510095482acecb.
Stefan Metzmacher [Mon, 14 Apr 2014 20:32:30 +0000 (22:32 +0200)]
source4/torture/smb2/durable_open.c
Stefan Metzmacher [Mon, 14 Apr 2014 20:23:27 +0000 (22:23 +0200)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Wed, 2 Apr 2014 20:01:36 +0000 (22:01 +0200)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Wed, 2 Apr 2014 20:01:36 +0000 (22:01 +0200)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Wed, 2 Apr 2014 20:01:36 +0000 (22:01 +0200)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Wed, 2 Apr 2014 19:16:10 +0000 (21:16 +0200)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Wed, 2 Apr 2014 18:55:43 +0000 (20:55 +0200)]
sq python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Wed, 2 Apr 2014 18:04:32 +0000 (20:04 +0200)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Wed, 2 Apr 2014 17:53:18 +0000 (19:53 +0200)]
s4:pyrpc: add base.bind_time_features_syntax(features)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 27 Mar 2014 13:59:21 +0000 (14:59 +0100)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Thu, 27 Mar 2014 09:44:56 +0000 (10:44 +0100)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Thu, 27 Mar 2014 09:44:56 +0000 (10:44 +0100)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Wed, 26 Mar 2014 21:42:19 +0000 (22:42 +0100)]
python/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Wed, 19 Mar 2014 21:22:58 +0000 (22:22 +0100)]
librpc/rpc: add dcerpc_fault_from_nt_status()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Wed, 19 Mar 2014 21:17:11 +0000 (22:17 +0100)]
librpc/rpc: add faultcode to nt_status mappings
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Tue, 18 Mar 2014 12:23:58 +0000 (13:23 +0100)]
Revert "librpc/rpc: reset the assoc_group_id when setting the binding endpoint"
This reverts commit
6b96669dfed2e18a2c07e83559e3965c2777330b.
Stefan Metzmacher [Tue, 18 Mar 2014 06:05:36 +0000 (07:05 +0100)]
librpc/rpc: reset the assoc_group_id when setting the binding endpoint
The assoc_group_id is transport/endpoint specific.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Tue, 18 Mar 2014 05:50:53 +0000 (06:50 +0100)]
Revert "libcli/smb: avoid sync close requests in tstream_smbXcli_np_destructor"
This reverts commit
a6f39e82f8d55593c80ef1c76ea71d2c1b4248b5.
Stefan Metzmacher [Tue, 18 Mar 2014 05:50:50 +0000 (06:50 +0100)]
Revert "s4:librpc/rpc: remove dcerpc_shutdown_pipe() layer"
This reverts commit
f9dfae142d580c288951c41eccbe481c326c7ca1.
Stefan Metzmacher [Sun, 16 Mar 2014 20:54:55 +0000 (21:54 +0100)]
s4:librpc/rpc: remove dcerpc_shutdown_pipe() layer
This is only called from dcerpc_connection_dead()
mostly via dcerpc_connection_destructor().
Calling tstream_disconnect_send(), triggers a smb*cli_close_send(),
but we implicitly call talloc_free() on the returned 'req',
before it's send into the low-level tcp socket, which means
the SMB signing gets out of sync. For now we just rely on
the tstream destructor to close the smb open.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Sun, 16 Mar 2014 10:50:39 +0000 (11:50 +0100)]
libcli/smb: avoid sync close requests in tstream_smbXcli_np_destructor
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Wed, 12 Feb 2014 11:58:25 +0000 (12:58 +0100)]
Revert "TODO PANIC/NONE sq s4:librpc/rpc: make use of dcerpc_binding_get_string_option("endpoint")"
This reverts commit
ac3cc2a59e8d1cc9a9399fc5921031af2e44eb72.
Stefan Metzmacher [Wed, 12 Feb 2014 09:54:42 +0000 (10:54 +0100)]
TODO PANIC/NONE sq s4:librpc/rpc: make use of dcerpc_binding_get_string_option("endpoint")
Stefan Metzmacher [Fri, 24 Jan 2014 06:32:48 +0000 (07:32 +0100)]
OK - HACK smb_panic invalid options
OK as
f61ebcb19c05cae3308b7b088958c7c985329284
Stefan Metzmacher [Wed, 12 Mar 2014 07:29:00 +0000 (08:29 +0100)]
s4:librpc/rpc: remove unused dcerpc_secondary_smb_send/recv()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 17 Jan 2014 08:10:03 +0000 (09:10 +0100)]
s4:librpc/rpc: remove unused dcerpc_pipe_open_smb[2]()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 17 Jan 2014 12:18:42 +0000 (13:18 +0100)]
s4:librpc/rpc: remove unused dcerpc_bind_auth_none()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 17 Jan 2014 13:13:05 +0000 (14:13 +0100)]
s4:librpc/rpc: remove unused dcerpc_bind_auth()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 17 Jan 2014 12:39:45 +0000 (13:39 +0100)]
s4:torture/rpc: use use dcerpc_secondary_auth_connection with creds
This is the same as calling dcerpc_secondary_connection/dcerpc_bind_auth.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 17 Jan 2014 08:54:39 +0000 (09:54 +0100)]
s4:torture/rpc: use dcerpc_secondary_auth_connection with anon creds
This is the same as calling dcerpc_secondary_connection/dcerpc_bind_auth_none.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 07:21:39 +0000 (08:21 +0100)]
s4:torture/samba3rpc: split out pipe_bind_smbXcli() and go via dcerpc_pipe_connect_b()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 06:20:37 +0000 (07:20 +0100)]
s4:torture/samba3rpc: use pipe_bind_smb_auth()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 06:20:20 +0000 (07:20 +0100)]
s4:torture/samba3rpc: add pipe_bind_smb_auth()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 06:19:49 +0000 (07:19 +0100)]
s4:torture/samba3rpc: use pipe_bind_smb2()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 06:19:26 +0000 (07:19 +0100)]
s4:torture/samba3rpc: add pipe_bind_smb2()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 06:18:30 +0000 (07:18 +0100)]
s4:torture/samba3rpc: use pipe_bind_smb() in more places
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 06:17:00 +0000 (07:17 +0100)]
s4:torture/samba3rpc: move pipe_bind_smb() to the top
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Wed, 22 Jan 2014 11:49:58 +0000 (12:49 +0100)]
s4:libnet: make use of dcerpc_secondary_auth_connection_send/recv()
This avoid the bogus usage of dcerpc_pipe_auth().
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 07:59:30 +0000 (08:59 +0100)]
s4:libcli/clilsa: make use of dcerpc_pipe_connect_b()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 07:57:30 +0000 (08:57 +0100)]
s4:libcli/clilsa: only remember the dcerpc_binding_handle
We don't need the 'dcerpc_pipe'.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Fri, 17 Jan 2014 08:31:51 +0000 (09:31 +0100)]
s4:librpc/rpc: add dcerpc_secondary_auth_connection()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Tue, 11 Mar 2014 11:37:40 +0000 (12:37 +0100)]
s4:librpc/rpc: avoid using dcerpc_secondary_smb_send/recv
We can now just use dcerpc_pipe_open_smb_send/recv and get
smbXcli_{conn,session,tcon} from the dcerpc_binding of the primary connection.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Wed, 15 Jan 2014 15:05:26 +0000 (16:05 +0100)]
s4:librpc/rpc: try to get the smbXcli_* pointers from the given dcerpc_binding options
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 10:52:10 +0000 (11:52 +0100)]
s4:librpc/rpc: remember smbXcli_{conn,session,tcon} on new ncacn_np connection
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 9 Jan 2014 11:35:58 +0000 (12:35 +0100)]
librpc/rpc: add dcerpc_[extract|construct]_bind_time_features()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Thu, 16 Jan 2014 10:10:46 +0000 (11:10 +0100)]
librpc/rpc: add dcerpc_binding_set_pointer_option()
This allows the caller to set a talloc pointer
as [<name>:pointer:<pid>:<type>=<address>]
(e.g. [connection:pointer:12345:struct smbXcli_conn=0xf0123456789abcde])
option of a dcerpc_binding.
Callers have to be careful to keep the pointer valid!
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Wed, 15 Jan 2014 14:17:33 +0000 (15:17 +0100)]
librpc/rpc: add dcerpc_binding_get_pointer_option()
This allows the caller to get a talloc pointer
out of a [<name>:pointer:<pid>:<type>=<address>]
(e.g. [connection:pointer:12345:struct smbXcli_conn=0xf0123456789abcde])
option of a dcerpc_binding.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Thomas Nagy [Fri, 26 Sep 2014 21:46:01 +0000 (23:46 +0200)]
Reduce the no-op build times by 30%
Change-Id: Ie68436c1e7c75c1786e9ed6b6a54d2b55abbbcea
Reviewed-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Oct 3 13:25:18 CEST 2014 on sn-devel-104
Matthieu Patou [Wed, 14 May 2014 23:38:08 +0000 (16:38 -0700)]
waf: add k5crypto to the list of system libraries if they are reported by the krb5config but not found as requied by the different tests
Otherwise on some systems we have error message like
"Implied dependency k5crypto in winbind_krb5_locator is of type EMPTY"
Even though krb5config indicated that this library is needed and the
library is present
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Michael Adam <obnox@samba.org>
Matthieu Patou [Mon, 14 Oct 2013 04:39:51 +0000 (21:39 -0700)]
librpc: simplify ndr_pull_dnsp_string
total_len is 1 and never varies.
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-by: Michael Adam <obnox@samba.org>