Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
TALLOC_CTX *frame = talloc_stackframe();
const char **const_argv = discard_const_p(const char *, argv);
struct program_options options = {0};
- struct cli_state *cli;
+ struct cli_state *cli = NULL;
const char *service_name = SERVICE_NAME;
char *service_filename = NULL;
#ifdef HAVE_WINEXE_CC_WIN32
status = cli_full_connection_creds(
&cli,
- NULL,
+ lp_netbios_name(),
options.hostname,
NULL,
options.port,
"IPC$",
- "?????",
+ "IPC",
options.credentials,
CLI_FULL_CONNECTION_IPC);