diff options
-rw-r--r-- | source4/scripting/libjs/winreg.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/libjs/winreg.js b/source4/scripting/libjs/winreg.js index adcefcae85..63435ac22b 100644 --- a/source4/scripting/libjs/winreg.js +++ b/source4/scripting/libjs/winreg.js @@ -24,7 +24,7 @@ function __winreg_open_hive(hive) { var io = irpcObj(); io.input.system_name = NULL; - io.input.access_required = this.SEC_FLAG_MAXIMUM_ALLOWED; + io.input.access_mask = this.SEC_FLAG_MAXIMUM_ALLOWED; var status; if (hive == "HKLM") { status = this.winreg_OpenHKLM(io); @@ -248,7 +248,7 @@ function __winreg_create_key(path, key) io.input.name = key; io.input.class = NULL; io.input.options = 0; - io.input.access_required = this.SEC_FLAG_MAXIMUM_ALLOWED; + io.input.access_mask = this.SEC_FLAG_MAXIMUM_ALLOWED; io.input.secdesc = NULL; io.input.action_taken = 0; |