summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index cbc93d9784..1cfdccfd1d 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -111,7 +111,7 @@ static WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
server_name, "IPC$",
auth_info,
false, false,
- PROTOCOL_NT1,
+ lp_cli_maxprotocol(),
0, 0x20, &cli_ipc);
if (NT_STATUS_IS_OK(status)) {
cli_set_username(cli_ipc, ctx->username);