summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-09 13:50:34 +0200
committerGünther Deschner <gd@samba.org>2010-04-09 13:57:18 +0200
commit35ef60918ba5f9a39ce8d516b65ae5fd56e1c65f (patch)
tree0f1b259452a7fe8848a559774cbc7c1f2da62561
parentfaf2d4988bd0eb9390b04b1ea76fb059d5495185 (diff)
downloadsamba-35ef60918ba5f9a39ce8d516b65ae5fd56e1c65f.tar.gz
samba-35ef60918ba5f9a39ce8d516b65ae5fd56e1c65f.tar.bz2
samba-35ef60918ba5f9a39ce8d516b65ae5fd56e1c65f.zip
s4-winreg: Fix dcesrv_winreg_CreateKey after rename.
Guenther
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c
index af671679ac..cfaee09113 100644
--- a/source4/rpc_server/winreg/rpc_winreg.c
+++ b/source4/rpc_server/winreg/rpc_winreg.c
@@ -128,7 +128,7 @@ static WERROR dcesrv_winreg_CreateKey(struct dcesrv_call_state *dce_call,
case SECURITY_SYSTEM:
case SECURITY_ADMINISTRATOR:
/* we support only non volatile keys */
- if (r->in.options != REG_KEYTYPE_NON_VOLATILE) {
+ if (r->in.options != REG_OPTION_NON_VOLATILE) {
return WERR_NOT_SUPPORTED;
}