diff options
author | Michael Adam <obnox@samba.org> | 2008-01-13 23:30:08 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-13 23:30:08 +0100 |
commit | a6bf13ce971a87c1291082a4bc90fdca6d2b8c2b (patch) | |
tree | cbd01c73ba2a4ac3b1d89bed5f90d7f5a5889137 | |
parent | 3910dd2e1b069a58ef68c6848495afc0df8fa2ae (diff) | |
download | samba-a6bf13ce971a87c1291082a4bc90fdca6d2b8c2b.tar.gz samba-a6bf13ce971a87c1291082a4bc90fdca6d2b8c2b.tar.bz2 samba-a6bf13ce971a87c1291082a4bc90fdca6d2b8c2b.zip |
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 b5c533b06cba9a8ffd28a1fb3bc56ab248340775)
-rw-r--r-- | source3/utils/net_conf.c | 4 |
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))) |