From b990e9a97b02cec9f012bacc6bb266a0403f6792 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 2 Sep 2004 12:02:28 +0000 Subject: r2184: use the smb.conf socket options for client code too (This used to be commit 7256945b526a1ee68d18eb579e592f7389740c22) --- source4/librpc/rpc/dcerpc_tcp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/librpc') diff --git a/source4/librpc/rpc/dcerpc_tcp.c b/source4/librpc/rpc/dcerpc_tcp.c index 35928cc1c4..896675a7f8 100644 --- a/source4/librpc/rpc/dcerpc_tcp.c +++ b/source4/librpc/rpc/dcerpc_tcp.c @@ -298,6 +298,8 @@ NTSTATUS dcerpc_pipe_open_tcp(struct dcerpc_pipe **p, return NT_STATUS_PORT_CONNECTION_REFUSED; } + set_socket_options(fd, lp_socket_options()); + set_blocking(fd, False); if (!(*p = dcerpc_pipe_init())) { -- cgit