summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libnet/libnet_conf.c9
-rw-r--r--source3/utils/net_conf.c4
2 files changed, 7 insertions, 6 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 9d06f8287b..69a105f8f5 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -134,9 +134,9 @@ WERROR libnet_smbconf_open_basepath(TALLOC_CTX *ctx, uint32 desired_access,
/*
* create a subkey of KEY_SMBCONF
*/
-WERROR libnet_reg_createkey_internal(TALLOC_CTX *ctx,
- const char * subkeyname,
- struct registry_key **newkey)
+WERROR libnet_smbconf_reg_createkey_internal(TALLOC_CTX *ctx,
+ const char * subkeyname,
+ struct registry_key **newkey)
{
WERROR werr = WERR_OK;
struct registry_key *create_parent = NULL;
@@ -258,7 +258,8 @@ WERROR libnet_smbconf_setparm(TALLOC_CTX *mem_ctx,
struct registry_key *key = NULL;
if (!libnet_smbconf_key_exists(mem_ctx, service)) {
- werr = libnet_reg_createkey_internal(mem_ctx, service, &key);
+ werr = libnet_smbconf_reg_createkey_internal(mem_ctx, service,
+ &key);
} else {
werr = libnet_smbconf_open_path(mem_ctx, service, REG_KEY_WRITE,
&key);
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 1ab1378910..673d373177 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -346,7 +346,7 @@ static int import_process_service(TALLOC_CTX *ctx,
goto done;
}
}
- werr = libnet_reg_createkey_internal(tmp_ctx, servicename, &key);
+ werr = libnet_smbconf_reg_createkey_internal(tmp_ctx, servicename, &key);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}
@@ -776,7 +776,7 @@ int net_conf_addshare(int argc, const char **argv)
* create the share
*/
- werr = libnet_reg_createkey_internal(NULL, argv[0], &newkey);
+ werr = libnet_smbconf_reg_createkey_internal(NULL, argv[0], &newkey);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}