summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-10-25 09:30:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:13 -0500
commit75d3a8f6dc74601e30f667a1dbd09a4dad0ebe1c (patch)
treef1eeb9ddf13395e3901913e5a46b72707d308c1a /source4
parentb0044d19502fbed933fe04ef5230e3dae5997c55 (diff)
downloadsamba-75d3a8f6dc74601e30f667a1dbd09a4dad0ebe1c.tar.gz
samba-75d3a8f6dc74601e30f667a1dbd09a4dad0ebe1c.tar.bz2
samba-75d3a8f6dc74601e30f667a1dbd09a4dad0ebe1c.zip
r11285: fixed winreg.js for the recent change to winreg.idl
(This used to be commit 27f46b4f18346ea03d8626a380e417b00f7a88d1)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/libjs/winreg.js4
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;