From 75d3a8f6dc74601e30f667a1dbd09a4dad0ebe1c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 25 Oct 2005 09:30:48 +0000 Subject: r11285: fixed winreg.js for the recent change to winreg.idl (This used to be commit 27f46b4f18346ea03d8626a380e417b00f7a88d1) --- source4/scripting/libjs/winreg.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/scripting') 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; -- cgit