mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
Rename libnet_smbconf_reg_open_basepath() to libnet_smbconf_reg_open_basekey().
Michael (This used to be commit 9e953a94e9b3a060769938ef6af25623e446c180)
This commit is contained in:
parent
0df7bcaec3
commit
83d74c10a2
@ -93,9 +93,9 @@ done:
|
||||
/*
|
||||
* open the base key KEY_SMBCONF
|
||||
*/
|
||||
static WERROR libnet_smbconf_reg_open_basepath(TALLOC_CTX *ctx,
|
||||
uint32 desired_access,
|
||||
struct registry_key **key)
|
||||
static WERROR libnet_smbconf_reg_open_basekey(TALLOC_CTX *ctx,
|
||||
uint32 desired_access,
|
||||
struct registry_key **key)
|
||||
{
|
||||
return libnet_smbconf_reg_open_path(ctx, NULL, desired_access, key);
|
||||
}
|
||||
@ -137,8 +137,8 @@ static WERROR libnet_smbconf_reg_createkey_internal(TALLOC_CTX *ctx,
|
||||
goto done;
|
||||
}
|
||||
|
||||
werr = libnet_smbconf_reg_open_basepath(create_ctx, REG_KEY_WRITE,
|
||||
&create_parent);
|
||||
werr = libnet_smbconf_reg_open_basekey(create_ctx, REG_KEY_WRITE,
|
||||
&create_parent);
|
||||
if (!W_ERROR_IS_OK(werr)) {
|
||||
goto done;
|
||||
}
|
||||
@ -520,9 +520,9 @@ WERROR libnet_smbconf_get_share_names(TALLOC_CTX *mem_ctx, uint32_t *num_shares,
|
||||
added_count++;
|
||||
}
|
||||
|
||||
werr = libnet_smbconf_reg_open_basepath(tmp_ctx,
|
||||
SEC_RIGHTS_ENUM_SUBKEYS,
|
||||
&key);
|
||||
werr = libnet_smbconf_reg_open_basekey(tmp_ctx,
|
||||
SEC_RIGHTS_ENUM_SUBKEYS,
|
||||
&key);
|
||||
if (!W_ERROR_IS_OK(werr)) {
|
||||
goto done;
|
||||
}
|
||||
@ -615,7 +615,7 @@ WERROR libnet_smbconf_delshare(const char *servicename)
|
||||
struct registry_key *key = NULL;
|
||||
TALLOC_CTX *ctx = talloc_stackframe();
|
||||
|
||||
werr = libnet_smbconf_reg_open_basepath(ctx, REG_KEY_WRITE, &key);
|
||||
werr = libnet_smbconf_reg_open_basekey(ctx, REG_KEY_WRITE, &key);
|
||||
if (!W_ERROR_IS_OK(werr)) {
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user