summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-16 20:45:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:18 -0500
commit17eb05228ee93c9790a0bacbfb0e5e282aa180d2 (patch)
tree94b39bd39618a73f0f08fbfeccfbeb040491c496 /source3/include
parent2fbb43ad82c16ae83da39ff61f665697564c3482 (diff)
downloadsamba-17eb05228ee93c9790a0bacbfb0e5e282aa180d2.tar.gz
samba-17eb05228ee93c9790a0bacbfb0e5e282aa180d2.tar.bz2
samba-17eb05228ee93c9790a0bacbfb0e5e282aa180d2.zip
r7648: adding REGISTRY_HOOK->reg_access_check() for authprization checks on RegOpenKey(); passing it off to the backend code for a given path
(This used to be commit 867fd3052bbfdd45856886999619e2ebc6552675)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_reg.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index 83b44ce7c9..c83802b3f5 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -92,10 +92,11 @@
typedef struct {
/* functions for enumerating subkeys and values */
- int (*subkey_fn)( char *key, REGSUBKEY_CTR *subkeys);
- int (*value_fn) ( char *key, REGVAL_CTR *val );
- BOOL (*store_subkeys_fn)( char *key, REGSUBKEY_CTR *subkeys );
- BOOL (*store_values_fn)( char *key, REGVAL_CTR *val );
+ int (*fetch_subkeys)( char *key, REGSUBKEY_CTR *subkeys);
+ int (*fetch_values) ( char *key, REGVAL_CTR *val );
+ BOOL (*store_subkeys)( char *key, REGSUBKEY_CTR *subkeys );
+ BOOL (*store_values)( char *key, REGVAL_CTR *val );
+ BOOL (*reg_access_check)( uint32 parent_granted, uint32 requested, uint32 *granted );
} REGISTRY_OPS;
typedef struct {
@@ -282,12 +283,12 @@ typedef struct {
/***********************************************/
typedef struct {
- POLICY_HND pol; /* policy handle */
+ POLICY_HND pol;
} REG_Q_GETVERSION;
typedef struct {
- uint32 unknown; /* 0x0500 0000 */
- WERROR status; /* return status */
+ uint32 win_version;
+ WERROR status;
} REG_R_GETVERSION;