git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aed01fd
)
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
source/utils/net_conf.c
patch
|
blob
|
history
diff --git
a/source/utils/net_conf.c
b/source/utils/net_conf.c
index f212ed7b198b41c3a09299d16cfc622beb42d0c4..9a4f3ff69afdf6a056a0a8ca53a1e2323fc415fa 100644
(file)
--- a/
source/utils/net_conf.c
+++ b/
source/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)))