Rename libnet_smbconf_share_exists() to libnet_conf_share_exists().
[ira/wip.git] / source3 / utils / net_conf.c
index 930d7b350811656385740b31abef10e15e20fb14..be1447f182ec1cb19e26d551f67d4dd788deb376 100644 (file)
@@ -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;