summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-07 20:35:51 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-08 10:21:50 +0200
commit3e227d8544a020d1aea24c38c9ca45a75d14c3f1 (patch)
tree607d31b7e117519742db8c5ebfd90a67a21781d3 /source3/utils
parentcdca1e0ac3c185856fbe2d061a30bfa8e71e4e1c (diff)
downloadsamba-3e227d8544a020d1aea24c38c9ca45a75d14c3f1.tar.gz
samba-3e227d8544a020d1aea24c38c9ca45a75d14c3f1.tar.bz2
samba-3e227d8544a020d1aea24c38c9ca45a75d14c3f1.zip
s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb()
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
-rw-r--r--source3/utils/net_time.c2
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));