summaryrefslogtreecommitdiff
path: root/source3/rpc_client/rpc_transport_np.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-20s3-rpc: use dcerpc_default_transport_endpoint function.Günther Deschner1-1/+2
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-08-05s3-rpc_cli: pass down ndr_interface_table to rpc_transport_np_init_send().Günther Deschner1-3/+3
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2013-08-05s3-rpc_cli: pass down ndr_interface_table to rpc_transport_np_init().Günther Deschner1-2/+2
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2013-02-19s3:rpc_client: s/struct event_context/struct tevent_contextStefan Metzmacher1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-02-19s3:rpc_client: make use of samba_tevent_context_init()Stefan Metzmacher1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2012-05-28s3:rpc_client: tstream_cli_np_open_send() doesn't expect a leading backslashStefan Metzmacher1-0/+4
This fixes winbindd against a windows server using SMB2. metze
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-04-12s3-rpc_client: move rpc_cli_transport structs and protos to rpc_transport.hGünther Deschner1-0/+1
Guenther
2010-12-15s3:rpc_client: implement rpc_transport_np_init() on top of ↵Stefan Metzmacher1-400/+19
rpc_transport_tstream_init() This also makes use of tstream_cli_np_open() to get the tstream. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 15 16:12:30 CET 2010 on sn-devel-104
2010-08-05s3: Save the received trans2 from the inbuf in cli_transVolker Lendecke1-1/+2
2010-03-29s3:rpc_client: remove more unused codeStefan Metzmacher1-12/+0
metze
2010-03-29s3:rpc_client: add set_timeout hook to rpc_cli_transportStefan Metzmacher1-0/+19
metze
2010-03-29s3:rpc_client: add rpccli_is_connected()Stefan Metzmacher1-1/+65
metze
2010-03-29s3:rpc_transport_np: add comment about bad usage in a destructorStefan Metzmacher1-1/+2
metze
2010-03-29s3:rpc_transport_np: use cli_state_is_connected() helperStefan Metzmacher1-1/+1
metze
2010-02-24s3:rpc_transport_np: handle trans rdata like the output of a normal readStefan Metzmacher1-0/+17
Inspired by bug #7159. metze
2010-02-19Second part of fix for bug #7159 - client rpc_transport doesn't cope with ↵Jeremy Allison1-0/+6
bad server data returns. If server returns zero on a NP read. Report pipe broken. Prevents client from looping if it thinks there should be more data. Jeremy.
2010-02-19First part of fix for bug #7159 - client rpc_transport doesn't cope with bad ↵Jeremy Allison1-0/+4
server data returns. Ensure that subreq is *always* talloc_free'd in the _done function, as it has an event timeout attached. If the read requests look longer than the cli->timeout, then the timeout fn is called with already freed data. Jeremy.
2010-01-06s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume ↵Bo Yang1-0/+12
lsa_pipe_tcp is ok but network is down, then send request is ok, but select() on writeable fds loops forever since there is no response. Signed-off-by: Bo Yang <boyang@samba.org>
2009-11-14s3: Add min_setup, min_param and min_data to cli_trans_recvVolker Lendecke1-2/+2
Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
2009-11-07s3: get_pipe_name_from_iface -> get_pipe_name_from_syntaxVolker Lendecke1-2/+2
2009-04-30Cause cli_close to return an NTSTATUS.Jeremy Allison1-4/+1
Jeremy.
2009-04-29s3: fix crash in winbinddBo Yang1-0/+6
2009-04-08Convert rpc_transport_np_init to tevent_reqVolker Lendecke1-34/+31
2009-04-06Convert cli_write_andx to tevent_reqVolker Lendecke1-13/+8
2009-04-06Convert cli_read_andx to tevent_reqVolker Lendecke1-8/+6
2009-04-06Convert cli_ntcreate to tevent_reqVolker Lendecke1-7/+8
2009-04-06Convert cli_trans to tevent_reqVolker Lendecke1-8/+6
2009-03-24Convert rpc_cli_transport->trans to tevent_reqVolker Lendecke1-21/+22
2009-03-24Convert rpc_cli_transport->write to tevent_reqVolker Lendecke1-20/+21
2009-03-24Convert rpc_cli_transport->read to tevent_reqVolker Lendecke1-21/+22
2009-02-01Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke1-9/+9
2009-02-01cli_get_pipe_name_from_interface does not really need a talloc_ctxVolker Lendecke1-11/+2
2009-01-30Make rpc_transport_np_init asyncVolker Lendecke1-32/+121
2009-01-22Add the named pipe rpc client transportVolker Lendecke1-0/+329