diff options
-rw-r--r-- | source3/utils/smbcacls.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index 208f4e0c64..4a7c6a6f13 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -1132,12 +1132,9 @@ static struct cli_state *connect_one(struct user_auth_info *auth_info, const char *server, const char *share) { struct cli_state *c = NULL; - struct sockaddr_storage ss; NTSTATUS nt_status; uint32_t flags = 0; - zero_sockaddr(&ss); - if (get_cmdline_auth_info_use_kerberos(auth_info)) { flags |= CLI_FULL_CONNECTION_USE_KERBEROS | CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS; @@ -1151,7 +1148,7 @@ static struct cli_state *connect_one(struct user_auth_info *auth_info, set_cmdline_auth_info_getpass(auth_info); nt_status = cli_full_connection(&c, lp_netbios_name(), server, - &ss, 0, + NULL, 0, share, "?????", get_cmdline_auth_info_username(auth_info), lp_workgroup(), |