summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf/smbconf_reg.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-04-21 15:19:50 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-04-21 15:19:50 +0200
commit9b33766fbb13fc2ab82e209607db37f5888ddc2b (patch)
treec767a5ad36db87beb2d4076845f9bd48d22a8cd6 /source3/lib/smbconf/smbconf_reg.c
parent47ec66bda3e4264f93f142a3903052c4bc6dbec8 (diff)
parent2eff2de2f81374483df99757046f1d5ee4050155 (diff)
downloadsamba-9b33766fbb13fc2ab82e209607db37f5888ddc2b.tar.gz
samba-9b33766fbb13fc2ab82e209607db37f5888ddc2b.tar.bz2
samba-9b33766fbb13fc2ab82e209607db37f5888ddc2b.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Diffstat (limited to 'source3/lib/smbconf/smbconf_reg.c')
-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;