summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_conf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index f212ed7b19..9a4f3ff69a 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -217,6 +217,10 @@ static int import_process_service(TALLOC_CTX *ctx,
goto done;
}
}
+ werr = libnet_conf_create_share(conf_ctx, servicename);
+ if (!W_ERROR_IS_OK(werr)) {
+ goto done;
+ }
}
while ((parm = lp_next_parameter(share->service, &pnum, 0)))