diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 2 | ||||
-rw-r--r-- | source3/utils/net_time.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 04e6e687e3..9ed4ead2f2 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -7092,7 +7092,7 @@ bool net_rpc_check(struct net_context *c, unsigned flags) return false; status = cli_connect_nb(server_name, &server_ss, 0, 0x20, - lp_netbios_name(), Undefined, &cli); + lp_netbios_name(), Undefined, 0, &cli); if (!NT_STATUS_IS_OK(status)) { return false; } diff --git a/source3/utils/net_time.c b/source3/utils/net_time.c index cc97412a8d..6fc3f96f65 100644 --- a/source3/utils/net_time.c +++ b/source3/utils/net_time.c @@ -33,7 +33,7 @@ static time_t cli_servertime(const char *host, NTSTATUS status; status = cli_connect_nb(host, dest_ss, 0, 0x20, lp_netbios_name(), - Undefined, &cli); + Undefined, 0, &cli); if (!NT_STATUS_IS_OK(status)) { fprintf(stderr, _("Can't contact server %s. Error %s\n"), host, nt_errstr(status)); |