summaryrefslogtreecommitdiffstats
path: root/librpc/rpc
Commit message (Collapse)AuthorAgeFilesLines
...
* librpc: Use tevent_req_simple_recv_ntstatusVolker Lendecke2013-08-121-9/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* librpc: Shorten dcerpc_binding_handle_call a bitVolker Lendecke2013-06-141-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
* librpc: Use tevent_req_poll_ntstatusVolker Lendecke2013-06-141-2/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* librpc: Add NULL check for ndr functions for epm bindings.Andreas Schneider2013-02-221-1/+6
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* librpc/rpc: make use of samba_tevent_context_init()Stefan Metzmacher2013-02-191-2/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* librpc: Check return codes of ndr functions.Andreas Schneider2012-12-211-2/+9
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* s4:librpc/rpc: add DCERPC_SCHANNEL_AES supportStefan Metzmacher2012-07-171-0/+3
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij2012-03-201-3/+3
| | | | | ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* s4-librpc: Fix NETLOGON credential chain with Windows 2008.Andreas Schneider2011-12-141-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.
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-202-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
* librpc: Add some error checking to dcerpc_floor_pack_rhs_if_version_dataVolker Lendecke2011-03-271-1/+5
|
* librpc: Fix Coverity ID 2198: NULL_RETURNSVolker Lendecke2011-03-271-3/+14
|
* librpc: Return an error if we a broken floor.Andreas Schneider2011-03-241-4/+9
| | | | Pair-Programmed-With: Simo Sorce <idra@samba.org>
* cleanup: fix some trailing spacesSimo Sorce2011-03-241-4/+4
|
* librpc: Added a dcerpc_binding_dup() function.Andreas Schneider2011-03-242-0/+82
|
* librpc: bring more librpc prototypes in common.Günther Deschner2011-03-231-0/+12
| | | | Guenther
* librpc/rpc: move DCERPC_ flags to rpc_common.hStefan Metzmacher2011-03-131-0/+54
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
* librpc/rpc: add dcerpc_binding_handle_raw_call()Stefan Metzmacher2011-03-132-0/+70
| | | | metze
* librpc/rpc: move struct dcerpc_binding to rpc_common.hStefan Metzmacher2011-03-131-0/+14
| | | | metze
* librpc/rpc: move enum dcerpc_transport_t to rpc_common.hStefan Metzmacher2011-03-131-0/+6
| | | | metze
* librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.hStefan Metzmacher2011-03-111-2/+101
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
* build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell2011-02-245-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
* librpc/rpc: add dcerpc_fault_to_nt_status() mapping from ↵Stefan Metzmacher2011-01-301-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
* librpc: Added support to accept netbios names.Andreas Schneider2011-01-271-1/+2
| | | | | If we have a NCACN_NP pipe, the binding host is the netbios name an not an IP address.
* librpc: Fixed memory context of dcerpc_binding_from_tower.Stefan Metzmacher2010-10-181-2/+2
|
* s4-rpc: added target_principal binding handle optionAndrew Tridgell2010-10-011-2/+2
| | | | | | this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* librpc: bitten by the strncasecmp define againAndrew Tridgell2010-09-071-0/+1
|
* Add unique IP address binding for client connections (EPM and ncacn_ip_tcp ↵Julien Kerihuel2010-09-071-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>
* librpc/rpc: add dcerpc_binding_handle_set_timeout()Stefan Metzmacher2010-09-041-0/+6
| | | | metze
* librpc/rpc: move dcerpc_read_ncacn_packet_send/recv() to dcerpc_util.cStefan Metzmacher2010-08-201-0/+178
| | | | metze
* librpc/rpc: call do_ndr_print hook in dcerpc_binding_handle_call*()Stefan Metzmacher2010-08-181-0/+10
| | | | metze
* s4:librpc/rpc: make struct dcerpc_binding_handle privateStefan Metzmacher2010-08-121-0/+9
| | | | metze
* librpc/rpc: add dcerpc_binding_handle abstrationStefan Metzmacher2010-08-121-0/+470
| | | | metze
* dcerpc: Clarify what the arguments of dcerpc_pull_auth_trailer() actually ↵Simo Sorce2010-07-201-15/+34
| | | | represent.
* s3-dcerpc: Fix ability to receive Big Endian PDUsSimo Sorce2010-07-161-0/+5
|
* dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c fileSimo Sorce2010-07-131-0/+64
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4-dcerpc: move some util functions up to main librpc directory.Günther Deschner2010-07-131-0/+53
| | | | | | | Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-3/+3
|
* librpc:dcerpc_error.c - fix a warningMatthias Dieter Wallnöfer2010-05-091-2/+2
|
* librpc/rpc: add dcerpc_fault_to_nt_status()Stefan Metzmacher2010-04-151-0/+24
| | | | | | | For now this only handles fault codes with we've seen yet and for which we have explicit torture checks. metze
* librpc/rpc: fix typo DERPC_ => DCERPC_Stefan Metzmacher2010-04-091-47/+47
| | | | metze
* libutil: moved the networking defines to util_net.hAndrew Tridgell2010-03-261-0/+1
| | | | These were causing thousands of warnings on solaris8
* librpc/rpc: fix dcerpc_errstr() to handle all nca_s_* status codes and ↵Stefan Metzmacher2010-03-231-10/+52
| | | | | | fallback to WERROR codes metze
* librpc When sending endpoint mapper requests, include the minor if_versionAndrew Bartlett2010-02-201-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
* lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett2009-11-121-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
* librpc Make talloc tree in binding tower match the floorsAndrew Bartlett2009-10-211-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
* s4-rpc: added NDR64 supportAndrew Tridgell2009-09-171-1/+2
| | | | This adds support for the nd464 binding string option
* librpc: fix callers after epmapper.idl changesStefan Metzmacher2009-08-071-9/+9
| | | | metze
* Add derpc_transport_string_by_transport(), apply some constVolker Lendecke2009-01-091-6/+14
|
* Fix some nonempty blank linesVolker Lendecke2009-01-091-26/+26
|