summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-01-14 14:33:46 -0800
committerJeremy Allison <jra@samba.org>2009-01-14 14:33:46 -0800
commit592ee76341de2936b1171ddb391a65a84836c95d (patch)
treef7bcb3feb2e31db477aa7cdd39821345c75cb73b
parent2c0a802cf823df9bac879b1e7d591f50ee7d51fa (diff)
downloadsamba-592ee76341de2936b1171ddb391a65a84836c95d.tar.gz
samba-592ee76341de2936b1171ddb391a65a84836c95d.tar.xz
samba-592ee76341de2936b1171ddb391a65a84836c95d.zip
Fix build of netapi.
Jeremy.
-rw-r--r--source3/lib/netapi/cm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index a5c85bfe6b1..dcbf9a04575 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -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);