summaryrefslogtreecommitdiffstats
path: root/source4/librpc/rpc/dcerpc.h
Commit message (Collapse)AuthorAgeFilesLines
* s4:librpc/rpc: add very basic dcerpc_binding_handle infrastructureStefan Metzmacher2010-03-121-0/+11
| | | | metze
* s4-rpc: added NDR64 supportAndrew Tridgell2009-09-171-0/+3
| | | | This adds support for the nd464 binding string option
* s4:libnet Allow 'net password change' to work on expired passwordsAndrew Bartlett2009-06-181-0/+2
| | | | | | | | | We need to pass down flags to the DCE/RPC layer to allow fallback to anonymous connections, as we can't log in with an expired password. The anonymous connection can then change the password with SAMR. Andrew Bartlett
* s4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send()Stefan Metzmacher2009-04-201-0/+1
| | | | | | The caller should decide if async is desired it should be harcoded per call. metze
* s4:librpc/rpc: remove async argument from the sync dcerpc_request() functionStefan Metzmacher2009-04-201-1/+0
| | | | metze
* Add prototypes required by samba-gtk.Jelmer Vernooij2009-01-251-0/+2
|
* Add derpc_transport_string_by_transport(), apply some constVolker Lendecke2009-01-091-1/+2
|
* Add some const to dcerpc_binding_build_tower()Volker Lendecke2009-01-061-1/+3
|
* Fix prototype.Jelmer Vernooij2009-01-061-1/+1
|
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-8/+8
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij2008-11-021-1/+1
|
* Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij2008-11-021-1/+2
| | | | should in the future only contain some settings required for gensec.
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-021-5/+9
|
* dcerpc: Fix include path so header installer translates it correctly during ↵Jelmer Vernooij2008-10-311-1/+1
| | | | install.
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-1/+1
| | | | | | Conflicts: source4/Makefile
* Import proper IDL for interface pointers.Jelmer Vernooij2008-09-161-0/+2
|
* librpc/rpc: add support DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGNStefan Metzmacher2008-08-071-0/+3
| | | | | | | | | | | | | You can trigger it like this: ncacn_ip_tcp:172.31.9.234[sign,hdrsign] or ncacn_ip_tcp:172.31.9.234[seal,hdrsign] metze (This used to be commit 54f1fca582b1474693b5ee11b7b847086d27f75f)
* Trim the size of the Python bindings a bit.Jelmer Vernooij2008-05-251-0/+1
| | | | (This used to be commit 717ce0b640a5c3aa62804b9869ef4dcc0f71b7ba)
* Use manually written Python bindings for DCE/RPC rather than SWIG based.Jelmer Vernooij2008-05-241-0/+8
| | | | | Use base class for pidl-generated DCE/RPC interface Python bindings. (This used to be commit 25e7fc8a2c7a5914c4db4bfe428fd0a8efbf0784)
* Install libevents since it's required by samba-gtk.Jelmer Vernooij2008-04-031-0/+4
| | | | (This used to be commit 2073346828ffa1d9c35105eadd7afddd3a76a045)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-1/+121
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* Add warning to public headers.Jelmer Vernooij2008-04-011-0/+4
| | | | (This used to be commit 7bfe359c73aac96f8e983e8d5e9621235cf79a3a)
* r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij2008-01-011-0/+1
| | | | | | library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
* r26376: Add context for libcli_resolve.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
* r26277: Move loadparm context higher up the stack.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit 38fa08310ce573e9b46e76c840ddda6f18863573)
* r24812: Fix headers for external users.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)
* r24753: Allow host name in binding string without transport.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit f7051d3a84486ed9d0a1689c10a693521ec63528)
* r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
* r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher2007-10-101-17/+2
| | | | | | | | | rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
* r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_listStefan Metzmacher2007-10-101-12/+2
| | | | | | | into ndr_interface_string_array and move it to libndr.h metze (This used to be commit 473bca74dc9d9dc54a239c9b5d3dc5fcf5a117a9)
* r24535: rename struct dcerpc_interface_call -> struct ndr_interface_callStefan Metzmacher2007-10-101-13/+1
| | | | | | | and move it to librpc/ndr/libndr.h metze (This used to be commit abd5551aabae1820baaa52a963e8c7aa9605914e)
* r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_idStefan Metzmacher2007-10-101-4/+4
| | | | | | | | | | and move it into misc.idl The goal is to get rid a all dcerpc specific stuff in the generated ndr layer. metze (This used to be commit 2ed014cfb894cccab1654e3f7d5876393e2b52d7)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r22944: fix bug #4618:Stefan Metzmacher2007-10-101-2/+2
| | | | | | | rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
* r22486: add a flag to ignore timeouts of a request and don't closeStefan Metzmacher2007-10-101-0/+1
| | | | | | | the connection on timeout metze (This used to be commit 6b23ab1fd265e2a92456701fb02bd1838c098874)
* r22470: merge handling of broken connections from wins replication client codeStefan Metzmacher2007-10-101-1/+4
| | | | | | | | | | | | to the rpc client code we need to always ask for read events on the socket otherwise we never get the connection error reported. shutdown the transport when a request timeout. metze (This used to be commit 3403c0cb15e08ec838b0bc834f941051fb94d124)
* r21811: fixed a queueing error in the dcerpc client code. WHen theAndrew Tridgell2007-10-101-0/+1
| | | | | | | | | | | | | dcerpc_ship_next_request() logic was added the penidng queue was split in two, but we also needed to update the code which removes requests from the queue to know about the two queues. Following the pattern used in other client libs, I based which queue to remove from on req->state, and added a new state RPC_REQUEST_QUEUED. This fixes a crash that happens when rpc requests time out. This patch also fixes the handling of timed out bind requests, and the talloc_reference handling in dcerpc_ndr_request_recv(). (This used to be commit f51a129b52d53059cc1567538f986400c0ea5602)
* r21515: add some more PFC_FLAGS from the DCERPC spec, and fix some namesStefan Metzmacher2007-10-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | also make it possible to pass and get the assoc_group_id for a pipe. also make it possible to pass the DCERPC_PFC_FLAG_CONC_MPX flag in bind requests. From the spec it triggers support for concurrent multiplexing on a single connection. w2k3 uses the assoc_group_id feature when it becomes a domain controller of an existing domain. Know the ugly part, with this it's possible to use a policy handle from one connection on a different one... typically the DsBind() call is on the 1st connection while DsGetNCChanges() call using the first connections bind handle are on the 2nd connection. The second connection also has the DCERPC_PFC_FLAG_CONC_MPX flag attached, but that doesn't seem to be related to the cross connection handle usage Can anyone think of a nice way to implement the assoc_group_id stuff in our server? metze (This used to be commit 2d8c85397d9027485ed6dbdcca87cc1ec84c7b76)
* r19266: Add a target_hostname element to the binding struct. This allows usAndrew Bartlett2007-10-101-0/+1
| | | | | | | | | | | to perform a lookup once, resolve the name to an IP, while still communicating the full name to the lower layers, for kerberos etc. This fixes 'net samdump', which was failing due to the schannel target name being *smbserver. Andrew Bartlett (This used to be commit 0546f487f4cc99b5549dc1e457ea243d4bd66333)
* r15524: fix a problem with rpc faults from bind and alter contextAndrew Tridgell2007-10-101-6/+5
| | | | | | | requests. The fix involves using the same packet queue mechanism for these requests as normal requests, which also simplifies the code somewhat (This used to be commit 2e7f5add13da3061d2f2e2869d10df06b3a98f40)
* r15426: Implement SPNEGO as the default RPC authentication mechanism. WhereAndrew Bartlett2007-10-101-3/+6
| | | | | | | | | | | | | | | this isn't supported, fallback to NTLM. Also, where we get a failure as 'logon failure', try and do a '3 tries' for the password, like we already do for CIFS. (Incomplete: needs a mapping between RPC errors and the logon failure NTSTATUS). Because we don't yet support Kerberos sign/seal to win2k3 SP1 for DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos isn't demanded. Andrew Bartlett (This used to be commit b3212d1fb91b26c1d326a289560106dffe1d2e80)
* r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhereJelmer Vernooij2007-10-101-4/+2
| | | | (This used to be commit a316b33057f3ec8532677980e093cd327d33f257)
* r14714: On DCE/RPC, we need the name of the remote server used on the socket,Andrew Bartlett2007-10-101-0/+2
| | | | | | | | for Kerberos. It must be the full name contacted, not the 'called name' we might want to use for \\server things, so add another function. Andrew Bartlett (This used to be commit 6d57d1dbb76e7d1ca2fd4f1a6c0bacfa7a189e2b)
* r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
* r14488: Install more headers.Jelmer Vernooij2007-10-101-0/+1
| | | | | | | Generate different #include lines in pidl depending on whether we're building inside or outside of the Samba tree (useful for 3rd-party projects). (This used to be commit 0c188833154c1fe565cb1735909e408a4a1a6049)
* r14381: Kill structs.hJelmer Vernooij2007-10-101-0/+4
| | | | (This used to be commit 1ffb82a7596f989c90df69573083a2c2e28f8808)
* r14362: Only include ndr_compression.h when necessary.Jelmer Vernooij2007-10-101-0/+2
| | | | (This used to be commit 4fced6dbbdc06233e5cf69f90c099fafee9baa34)
* r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij2007-10-101-2/+0
| | | | | file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
* r12865: Upgrade the librpc and libnet code.Andrew Bartlett2007-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | In librpc, always try SMB level authentication, even if trying schannel, but allow fallback to anonymous. This should better function with servers that set restrict anonymous. There are too many parts of Samba that get, parse and modify the binding parameters. Avoid the extra work, and add a binding element to the struct dcerpc_pipe The libnet vampire code has been refactored, to reduce extra layers and to better conform with the standard argument pattern. Also, take advantage of the new libnet_Lookup code, so we don't require the silly 'password server' smb.conf parameter. To better support forcing traffic to be sealed for the vampire operation, the dcerpc_bind_auth() function now takes an auth level parameter. Andrew Bartlett (This used to be commit d65b354959842326fdd4bd7eb7fbeea0390f4afa)
* r12696: Reduce the size of include/structs.hJelmer Vernooij2007-10-101-0/+3
| | | | (This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)