summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_reg.h4
-rw-r--r--source3/include/rpc_secdes.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index 270ba32f4b..f89571484c 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -179,7 +179,7 @@ typedef struct {
/***********************************************/
typedef struct {
- POLICY_HND pol;
+ POLICY_HND handle;
UNISTR4 name;
uint32 type;
RPC_DATA_BLOB value;
@@ -228,7 +228,7 @@ typedef struct {
} REG_Q_CREATE_KEY;
typedef struct {
- POLICY_HND key_pol;
+ POLICY_HND handle;
uint32 unknown;
WERROR status;
} REG_R_CREATE_KEY;
diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h
index a14caf36c1..b2b97e391e 100644
--- a/source3/include/rpc_secdes.h
+++ b/source3/include/rpc_secdes.h
@@ -547,7 +547,7 @@ typedef struct standard_mapping {
#define REG_KEY_EXECUTE REG_KEY_READ
#define REG_KEY_WRITE \
- ( STANDARD_RIGHTS_READ_ACCESS |\
+ ( STANDARD_RIGHTS_WRITE_ACCESS |\
SEC_RIGHTS_SET_VALUE |\
SEC_RIGHTS_CREATE_SUBKEY )