summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 930d7b3508..be1447f182 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -207,7 +207,7 @@ static int import_process_service(TALLOC_CTX *ctx,
if (opt_testmode) {
d_printf("[%s]\n", servicename);
} else {
- if (libnet_smbconf_share_exists(servicename)) {
+ if (libnet_conf_share_exists(servicename)) {
werr = libnet_smbconf_delshare(servicename);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -596,7 +596,7 @@ static int net_conf_addshare(int argc, const char **argv)
goto done;
}
- if (libnet_smbconf_share_exists(sharename)) {
+ if (libnet_conf_share_exists(sharename)) {
d_fprintf(stderr, "ERROR: share %s already exists.\n",
sharename);
goto done;