mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r2184: use the smb.conf socket options for client code too
This commit is contained in:
parent
a6f830cfec
commit
7256945b52
@ -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