Fix build of netapi.
authorJeremy Allison <jra@samba.org>
Wed, 14 Jan 2009 22:33:46 +0000 (14:33 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 14 Jan 2009 22:33:46 +0000 (14:33 -0800)
Jeremy.

source3/lib/netapi/cm.c

index a5c85bfe6b1a7579365f55415a56ad2a0b77dcda..dcbf9a0457541aab4eed4f41060f8c95025d0337 100644 (file)
@@ -56,7 +56,8 @@ static WERROR libnetapi_open_ipc_connection(struct libnetapi_ctx *ctx,
 
        cli_ipc = cli_cm_open(ctx, NULL,
                              server_name, "IPC$",
-                             false, false);
+                             false, false,
+                             PROTOCOL_NT1);
        if (!cli_ipc) {
                libnetapi_set_error_string(ctx,
                        "Failed to connect to IPC$ share on %s", server_name);