mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r2184: use the smb.conf socket options for client code too
(This used to be commit 7256945b52
)
This commit is contained in:
parent
c6dd8f9c9a
commit
b990e9a97b
@ -79,6 +79,7 @@ BOOL smbcli_sock_connect(struct smbcli_socket *sock, struct in_addr *ip, int por
|
||||
}
|
||||
|
||||
set_blocking(sock->fd, False);
|
||||
set_socket_options(sock->fd, lp_socket_options());
|
||||
|
||||
return True;
|
||||
}
|
||||
|
@ -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())) {
|
||||
|
Loading…
Reference in New Issue
Block a user