diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/libsmb_server.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c index 760bd9a8d3..ed09cef3f0 100644 --- a/source3/libsmb/libsmb_server.c +++ b/source3/libsmb/libsmb_server.c @@ -674,7 +674,6 @@ SMBC_attr_server(TALLOC_CTX *ctx, char **pp_password) { int flags; - struct sockaddr_storage ss; struct cli_state *ipc_cli = NULL; struct rpc_pipe_client *pipe_hnd = NULL; NTSTATUS nt_status; @@ -725,10 +724,9 @@ SMBC_attr_server(TALLOC_CTX *ctx, flags |= CLI_FULL_CONNECTION_USE_CCACHE; } - zero_sockaddr(&ss); nt_status = cli_full_connection(&ipc_cli, lp_netbios_name(), server, - &ss, 0, "IPC$", "?????", + NULL, 0, "IPC$", "?????", *pp_username, *pp_workgroup, *pp_password, |