1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/librpc
Stefan Metzmacher 8bd0f4405a s4:pyrpc: add py_dcerpc_ndr_pointer_deref/wrap() infrastructure
Some idl files use more than one layer of unique pointers. e.g.

    NTSTATUS lsa_GetUserName(
            [in,unique] [string,charset(UTF16)] uint16 *system_name,
            [in,out,ref] lsa_String **account_name,
            [in,out,unique] lsa_String **authority_name
            );

In order to specify *io.in.authority_name = NULL,
we need to wrap the pointer value (lsa_String or None)
into an base.ndr_pointer() object.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2019-01-12 03:13:41 +01:00
..
gen_ndr waf-idl: put the gen_ndr/README file for source3 back 2010-07-19 22:17:17 +10:00
idl s4-dns: Reload DNS zones from dsdb when zones are modified through RPC or DRS 2014-12-22 05:57:08 +01:00
ndr pysecurity: Use dom_sid_str_buf 2019-01-08 03:40:28 +01:00
rpc s4:pyrpc: add py_dcerpc_ndr_pointer_deref/wrap() infrastructure 2019-01-12 03:13:41 +01:00
scripts
tests tests/ndrdump: Add a test for --hex-input 2017-02-14 13:39:01 +01:00
dcerpc_samr.pc.in build: correct package dependencies 2017-04-18 18:54:13 +02:00
dcerpc.pc.in build: correct package dependencies 2017-04-18 18:54:13 +02:00
wscript_build s4:librpc: add python winspool bindings 2018-12-23 18:15:19 +01:00