summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_conf.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 13:33:10 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 14:17:48 +0100
commite598b93d2faf568c6ac03b0ca32dcf22fa0e1352 (patch)
tree1e936dce6963376bbb2c7ab21554d8abe824cf0b /source3/libnet/libnet_conf.c
parent46123918506112d02db42e19407057dd943b8720 (diff)
downloadsamba-e598b93d2faf568c6ac03b0ca32dcf22fa0e1352.tar.gz
samba-e598b93d2faf568c6ac03b0ca32dcf22fa0e1352.tar.bz2
samba-e598b93d2faf568c6ac03b0ca32dcf22fa0e1352.zip
Rename libnet_smbconf_reg_open_path() to libnet_conf_reg_open_path().
Michael (This used to be commit 9868364e2c7827ac7914bee711a65d4456a5e366)
Diffstat (limited to 'source3/libnet/libnet_conf.c')
-rw-r--r--source3/libnet/libnet_conf.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 68726fa5d9..86b2d8b605 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -57,10 +57,10 @@ static WERROR libnet_conf_add_string_to_array(TALLOC_CTX *mem_ctx,
/**
* Open a registry key specified by "path"
*/
-static WERROR libnet_smbconf_reg_open_path(TALLOC_CTX *mem_ctx,
- const char *path,
- uint32 desired_access,
- struct registry_key **key)
+static WERROR libnet_conf_reg_open_path(TALLOC_CTX *mem_ctx,
+ const char *path,
+ uint32 desired_access,
+ struct registry_key **key)
{
WERROR werr = WERR_OK;
NT_USER_TOKEN *token;
@@ -117,7 +117,7 @@ static WERROR libnet_smbconf_reg_open_service_key(TALLOC_CTX *ctx,
path = talloc_asprintf(ctx, "%s\\%s", KEY_SMBCONF, servicename);
- werr = libnet_smbconf_reg_open_path(ctx, path, desired_access, key);
+ werr = libnet_conf_reg_open_path(ctx, path, desired_access, key);
done:
TALLOC_FREE(path);
@@ -131,8 +131,7 @@ static WERROR libnet_smbconf_reg_open_basekey(TALLOC_CTX *ctx,
uint32 desired_access,
struct registry_key **key)
{
- return libnet_smbconf_reg_open_path(ctx, KEY_SMBCONF, desired_access,
- key);
+ return libnet_conf_reg_open_path(ctx, KEY_SMBCONF, desired_access, key);
}
static bool libnet_smbconf_value_exists(struct registry_key *key,
@@ -408,8 +407,8 @@ WERROR libnet_smbconf_drop(void)
}
p = strrchr(path, '\\');
*p = '\0';
- werr = libnet_smbconf_reg_open_path(mem_ctx, path, REG_KEY_WRITE,
- &parent_key);
+ werr = libnet_conf_reg_open_path(mem_ctx, path, REG_KEY_WRITE,
+ &parent_key);
if (!W_ERROR_IS_OK(werr)) {
goto done;