mat/samba.git
9 years agomidltests: add midltests_varying_string_01.*
Stefan Metzmacher [Mon, 23 Sep 2013 07:54:13 +0000 (09:54 +0200)]
midltests: add midltests_varying_string_01.*

Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agogen_ndr
Stefan Metzmacher [Thu, 26 Sep 2013 03:00:39 +0000 (05:00 +0200)]
gen_ndr

9 years agoRevert "testprogs/win32/rpcecho-win32-pipe/server.c ..."
Stefan Metzmacher [Tue, 24 Sep 2013 18:43:03 +0000 (20:43 +0200)]
Revert "testprogs/win32/rpcecho-win32-pipe/server.c ..."

This reverts commit f7c033f91ad89176dbcae46de59b404e14c04e6c.

9 years agotestprogs/win32/rpcecho-win32-pipe/server.c ...
Stefan Metzmacher [Sun, 22 Sep 2013 06:29:18 +0000 (08:29 +0200)]
testprogs/win32/rpcecho-win32-pipe/server.c ...

9 years agotestprogs/win32/rpcecho-win32-pipe/ generated
Stefan Metzmacher [Sat, 21 Sep 2013 20:02:04 +0000 (22:02 +0200)]
testprogs/win32/rpcecho-win32-pipe/ generated

9 years agotestprogs/win32/rpcecho-win32-pipe/ ndr64
Stefan Metzmacher [Sat, 21 Sep 2013 20:01:46 +0000 (22:01 +0200)]
testprogs/win32/rpcecho-win32-pipe/ ndr64

9 years agotestprogs/win32/rpcecho-win32-pipe works??
Stefan Metzmacher [Fri, 20 Sep 2013 20:50:02 +0000 (22:50 +0200)]
testprogs/win32/rpcecho-win32-pipe works??

9 years agotestprogs/win32/rpcecho-win32-pipe server 1 byte reads
Stefan Metzmacher [Fri, 20 Sep 2013 20:27:54 +0000 (22:27 +0200)]
testprogs/win32/rpcecho-win32-pipe server 1 byte reads

9 years agotestprogs/win32/rpcecho-win32-pipe/rpcecho.idl new idl end TestBytePipeIn
Stefan Metzmacher [Fri, 20 Sep 2013 20:27:33 +0000 (22:27 +0200)]
testprogs/win32/rpcecho-win32-pipe/rpcecho.idl new idl end TestBytePipeIn

9 years agotestprogs/win32/rpcecho-win32-pipe/
Stefan Metzmacher [Fri, 20 Sep 2013 17:26:33 +0000 (19:26 +0200)]
testprogs/win32/rpcecho-win32-pipe/

9 years agotestprogs/win32/rpcecho-win32-pipe...
Stefan Metzmacher [Wed, 25 Sep 2013 03:26:00 +0000 (05:26 +0200)]
testprogs/win32/rpcecho-win32-pipe...

9 years agotestprogs/win32/rpcecho-win32-pipe ...
Stefan Metzmacher [Tue, 28 Sep 2010 07:53:09 +0000 (09:53 +0200)]
testprogs/win32/rpcecho-win32-pipe ...

9 years ago^samba4.rpc.echo.*echo.bytepipe ...
Stefan Metzmacher [Sun, 22 Sep 2013 06:19:26 +0000 (08:19 +0200)]
^samba4.rpc.echo.*echo.bytepipe ...

9 years agotest_bytepipeout 100 * 0x80000
Stefan Metzmacher [Sat, 21 Sep 2013 10:32:40 +0000 (12:32 +0200)]
test_bytepipeout 100 * 0x80000

9 years agosource4/torture/rpc/echo.c test no timeout
Stefan Metzmacher [Sat, 21 Sep 2013 00:59:36 +0000 (02:59 +0200)]
source4/torture/rpc/echo.c test no timeout

9 years agosource4/torture/rpc/echo.c test_bytepipeout
Stefan Metzmacher [Fri, 20 Sep 2013 21:12:25 +0000 (23:12 +0200)]
source4/torture/rpc/echo.c test_bytepipeout

9 years agosource4/torture/rpc/echo.c new idl end TestBytePipeIn
Stefan Metzmacher [Fri, 20 Sep 2013 20:27:33 +0000 (22:27 +0200)]
source4/torture/rpc/echo.c new idl end TestBytePipeIn

9 years agosource4/torture/rpc/echo.c
Stefan Metzmacher [Fri, 20 Sep 2013 17:26:48 +0000 (19:26 +0200)]
source4/torture/rpc/echo.c

