summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-15 01:30:12 +0200
committerGünther Deschner <gd@samba.org>2009-04-21 12:42:51 +0200
commit38264bb3b86a3c9da941070f29ec08227c471d2b (patch)
tree2114d951d07ddeed4dce904eb9c9c9e3557242d5 /source3/lib/smbconf
parentda92e54236293460e307edd52ca7f1e20c6f23ef (diff)
downloadsamba-38264bb3b86a3c9da941070f29ec08227c471d2b.tar.gz
samba-38264bb3b86a3c9da941070f29ec08227c471d2b.tar.bz2
samba-38264bb3b86a3c9da941070f29ec08227c471d2b.zip
s3-secdesc: move all winreg access bits to IDL.
Guenther
Diffstat (limited to 'source3/lib/smbconf')
-rw-r--r--source3/lib/smbconf/smbconf_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c
index 0ecac97575..54ce5348a7 100644
--- a/source3/lib/smbconf/smbconf_reg.c
+++ b/source3/lib/smbconf/smbconf_reg.c
@@ -567,7 +567,7 @@ static WERROR smbconf_reg_init(struct smbconf_ctx *ctx, const char *path)
}
werr = reg_open_path(ctx, ctx->path,
- SEC_RIGHTS_ENUM_SUBKEYS | REG_KEY_WRITE,
+ KEY_ENUMERATE_SUB_KEYS | REG_KEY_WRITE,
token, &rpd(ctx)->base_key);
if (!W_ERROR_IS_OK(werr)) {
goto done;