diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-13 14:33:31 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-15 10:25:17 +0200 |
commit | 3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82 (patch) | |
tree | a0ea277fecceb874d1a77b459ccb0a833945b8d9 /source3/utils | |
parent | 4f7be46d99b68040c3b42f3a4662fccd777012a3 (diff) | |
download | samba-3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82.tar.gz samba-3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82.tar.bz2 samba-3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82.zip |
s3:libsmb: pass max_protocol to cli_negprot()
metze
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 9ed4ead2f2..fe41e77148 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -7096,7 +7096,7 @@ bool net_rpc_check(struct net_context *c, unsigned flags) if (!NT_STATUS_IS_OK(status)) { return false; } - status = cli_negprot(cli); + status = cli_negprot(cli, PROTOCOL_NT1); if (!NT_STATUS_IS_OK(status)) goto done; if (cli_state_protocol(cli) < PROTOCOL_NT1) diff --git a/source3/utils/net_time.c b/source3/utils/net_time.c index c8d08085ae..88520c4818 100644 --- a/source3/utils/net_time.c +++ b/source3/utils/net_time.c @@ -40,7 +40,7 @@ static time_t cli_servertime(const char *host, goto done; } - status = cli_negprot(cli); + status = cli_negprot(cli, PROTOCOL_NT1); if (!NT_STATUS_IS_OK(status)) { fprintf(stderr, _("Protocol negotiation failed: %s\n"), nt_errstr(status)); |