s3:lib/netapi: Use lp_client_ipc_max_protocol() in libnetapi_open_ipc_connection()
authorStefan Metzmacher <metze@samba.org>
Fri, 9 Dec 2016 08:48:06 +0000 (09:48 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 19 Dec 2016 08:48:24 +0000 (09:48 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/lib/netapi/cm.c

index 264942215cb0c0e0f986c2e59688a650cc911d56..57e44ac778dee8caa72db0d100054fbdce1ba4a2 100644 (file)
@@ -111,7 +111,7 @@ static WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
                             server_name, "IPC$",
                             auth_info,
                             false, false,
-                            lp_client_max_protocol(),
+                            lp_client_ipc_max_protocol(),
                             0, 0x20, &cli_ipc);
        if (!NT_STATUS_IS_OK(status)) {
                cli_ipc = NULL;