summaryrefslogtreecommitdiff
path: root/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2013-09-20librpc: add dcerpc_default_transport_endpoint() function.Günther Deschner2-0/+58
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-08-12librpc: Use tevent_req_simple_recv_ntstatusVolker Lendecke1-9/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-06-14librpc: Shorten dcerpc_binding_handle_call a bitVolker Lendecke1-13/+6
... saves 200 bytes on 64 bit Linux with -O3 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 14 22:27:43 CEST 2013 on sn-devel-104
2013-06-14librpc: Use tevent_req_poll_ntstatusVolker Lendecke1-2/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-02-22librpc: Add NULL check for ndr functions for epm bindings.Andreas Schneider1-1/+6
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2013-02-19librpc/rpc: make use of samba_tevent_context_init()Stefan Metzmacher1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-12-21librpc: Check return codes of ndr functions.Andreas Schneider1-2/+9
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
2012-07-17s4:librpc/rpc: add DCERPC_SCHANNEL_AES supportStefan Metzmacher1-0/+3
metze Signed-off-by: Günther Deschner <gd@samba.org>
2012-03-20libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij1-3/+3
ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2011-12-14s4-librpc: Fix NETLOGON credential chain with Windows 2008.Andreas Schneider1-0/+3
Windows Server 2008 returns NT_STATUS_DOWNGRADE_DETECTED if you call netrServerAuthenticate2 during a domain join without setting the strong keys flag (128bit crypto). Only for NT4 we need to do a downgrade to the returned negotiate flags. See also 0970369ca0cb9ae465cff40e5c75739824daf1d0.
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2-3/+3
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-03-27librpc: Add some error checking to dcerpc_floor_pack_rhs_if_version_dataVolker Lendecke1-1/+5
2011-03-27librpc: Fix Coverity ID 2198: NULL_RETURNSVolker Lendecke1-3/+14
2011-03-24librpc: Return an error if we a broken floor.Andreas Schneider1-4/+9
Pair-Programmed-With: Simo Sorce <idra@samba.org>
2011-03-24cleanup: fix some trailing spacesSimo Sorce1-4/+4
2011-03-24librpc: Added a dcerpc_binding_dup() function.Andreas Schneider2-0/+82
2011-03-23librpc: bring more librpc prototypes in common.Günther Deschner1-0/+12
Guenther
2011-03-13librpc/rpc: move DCERPC_ flags to rpc_common.hStefan Metzmacher1-0/+54
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
2011-03-13librpc/rpc: add dcerpc_binding_handle_raw_call()Stefan Metzmacher2-0/+70
metze
2011-03-13librpc/rpc: move struct dcerpc_binding to rpc_common.hStefan Metzmacher1-0/+14
metze
2011-03-13librpc/rpc: move enum dcerpc_transport_t to rpc_common.hStefan Metzmacher1-0/+6
metze
2011-03-11librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.hStefan Metzmacher1-2/+101
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
2011-02-24build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell5-0/+106
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
2011-01-30librpc/rpc: add dcerpc_fault_to_nt_status() mapping from ↵Stefan Metzmacher1-0/+2
DCERPC_FAULT_SEC_PKG_ERROR metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jan 30 18:24:04 CET 2011 on sn-devel-104
2011-01-27librpc: Added support to accept netbios names.Andreas Schneider1-1/+2
If we have a NCACN_NP pipe, the binding host is the netbios name an not an IP address.
2010-10-18librpc: Fixed memory context of dcerpc_binding_from_tower.Stefan Metzmacher1-2/+2
2010-10-01s4-rpc: added target_principal binding handle optionAndrew Tridgell1-2/+2
this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-07librpc: bitten by the strncasecmp define againAndrew Tridgell1-0/+1
2010-09-07Add unique IP address binding for client connections (EPM and ncacn_ip_tcp ↵Julien Kerihuel1-3/+19
levels) This allows for binding strings like this: ncacn_ip_tcp:host[localaddress=192.168.2.1,seal] which will force the connection to be locally bound to the specified IP address Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-04librpc/rpc: add dcerpc_binding_handle_set_timeout()Stefan Metzmacher1-0/+6
metze
2010-08-20librpc/rpc: move dcerpc_read_ncacn_packet_send/recv() to dcerpc_util.cStefan Metzmacher1-0/+178
metze
2010-08-18librpc/rpc: call do_ndr_print hook in dcerpc_binding_handle_call*()Stefan Metzmacher1-0/+10
metze
2010-08-12s4:librpc/rpc: make struct dcerpc_binding_handle privateStefan Metzmacher1-0/+9
metze
2010-08-12librpc/rpc: add dcerpc_binding_handle abstrationStefan Metzmacher1-0/+470
metze
2010-07-20dcerpc: Clarify what the arguments of dcerpc_pull_auth_trailer() actually ↵Simo Sorce1-15/+34
represent.
2010-07-16s3-dcerpc: Fix ability to receive Big Endian PDUsSimo Sorce1-0/+5
2010-07-13dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c fileSimo Sorce1-0/+64
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s4-dcerpc: move some util functions up to main librpc directory.Günther Deschner1-0/+53
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-3/+3
2010-05-09librpc:dcerpc_error.c - fix a warningMatthias Dieter Wallnöfer1-2/+2
2010-04-15librpc/rpc: add dcerpc_fault_to_nt_status()Stefan Metzmacher1-0/+24
For now this only handles fault codes with we've seen yet and for which we have explicit torture checks. metze
2010-04-09librpc/rpc: fix typo DERPC_ => DCERPC_Stefan Metzmacher1-47/+47
metze
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell1-0/+1
These were causing thousands of warnings on solaris8
2010-03-23librpc/rpc: fix dcerpc_errstr() to handle all nca_s_* status codes and ↵Stefan Metzmacher1-10/+52
fallback to WERROR codes metze
2010-02-20librpc When sending endpoint mapper requests, include the minor if_versionAndrew Bartlett1-1/+16
The minor version (in the upper 16 bits of syntax->if_version) needs to be pushed as the right hand side of the endpoint mapper floor (the same floor as the interface UUID and major if_version). Andrew Bartlett
2009-11-12lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett1-1/+1
Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett
2009-10-21librpc Make talloc tree in binding tower match the floorsAndrew Bartlett1-10/+14
This is mostly cosmetics, but helped me see that these are legitimate stuctures when viewed in the talloc tree. Also don't put the 'ndr' structure on the long-term tree. Andrew Bartlett
2009-09-17s4-rpc: added NDR64 supportAndrew Tridgell1-1/+2
This adds support for the nd464 binding string option
2009-08-07librpc: fix callers after epmapper.idl changesStefan Metzmacher1-9/+9
metze
2009-01-09Add derpc_transport_string_by_transport(), apply some constVolker Lendecke1-6/+14