summaryrefslogtreecommitdiffstats
path: root/librpc/idl/dcerpc.idl
Commit message (Collapse)AuthorAgeFilesLines
* dcerpc.idl: hide (ndr->flags & LIBNDR_FLAG_OBJECT_PRESENT) logic behind a defineStefan Metzmacher2014-03-281-1/+5
| | | | | | | | | This way we can alter the define depending on the generated code. E.g python bindings won't have an 'ndr' struct available. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dcerpc.idl: fix dcerpc_bind_nack definitionStefan Metzmacher2014-03-281-10/+6
| | | | | | | The version array is always present. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dcerpc.idl: fix typo s/ist/intStefan Metzmacher2014-03-281-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dcerpc.idl: make use of DCERPC_NCA_S_* constants for the legacy ↵Stefan Metzmacher2014-03-281-4/+4
| | | | | | | DCERPC_FAULT_* codes Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dcerpc.idl: make use of union dcerpc_bind_ack_reason and fix all callers.Stefan Metzmacher2014-01-161-1/+1
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Thu Jan 16 18:21:40 CET 2014 on sn-devel-104
* dcerpc.idl: make use of dcerpc_bind_nak_reasonStefan Metzmacher2014-01-161-2/+3
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* dcerpc.idl: make use of dcerpc_bind_ack_resultStefan Metzmacher2014-01-161-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* dcerpc.idl: add enums and bitmaps for dcerpc_bind_ack_result, ↵Stefan Metzmacher2014-01-161-4/+44
| | | | | | | dcerpc_bind_[ack|nak]_reason Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* dcerpc.idl: add a bitmap for dcerpc_pfc_flagsStefan Metzmacher2014-01-161-9/+16
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* dcerpc.idl: use logical dcerpc_object orderingDavid Disseldorp2014-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This IDL code: typedef [nodiscriminant] union { [default] dcerpc_empty empty; [case(LIBNDR_FLAG_OBJECT_PRESENT)] GUID object; } dcerpc_object; Compiles into the following default-before-case marshalling code: switch (level) { default: { NDR_CHECK(ndr_push_dcerpc_empty(ndr, NDR_SCALARS, &r->empty)); break; } case LIBNDR_FLAG_OBJECT_PRESENT: { NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->object)); break; } } The default entry before case does not change the flow of execution but is more logical when present at the end of the switch statement. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* librpc/ndr: add ndr_pop_dcerpc_sec_verification_trailer()Gregor Beck2014-01-081-0/+3
| | | | | | | | | | | | | | This extracts the dcerpc_sec_verification_trailer from the end of an ndr_pull structure, it found it reduces ndr->data_size. NDR_ERR_ALLOC is the only possible error, all other errors are ignored and a trailer with command count = 0 is returned. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Signed-off-by: Gregor Beck <gbeck@sernet.de> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* dcerpc.idl: add DCERPC_NCACN_PAYLOAD_OFFSETStefan Metzmacher2014-01-071-0/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* dcerpc.idl: add dcerpc_sec_verification_trailerStefan Metzmacher2014-01-071-0/+67
| | | | | | | | | | See [MS-RPCE] 2.2.2.13 Verification Trailer for details. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Signed-off-by: Gregor Beck <gbeck@sernet.de> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dcerpc.idl: add documentation referencesStefan Metzmacher2014-01-071-2/+11
| | | | | | | To [C706 - DCE 1.1: Remote Procedure Call] and [MS-RPCE]. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind.Andreas Schneider2011-03-081-1/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* dcerpc.idl: add DCERPC_FAULT_SEC_PKG_ERRORStefan Metzmacher2011-01-301-0/+1
| | | | metze
* dcerpc.idl: fix typo 0x800000000 => 0x80000000Stefan Metzmacher2010-12-081-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 8 20:13:03 CET 2010 on sn-devel-104
* Add ncacn_http (RTS) IDL implementation in dcerpc.idlJulien Kerihuel2010-12-081-1/+153
| | | | | | | | Signed-off-by: Julien Kerihuel <j.kerihuel@openchange.org> Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 8 14:17:45 CET 2010 on sn-devel-104
* dcerpc: remove ncacn_packet_header and related functionsSimo Sorce2010-07-161-12/+0
| | | | | | ncacn_packet_header was an artifact and it is not necessary anymore Signed-off-by: Günther Deschner <gd@samba.org>
* s3:dcerpc Add prs_parse_dcerpc_bindSimo Sorce2010-07-081-1/+1
|
* dcerpc: add ncacn_packet_header to IDL.Günther Deschner2010-07-081-0/+12
| | | | | | Guenther Signed-off-by: Simo Sorce <idra@samba.org>
* dcerpc.idl: fix typo DERPC_ => DCERPC_Stefan Metzmacher2010-04-091-47/+47
| | | | metze
* dcerpc.idl: add nca_s_* status codes from the DCE 1.1 specificationStefan Metzmacher2010-03-231-1/+50
| | | | metze
* a4-dcerpc: another attempt at dcerpc auth paddingAndrew Tridgell2010-02-141-0/+3
| | | | The last change broke net vampire against w2k8r2
* s4-rpc: be more careful about DCERPC auth paddingAndrew Tridgell2010-02-131-4/+0
| | | | | | Cope with a wider range of auth padding in dcerpc bind_ack and alter_context packets. We now use a helper function that calculates the right auth padding.
* move dcerpc.idl to main directory.Günther Deschner2009-03-241-0/+306
Guenther