diff options
author | Günther Deschner <gd@samba.org> | 2010-03-11 20:20:48 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-11 20:23:47 +0100 |
commit | e0d85f87b7a6a3c887bc0a7f93b26380369e269c (patch) | |
tree | 5192a92cf2f0f24d8bd85d6ce05333697566057e /source4/torture/rpc | |
parent | 96a38e387e9655b14504c0c3d181db95cc84cc3d (diff) | |
download | samba-e0d85f87b7a6a3c887bc0a7f93b26380369e269c.tar.gz samba-e0d85f87b7a6a3c887bc0a7f93b26380369e269c.tar.bz2 samba-e0d85f87b7a6a3c887bc0a7f93b26380369e269c.zip |
winreg: add winreg_KeyType enum.
Guenther
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/samba3rpc.c | 4 | ||||
-rw-r--r-- | source4/torture/rpc/spoolss.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/winreg.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 9e7b18b4d7..56b48ad8e6 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -3097,7 +3097,7 @@ static NTSTATUS enumkeys(struct dcerpc_pipe *p, struct policy_handle *handle, o.in.parent_handle = handle; o.in.keyname.name = r.out.name->name; - o.in.unknown = 0; + o.in.options = 0; o.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED; o.out.handle = &key_handle; @@ -3453,7 +3453,7 @@ static NTSTATUS torture_samba3_setconfig(struct smbcli_state *cli, status = NT_STATUS_NO_MEMORY; goto done; } - o.in.unknown = 0; + o.in.options = 0; o.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED; o.out.handle = &key_handle; diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index d5dfee9e75..5b2bc86825 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -3311,7 +3311,7 @@ static bool test_winreg_OpenKey(struct torture_context *tctx, r.in.parent_handle = hive_handle; init_winreg_String(&r.in.keyname, keyname); - r.in.unknown = 0x00000000; + r.in.options = REG_KEYTYPE_NON_VOLATILE; r.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED; r.out.handle = key_handle; diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 486826c8c9..aab5dc3b69 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -365,7 +365,7 @@ static bool _test_OpenKey(struct dcerpc_pipe *p, struct torture_context *tctx, ZERO_STRUCT(r); r.in.parent_handle = hive_handle; init_winreg_String(&r.in.keyname, keyname); - r.in.unknown = 0x00000000; + r.in.options = REG_KEYTYPE_NON_VOLATILE; r.in.access_mask = access_mask; r.out.handle = key_handle; |