summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r25829: - use DEBUG() instead of printfStefan Metzmacher1-1/+3
- return an error if strings doesn't match on validate metze (This used to be commit 4f5ad8cd447f8b44df1bd40f5ee3045d5ab2c3dc)
2007-12-21r25828: don't ignore errorsStefan Metzmacher1-0/+7
metze (This used to be commit 2bd63ce9e53071dc81549e0f344a0e53737760b4)
2007-12-21r25824: - NT_STATUS_IS_ERR() is not the same as !NT_STATUS_IS_OK()Stefan Metzmacher2-4/+4
- make the success case some clear by returning NT_STATUS_OK metze (This used to be commit 2b570f96fcf537c1269237e1067ea7801b563b7e)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij3-5/+5
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25316: Remove last few instances of old BOOL type in librpc/.Jelmer Vernooij6-21/+22
(This used to be commit 80d1dd41d4b224c46ad545f0afd97a847b99860b)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-7/+7
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij1-1/+1
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij3-0/+3
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25001: Fix more C++ and other warnings, fix some of the indentation with ↵Jelmer Vernooij1-1/+2
ts=4 lines that I accidently added earlier. (This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2-2/+2
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij4-22/+22
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24992: Remove some uses of lp_*().Jelmer Vernooij1-2/+2
(This used to be commit a5a1a5540510cdb1bfbb3e89b84f4ba5b2812c55)
2007-10-10r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij2-2/+7
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
2007-10-10r24908: we should not set s = NULL as we set it to talloc_strdup("") beforeStefan Metzmacher1-3/+2
metze (This used to be commit 2246c018b6b99ae38a4a612309069fc919350ba6)
2007-10-10r24812: Fix headers for external users.Jelmer Vernooij1-1/+1
(This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)
2007-10-10r24780: More work allowing libutil to be used by external users.Jelmer Vernooij2-12/+9
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10r24763: Allow users to leave out the transport in DCE/RPC binding strings. ↵Jelmer Vernooij2-5/+21
If the transport is not specified, it will be retrieved from the remote endpoint mapper or the IDL file. This means that 'smbtorture localhost RPC-WINREG' works now. (This used to be commit b7fa0859d2e4236112075604281410ba037b1076)
2007-10-10r24755: Use common code for finding the RPC binding in the torture tests.Jelmer Vernooij1-2/+4
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
2007-10-10r24753: Allow host name in binding string without transport.Jelmer Vernooij2-29/+38
(This used to be commit f7051d3a84486ed9d0a1689c10a693521ec63528)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-3/+3
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.cStefan Metzmacher1-134/+0
and rename the containing functions to have a ndr_ prefix metze (This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)
2007-10-10r24560: rename some DCERPC_ prefixes into NDR_Stefan Metzmacher1-1/+1
metze (This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher3-4/+4
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher8-55/+40
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_listStefan Metzmacher1-12/+2
into ndr_interface_string_array and move it to libndr.h metze (This used to be commit 473bca74dc9d9dc54a239c9b5d3dc5fcf5a117a9)
2007-10-10r24535: rename struct dcerpc_interface_call -> struct ndr_interface_callStefan Metzmacher3-17/+5
and move it to librpc/ndr/libndr.h metze (This used to be commit abd5551aabae1820baaa52a963e8c7aa9605914e)
2007-10-10r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_idStefan Metzmacher4-18/+18
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)
2007-10-10r23890: Allow wbinfo -a to work against Samba4's winbind.Andrew Bartlett2-184/+318
Add a test for wbinfo -a to test_member.sh Reimplement the server-side 'pam_auth' and 'pam_auth_crap' calls to use the same SamLogon code as auth_winbind uses. In my previous code, we did not bind to the LSA and SAMR pipes, before attempting operations. We now do this (how we passed any tests before is beyond me). This required some rework, particularly to make it easier to setup secondary connections. The new rpc_secondary_auth_connection() function also performs the bind. The dcerpc_connect.c file was getting to big, so things have been merged into dcerpc_secondary.c. Andrew Bartlett (This used to be commit 365778a993b7d76af6d53ba2a598b7e271741dc5)
2007-10-10r23812: Remove more code found as dead by the find_static script, and makeAndrew Bartlett1-43/+4
other functions just static. Andrew Bartlett (This used to be commit 64fcec1da613dc8f16f0fba02fb3de0ec840671f)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell11-33/+22
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)
2007-10-10r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with ↵Andrew Bartlett1-2/+2
qsort(). Andrew Bartlett (This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)
2007-10-10r23134: Set the event context onto the cli_credentials.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 8b97ca2a8719abdd9f853a5d8f075428b2f49a61)
2007-10-10r22944: fix bug #4618:Stefan Metzmacher7-48/+48
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10r22838: Add in an explority test for what QFSINFO operations are valid on IPC$Andrew Bartlett1-0/+15
It seems most opertaions are supported, but that the values are not consistant. I think these are very much hand-hacked stubs, which is what they will be on Samba4 too. I'll need to add some more 'don't fail for...' hacks before this passes against Win2k3. Andrew Bartlett (This used to be commit dcb858d0c716b23be6c5d36b4aa6f155582ada63)
2007-10-10r22683: fix the logic for skipping the pipe_dead()Stefan Metzmacher2-4/+4
code on the 2nd run. thanks volker for finding this! metze (This used to be commit 00ccc217da62a7f4125f28e77030ae526d573f3a)
2007-10-10r22534: don't remove socket and fd_event before we told theStefan Metzmacher1-8/+6
packet layer. also fix double free (left over from cut-n-paste) metze (This used to be commit a26db7e694def6206345222a240d160fac17dd7d)
2007-10-10r22528: remember that the connection was marked dead and don'tStefan Metzmacher2-0/+41
allow sending packet over the broken connection, as we would segfault... metze (This used to be commit 738b2c74117bdbef3b314c37f01f2f73b7a80685)
2007-10-10r22515: only steal pipe on successStefan Metzmacher1-3/+4
metze (This used to be commit acfaba06f51184df5f1e99f0acd6fd0bd5f34afc)
2007-10-10r22486: add a flag to ignore timeouts of a request and don't closeStefan Metzmacher2-0/+13
the connection on timeout metze (This used to be commit 6b23ab1fd265e2a92456701fb02bd1838c098874)
2007-10-10r22485: don't crash when the main dcerpc code haven't setupStefan Metzmacher3-3/+23
transport.recv_data yet also return always a usefull error metze (This used to be commit 0a8b4c328dfac972186564d2a4e1757d5135ec47)
2007-10-10r22470: merge handling of broken connections from wins replication client codeStefan Metzmacher5-28/+57
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)
2007-10-10r22386: another unused includeStefan Metzmacher1-1/+0
metze (This used to be commit 3561258866c4844b0223cd28a5073953e48aa7e5)
2007-10-10r21811: fixed a queueing error in the dcerpc client code. WHen theAndrew Tridgell2-19/+37
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)
2007-10-10r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is createdAndrew Tridgell4-9/+24
using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test (This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9)
2007-10-10r21520: fix the altercontext test... sorryStefan Metzmacher1-0/+2
I'm only fixing the bug I introduced here, not the rest of the mess in the pipe handling, as we don't fill in pipe->binding and pipe->conn->binding_str consistant... metze (This used to be commit cec74f352822a767770e9e00e87a94d0e37d80c9)
2007-10-10r21515: add some more PFC_FLAGS from the DCERPC spec, and fix some namesStefan Metzmacher3-6/+24
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)
2007-10-10r20326: always set the binding->target_hostname!Stefan Metzmacher1-5/+9
we crashed before trying ncacn_np: for frsrpc as frsrpc doesn't have a ncacn_np endpoint listed in the idl header and the endpoint mapping code was trying our smbcli lib with a NULL target_hostname -> called_name metze (This used to be commit ed49e4b1f87db483768dec36732b0c9765d1d4bc)
2007-10-10r20323: allow empty dcerpc reqeusts, this fixes the RPC-COUNTCALLS testStefan Metzmacher1-1/+1
metze (This used to be commit bbd086f2edf81028f2370be8ce0739144cd64b02)
2007-10-10r20094: this should be non-constStefan Metzmacher1-1/+1
metze (This used to be commit 1b6621814ba83724e05c0c2bea28d6eb295a3655)
2007-10-10r19844: Fix warnings and errors in epmapper IDL.Jelmer Vernooij1-1/+3
(This used to be commit 0221d5b6c4250a3a2c86c623c534996d7decb1f6)