9 years agosource4/torture/rpc/echo.c
Stefan Metzmacher [Wed, 25 Sep 2013 03:25:39 +0000 (05:25 +0200)]
source4/torture/rpc/echo.c

9 years agos3:rpc_server/echo: add dummies for echo_TestBytePipe*
Stefan Metzmacher [Sat, 21 Sep 2013 21:48:19 +0000 (23:48 +0200)]
s3:rpc_server/echo: add dummies for echo_TestBytePipe*

Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agorpc_server/echo/srv_echo_nt.c ...
Stefan Metzmacher [Fri, 30 Aug 2013 13:01:12 +0000 (15:01 +0200)]
rpc_server/echo/srv_echo_nt.c ...

9 years agosource3/rpc_server/echo/srv_echo_nt.c: s3 _echo_BytePipeIn
Stefan Metzmacher [Tue, 8 Mar 2011 10:17:24 +0000 (11:17 +0100)]
source3/rpc_server/echo/srv_echo_nt.c: s3 _echo_BytePipeIn

9 years agosource4/rpc_server/echo/rpc_echo.c
Stefan Metzmacher [Fri, 20 Sep 2013 17:24:01 +0000 (19:24 +0200)]
source4/rpc_server/echo/rpc_echo.c

9 years agosource4/rpc_server/echo/rpc_echo.c rpc echo.idl...
Stefan Metzmacher [Sat, 2 Oct 2010 00:10:43 +0000 (02:10 +0200)]
source4/rpc_server/echo/rpc_echo.c rpc echo.idl...

