s3:libsmb: Remove max_protocol from cli_cm_open()
[amitay/samba.git] / source3 / lib / netapi / cm.c
index 943f7498e8c8b6c641a413646ff8632db93177d4..3f4e188b39656db4874c0d3fb831a705d96243df 100644 (file)
@@ -112,7 +112,6 @@ static WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
        status = cli_cm_open(ctx, NULL,
                             server_name, "IPC$",
                             creds,
-                            lp_client_ipc_max_protocol(),
                             NULL, 0, 0x20, &cli_ipc);
        if (!NT_STATUS_IS_OK(status)) {
                cli_ipc = NULL;