summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_share.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet/libnet_share.c')
-rw-r--r--source4/libnet/libnet_share.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_share.c b/source4/libnet/libnet_share.c
index 35980fdcbb..813407d1f4 100644
--- a/source4/libnet/libnet_share.c
+++ b/source4/libnet/libnet_share.c
@@ -130,7 +130,7 @@ NTSTATUS libnet_AddShare(struct libnet_context *ctx,
return status;
}
- s.in.level = r->in.level;
+ s.in.level = 2;
s.in.info.info2 = &r->in.share;
s.in.server_unc = talloc_asprintf(mem_ctx, "\\\\%s", r->in.server_name);