9 years agogit add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
Stefan Metzmacher [Fri, 30 Aug 2013 13:05:07 +0000 (15:05 +0200)]
git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/*.[ch]

9 years agolibrpc/idl/echo.idl new idl end TestBytePipeIn
Stefan Metzmacher [Fri, 20 Sep 2013 20:27:33 +0000 (22:27 +0200)]
librpc/idl/echo.idl new idl end TestBytePipeIn

9 years agoecho.idl...
Stefan Metzmacher [Wed, 25 Sep 2013 03:25:19 +0000 (05:25 +0200)]
echo.idl...

9 years agolibrpc/idl/echo.idl echo_StructPipe ...
Stefan Metzmacher [Tue, 8 Mar 2011 15:05:03 +0000 (16:05 +0100)]
librpc/idl/echo.idl echo_StructPipe ...

9 years agoecho.idl frstrans examples
Stefan Metzmacher [Tue, 5 Oct 2010 18:54:10 +0000 (20:54 +0200)]
echo.idl frstrans examples

9 years agorpc echo.idl...
Stefan Metzmacher [Sat, 2 Oct 2010 00:10:43 +0000 (02:10 +0200)]
rpc echo.idl...

9 years agoRevert "midltests async..."
Stefan Metzmacher [Sun, 24 Oct 2010 16:00:44 +0000 (18:00 +0200)]
Revert "midltests async..."

This reverts commit 6d8d39c6862cc7706185c66838af16644be712bb.

9 years agoRevert "midletests bla..."
Stefan Metzmacher [Sun, 24 Oct 2010 16:00:32 +0000 (18:00 +0200)]
Revert "midletests bla..."

This reverts commit 7eda85c7f12954b01cee023bcaad0b2ce1797c1c.

9 years agoRevert "pidl/NDR: give anonymous structs and unions a name"
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.

9 years agopidl/NDR: give anonymous structs and unions a name
Stefan Metzmacher [Sat, 18 Sep 2010 17:40:52 +0000 (19:40 +0200)]
pidl/NDR: give anonymous structs and unions a name

metze

9 years agoRevert "Revert "TODO pidl/IDL: give anonymous structs and unions a name...""
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.

9 years agoRevert "TODO pidl/IDL: give anonymous structs and unions a name..."
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

9 years agoRevert "TODO pidl/IDL: give anonymous structs and unions a name..."
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.

9 years agoTODO pidl/IDL: give anonymous structs and unions a name...
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

9 years agomidletests bla...
Stefan Metzmacher [Fri, 1 Oct 2010 04:16:34 +0000 (06:16 +0200)]
midletests bla...

9 years agomidltests async...
Stefan Metzmacher [Fri, 1 Oct 2010 00:52:21 +0000 (02:52 +0200)]
midltests async...

9 years agogit add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
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]

9 years agopidl:NDR/Client.pm: use dcerpc_binding_handl_call_params* if a dcerpc pipe is used
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>
9 years agogit add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
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]

9 years agopidl:NDR/Client.pm: generate pipe pull/push functions
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>
9 years agogit add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
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]

9 years agoHACK: pidl: always dump idl and ndr tree
Stefan Metzmacher [Sat, 18 Sep 2010 17:17:17 +0000 (19:17 +0200)]
HACK: pidl: always dump idl and ndr tree

9 years agofix source4/librpc/rpc/dcerpc.c dcerpc_bh_raw_call_recv
Stefan Metzmacher [Sat, 21 Sep 2013 10:30:52 +0000 (12:30 +0200)]
fix source4/librpc/rpc/dcerpc.c dcerpc_bh_raw_call_recv

9 years agosource4/librpc/rpc/dcerpc.c s4 cli fix PIPE support
Stefan Metzmacher [Fri, 20 Sep 2013 17:23:24 +0000 (19:23 +0200)]
source4/librpc/rpc/dcerpc.c s4 cli fix PIPE support

9 years agosource4/librpc/rpc/dcerpc.c sq bla
Stefan Metzmacher [Fri, 20 Sep 2013 12:38:13 +0000 (14:38 +0200)]
source4/librpc/rpc/dcerpc.c sq bla

9 years agosource4/librpc/rpc/dcerpc.c·bla
Stefan Metzmacher [Wed, 18 Sep 2013 08:49:39 +0000 (10:49 +0200)]
source4/librpc/rpc/dcerpc.c·bla

9 years agosource4/librpc/rpc/dcerpc.c bla...
Stefan Metzmacher [Wed, 18 Sep 2013 00:00:42 +0000 (02:00 +0200)]
source4/librpc/rpc/dcerpc.c bla...

9 years agoTODO s4:librpc/rpc: prepare LIBNDR_FLAG_INCOMPLETE_BUFFER support...
Stefan Metzmacher [Sat, 31 Aug 2013 09:59:10 +0000 (11:59 +0200)]
TODO s4:librpc/rpc: prepare LIBNDR_FLAG_INCOMPLETE_BUFFER support...

9 years agolibrpc/rpc/binding_handle.c remember missing
Stefan Metzmacher [Sat, 21 Sep 2013 21:51:47 +0000 (23:51 +0200)]
librpc/rpc/binding_handle.c remember missing

9 years agolibrpc/rpc/binding_handle.c cleanup
Stefan Metzmacher [Sat, 21 Sep 2013 21:51:25 +0000 (23:51 +0200)]
librpc/rpc/binding_handle.c cleanup

9 years agolibrpc/rpc/binding_handle.c cleanups
Stefan Metzmacher [Sat, 21 Sep 2013 20:05:23 +0000 (22:05 +0200)]
librpc/rpc/binding_handle.c cleanups

9 years agolibrpc/rpc/binding_handle.c cleanups
Stefan Metzmacher [Sat, 21 Sep 2013 20:00:29 +0000 (22:00 +0200)]
librpc/rpc/binding_handle.c cleanups

9 years agoTODO cleanup incomplete_buffer librpc/rpc/binding_handle.c
Stefan Metzmacher [Sat, 21 Sep 2013 10:31:51 +0000 (12:31 +0200)]
TODO cleanup incomplete_buffer librpc/rpc/binding_handle.c

9 years agolibrpc/rpc/binding_handle.c unused vars
Stefan Metzmacher [Sat, 21 Sep 2013 10:31:32 +0000 (12:31 +0200)]
librpc/rpc/binding_handle.c unused vars

9 years agolibrpc/rpc/binding_handle.c
Stefan Metzmacher [Sat, 21 Sep 2013 08:19:14 +0000 (10:19 +0200)]
librpc/rpc/binding_handle.c

9 years agolibrpc/rpc/binding_handle.c disconnect pipe before error
Stefan Metzmacher [Sat, 21 Sep 2013 07:49:15 +0000 (09:49 +0200)]
librpc/rpc/binding_handle.c disconnect pipe before error

9 years agolibrpc/rpc/binding_handle.c ...
Stefan Metzmacher [Sat, 21 Sep 2013 07:25:32 +0000 (09:25 +0200)]
librpc/rpc/binding_handle.c ...

9 years agolibrpc/rpc/binding_handle.c...
Stefan Metzmacher [Sat, 21 Sep 2013 06:10:59 +0000 (08:10 +0200)]
librpc/rpc/binding_handle.c...

9 years agolibrpc/rpc/binding_handle.c cleanup incomplete
Stefan Metzmacher [Sat, 21 Sep 2013 00:59:51 +0000 (02:59 +0200)]
librpc/rpc/binding_handle.c cleanup incomplete

9 years agolibrpc/rpc/binding_handle.c deadlock...
Stefan Metzmacher [Sat, 21 Sep 2013 00:59:24 +0000 (02:59 +0200)]
librpc/rpc/binding_handle.c deadlock...

9 years agolibrpc/rpc/binding_handle.c dcerpc_binding_handle_call_params_done
Stefan Metzmacher [Sat, 21 Sep 2013 00:30:03 +0000 (02:30 +0200)]
librpc/rpc/binding_handle.c dcerpc_binding_handle_call_params_done

9 years agolibrpc/rpc/binding_handle.c sq dcerpc_binding_handle_call_params_in_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

9 years agosq librpc/rpc/binding_handle.c PIPE support
Stefan Metzmacher [Fri, 20 Sep 2013 17:23:00 +0000 (19:23 +0200)]
sq librpc/rpc/binding_handle.c PIPE support

9 years agoTODO librpc/rpc: add DCERPC pipe support to dcerpc_binding_handle_call_params_send...
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()

9 years agolibrpc/rpc: add dcerpc_binding_handle_raw_call_in_*
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>
9 years agolibrpc/rpc: add dcerpc_binding_handle_call_params*
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

9 years agolibrpc/rpc/pipe_handle.c
Stefan Metzmacher [Sat, 21 Sep 2013 08:18:31 +0000 (10:18 +0200)]
librpc/rpc/pipe_handle.c

9 years agolibrpc/rpc/pipe_handle.c
Stefan Metzmacher [Sat, 21 Sep 2013 07:48:59 +0000 (09:48 +0200)]
librpc/rpc/pipe_handle.c

9 years agolibrpc/rpc/pipe_handle.c
Stefan Metzmacher [Sat, 21 Sep 2013 06:11:22 +0000 (08:11 +0200)]
librpc/rpc/pipe_handle.c

9 years agolibrpc/rpc: add dcerpc_pipe_handle* infrastructure
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>
9 years agolibrpc/rpc: make the dcerpc_binding_handle_raw_call_send/recv() wrapper more thin
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>
9 years agoHACK dnsupdate:name interval = 5
Stefan Metzmacher [Mon, 28 Apr 2014 17:05:27 +0000 (19:05 +0200)]
HACK dnsupdate:name interval = 5

9 years agos4:librpc/rpc: require smb signing by default.
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>
9 years agos4:libcli/smb_composite: don't try to anonymous smb signing
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>
9 years agoRevert "source4/torture/smb2/durable_open.c"
Stefan Metzmacher [Mon, 14 Apr 2014 20:55:35 +0000 (22:55 +0200)]
Revert "source4/torture/smb2/durable_open.c"

This reverts commit 3f42beed778b2523f9be88834d510095482acecb.

9 years agosource4/torture/smb2/durable_open.c
Stefan Metzmacher [Mon, 14 Apr 2014 20:32:30 +0000 (22:32 +0200)]
source4/torture/smb2/durable_open.c

9 years agopython/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Mon, 14 Apr 2014 20:23:27 +0000 (22:23 +0200)]
python/samba/tests/dcerpc/raw_protocol.py

9 years agopython/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

9 years agopython/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

9 years agopython/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

9 years agopython/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

9 years agosq 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

9 years agopython/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

9 years agos4:pyrpc: add base.bind_time_features_syntax(features)
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>
9 years agopython/samba/tests/dcerpc/raw_protocol.py
Stefan Metzmacher [Thu, 27 Mar 2014 13:59:21 +0000 (14:59 +0100)]
python/samba/tests/dcerpc/raw_protocol.py

9 years agopython/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

9 years agopython/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

9 years agopython/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

9 years agolibrpc/rpc: add dcerpc_fault_from_nt_status()
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>
9 years agolibrpc/rpc: add faultcode to nt_status mappings
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>
9 years agoRevert "librpc/rpc: reset the assoc_group_id when setting the binding endpoint"
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.

9 years agolibrpc/rpc: reset the assoc_group_id when setting the binding endpoint
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>
9 years agoRevert "libcli/smb: avoid sync close requests in tstream_smbXcli_np_destructor"
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.

9 years agoRevert "s4:librpc/rpc: remove dcerpc_shutdown_pipe() layer"
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.

9 years agos4:librpc/rpc: remove dcerpc_shutdown_pipe() layer
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>
9 years agolibcli/smb: avoid sync close requests in tstream_smbXcli_np_destructor
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>