mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Add explicit creation of shares to net conf import function.
It has been removed from libnet_conf_set_parameter().
Michael
(This used to be commit b5c533b06c
)
This commit is contained in:
parent
3910dd2e1b
commit
a6bf13ce97
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user