diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-12-15 00:16:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:27 -0500 |
commit | d8c3428b3bb10075cec3b37adbca54db634d3b00 (patch) | |
tree | 3d75a8bab1f735e29c1e8dfae06dd2be9c970a8e /source4/lib/registry/reg_backend_nt4.c | |
parent | 707d1808982fa3788156999016904475eef26ffe (diff) | |
download | samba-d8c3428b3bb10075cec3b37adbca54db634d3b00.tar.gz samba-d8c3428b3bb10075cec3b37adbca54db634d3b00.tar.bz2 samba-d8c3428b3bb10075cec3b37adbca54db634d3b00.zip |
r4209: Fix several smaller bugs
Add "predef" and "set" commands in regshell
Some of the remote calls from a Windows box work now.
(This used to be commit f3e05782804fe4b4942fa966f1b9650c64bc234d)
Diffstat (limited to 'source4/lib/registry/reg_backend_nt4.c')
-rw-r--r-- | source4/lib/registry/reg_backend_nt4.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/lib/registry/reg_backend_nt4.c b/source4/lib/registry/reg_backend_nt4.c index 117d8d1b81..5633156b20 100644 --- a/source4/lib/registry/reg_backend_nt4.c +++ b/source4/lib/registry/reg_backend_nt4.c @@ -64,7 +64,8 @@ marked with ???? the rest of the first 4kb page is not important... the "hbin"-Block ================ -I don't know what "hbin" stands for, but this block is always a multiple +hbin probably means hive-bin (what bin stands for I don't know) +This block is always a multiple of 4kb in size. Inside these hbin-blocks the different records are placed. The memory- @@ -419,7 +420,7 @@ typedef struct key_sec_desc_s { int state; int offset; SK_HDR *sk_hdr; /* This means we must keep the registry in memory */ - SEC_DESC *sec_desc; + struct security_descriptor *sec_desc; } KEY_SEC_DESC; /* A map of sk offsets in the regf to KEY_SEC_DESCs for quick lookup etc */ @@ -481,7 +482,7 @@ typedef struct regf_struct_s { int sk_count, sk_map_size; SK_MAP *sk_map; const char *owner_sid_str; - SEC_DESC *def_sec_desc; + struct security_descriptor *def_sec_desc; /* * These next pointers point to the blocks used to contain the * keys when we are preparing to write them to a file |