summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_pipe.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-14Simplify rpc_read a bitVolker Lendecke1-16/+11
rpc_read always reads the whole bytes it was asked to read. So it is not really necessary for it to update the current_pdu_offset, for clarity this can better be done in the caller.
2009-01-14Remove an unnecessary size checkVolker Lendecke1-10/+4
rpc_read is only ever called with at most fraglen-RPC_HEADER_SIZE length
2009-01-14Check the fragment size the server has sent usVolker Lendecke1-0/+10
2009-01-14Slightly simplify rpc_read: It should not do the resizeVolker Lendecke1-18/+34
2009-01-14Always read with offset 0 from a named pipeVolker Lendecke1-6/+5
2009-01-11Move cli_api_pipe() to its only user cli_pipe.cVolker Lendecke1-0/+26
2009-01-04Async wrapper for open_socket_out_send/recvVolker Lendecke1-3/+2
2009-01-03open_socket_out is always used with SOCK_STREAM, remove argument "type"Volker Lendecke1-1/+1
2008-12-05s3: store user session key in cli_rpc_pipe_open_noauth().Günther Deschner1-0/+7
Guenther
2008-10-31errors: share dcerpc error function.Günther Deschner1-1/+1
Guenther
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-1/+1
2008-10-15Don't use debug level 1 to log a trivial message.Jeremy Allison1-1/+1
Jeremy.
2008-09-03Tiny logic simplification: remove an else branchVolker Lendecke1-36/+33
(This used to be commit 9c4905ed6703a38ff72be5990a036d0a79aebb9f)
2008-08-20fix another build warning.Günther Deschner1-2/+2
Guenther (This used to be commit 43693ce6c678b961fa516bbf502af92f87cd5346)
2008-07-21Remove unused function rpccli_is_pipe_idxVolker Lendecke1-6/+0
(This used to be commit 287ffc17a072d5e1a5b0e1ecae089faf67b814b7)
2008-07-21Remove now unused cli_get_pipe_nameVolker Lendecke1-7/+2
(This used to be commit ed4a447103cd9ada59222d79f5784818fe033209)
2008-07-21Remove now unused cli_get_pipe_idxVolker Lendecke1-15/+0
(This used to be commit e02a550527307f7b300d3fe13631e2d29dbc5e06)
2008-07-21Remove now unused cli_get_ifaceVolker Lendecke1-9/+0
(This used to be commit 2e60701e8d41132f90e64a86bccd99cc188d38c9)
2008-07-21Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke1-3/+3
(This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_krb5Volker Lendecke1-23/+24
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit f2656e5c2e700523ead7a62734d203ad0caaff0c)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_schannelVolker Lendecke1-13/+18
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 1fcfca007f33a2c4e979abf30c2ea0db65bac718)
2008-07-20Refactoring: Change calling conventions for ↵Volker Lendecke1-14/+18
cli_rpc_pipe_open_ntlmssp_auth_schannel Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit ff87127baf1d1bd62bb9c1be4a50c2ab2642b33d)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel_with_keyVolker Lendecke1-28/+30
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 78e9c937ff2d2e1b70cfed4121e17feb6efafda1)
2008-07-20Refactoring: Make get_schannel_session_key_auth_ntlmssp return NTSTATUSVolker Lendecke1-21/+21
(This used to be commit ab3d80d476d8264030fa71d974324c6dcf6fe6e1)
2008-07-20Refactoring: Make get_schannel_session_key return NTSTATUSVolker Lendecke1-15/+18
(This used to be commit a0793cc853d3bd43df2fc49df193a5fead6b01ab)
2008-07-20Refactoring: Make get_schannel_session_key_common return NTSTATUSVolker Lendecke1-22/+22
(This used to be commit 513e69507676fc2227424362d24d8ea9615ea758)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmsspVolker Lendecke1-41/+45
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit a13f0599551609394904b99e4014d580ec65c506)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-29/+36
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_openVolker Lendecke1-35/+23
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 6c122457ff3f22e20dbb595dc6d5fb49689f4d61)
2008-07-20Refactoring: Change calling conventions for rpc_pipe_open_npVolker Lendecke1-21/+41
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9249fe9e917982c8b9ca25933b716e8ac0aa40cd)
2008-07-20Allocate rpc_cli->dc in rpccli_netlogon_setup_creds()Volker Lendecke1-20/+10
The general cli_pipe routines should not have to know about this NETLOGON speciality. (This used to be commit d30237598d0c55b73e202c1de3a020194b67a7e6)
2008-07-20Store copies of the syntax ids in rpc_pipe_clientVolker Lendecke1-11/+12
(This used to be commit 848a3497e385090b4b21837c8d0e0313f5c062e5)
2008-07-20Simplify pipe_names: we only do ndr_transfer_syntax anywayVolker Lendecke1-35/+24
(This used to be commit b808403af55a37f2ec0e87e60450505ddfc2edda)
2008-07-19The PIPE_ pipename macros are only used in cli_pipe.cVolker Lendecke1-0/+19
(This used to be commit 03f7af26f255476d84a375a95fbccfce24db9de8)
2008-07-19Make the pipe_names[] array static to cli_pipe.cVolker Lendecke1-1/+78
(This used to be commit ab7ab350591bf16717744a0c252d3a9d185bcb77)
2008-06-26Fix the non-LDAP, non-krb5 build, fix gcc -O3 warnings.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 9e2ab30d3cf6950fc79152b2169e7aeae8d6a366)
2008-06-25rpc_client: let cli_get_session_key() return talloced session key.Günther Deschner1-4/+10
Thanks, Volker, for pointing this out. Guenther (This used to be commit b47899195e0c190445953243fe80da4e92994dd1)
2008-06-24rpc_client: add cli_get_session_key().Günther Deschner1-0/+31
Guenther (This used to be commit 93b56755f739889da3a67b18a6430b14306d84f7)
2008-06-24rpc_client: Avoid warning in builds without krb5 headers.Karolin Seeger1-0/+2
warning: ‘cli_auth_kerberos_data_destructor’ defined but not used Karolin (This used to be commit b5f9176b6ca8c137d5c065abed943fa437b5531f)
2008-06-11rpc_client: fix some valgrind warnings.Günther Deschner1-2/+4
Guenther (This used to be commit 0352682a355b42ced7628a720a6889d8453e7946)
2008-05-25Fix a const warningVolker Lendecke1-1/+2
Jelmer, would it be possible to make the rpc client functions take const pointers for pure [in] arguments? (This used to be commit d893b2ea13d2e64f1c13aa3984f77baa91a2c658)
2008-05-24drsuapi: always use tcp for drsuapi.Günther Deschner1-2/+36
cli_rpc_pipe_open() now uses tcp transport for drsuapi and named pipe transport for all other pipes. This finally allows rpcclient to call dscracknames on windows (don't forget to call "seal" in advance). Guenther (This used to be commit b243a036026e79b8d3fb75bf7f7d59a27cb813af)
2008-05-23Fix a (bogus) uninitialized variable warningVolker Lendecke1-1/+1
(This used to be commit 6106d48a5c94e7c1f3a7234807e43aca0a51fa62)
2008-05-22rpc_client: make rpc_pipe_open_tcp_port and rpc_pipe_get_tcp_port static.Michael Adam1-7/+7
Slim the interface... Michael (This used to be commit 9971118c23900d81e885a013e738a67df790c90c)
2008-05-22rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp().Michael Adam1-7/+160
Michael (This used to be commit f7db445c828c0eef2c08b538bd07d485dc248689)
2008-05-21rpc_client: add a destructor to close the socket for pipes over tcp.Volker Lendecke1-0/+10
used in rpc_pipe_open_tcp() and rpc_pipe_open_ncalrpc(). (This used to be commit a0bdd56c75ca6f6c6068995647c0dc1ba89aef12)
2008-05-21Add client support for NCACN_UNIX_STREAMVolker Lendecke1-4/+86
(This used to be commit 24ac40518f79fd480baaedc1d42f3b6fe8ea1c94)
2008-05-21rpccli_schannel_bind_data only needs the schannel keyVolker Lendecke1-3/+4
(This used to be commit be5d54a363a57113e494202a2d22dd9bbcf13b41)
2008-05-21Rename rpc_pipe_client.tcp.sock to rpc_pipe_client.sock.fdVolker Lendecke1-7/+7
(This used to be commit 2ff908a902ec857856518eaddb5246dd5067063d)
2008-05-21Fix a commentVolker Lendecke1-1/+1
(This used to be commit 8ae39c1339758795a91c6a168e210357e7f29eae)