git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3910dd2
)
Add explicit creation of shares to net conf import function.
author
Michael Adam
<obnox@samba.org>
Sun, 13 Jan 2008 22:30:08 +0000
(23:30 +0100)
committer
Michael Adam
<obnox@samba.org>
Sun, 13 Jan 2008 22:30:08 +0000
(23:30 +0100)
It has been removed from libnet_conf_set_parameter().
Michael
(This used to be commit
b5c533b06cba9a8ffd28a1fb3bc56ab248340775
)
source3/utils/net_conf.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_conf.c
b/source3/utils/net_conf.c
index f212ed7b198b41c3a09299d16cfc622beb42d0c4..9a4f3ff69afdf6a056a0a8ca53a1e2323fc415fa 100644
(file)
--- 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)))