diff options
author | Luke Leighton <lkcl@samba.org> | 1998-11-10 22:03:34 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-11-10 22:03:34 +0000 |
commit | c098e44df44e3c6ace3ce00d28140329821e8f3d (patch) | |
tree | a003f886e8434a6cfcf6f4c2f970530f661c8a5c /source3/rpcclient | |
parent | 10844fa9803a9c60d88a11df0983d84e87caf5c3 (diff) | |
download | samba-c098e44df44e3c6ace3ce00d28140329821e8f3d.tar.gz samba-c098e44df44e3c6ace3ce00d28140329821e8f3d.tar.bz2 samba-c098e44df44e3c6ace3ce00d28140329821e8f3d.zip |
registry modification requires a "sync" or "refresh" on the parent key.
opcode 0xb added to do this. a likely candidate name is "RegFlushKey".
(This used to be commit 5e9567e3c7d4ee8624a448fcccfcd8003913dbbf)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_reg.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_reg.c b/source3/rpcclient/cmd_reg.c index 6430db2627..7c640a9a52 100644 --- a/source3/rpcclient/cmd_reg.c +++ b/source3/rpcclient/cmd_reg.c @@ -489,6 +489,9 @@ void cmd_reg_create_val(struct client_info *info) res4 = res3 ? do_reg_create_val(smb_cli, &parent_pol, val_name, val_type, &value) : False; + /* some sort of "sync" or "refresh" on the parent key? */ + res4 = res4 ? do_reg_unk_b(smb_cli, &parent_pol) : False; + /* close the val handle */ res3 = res3 ? do_reg_close(smb_cli, &parent_pol) : False; @@ -571,6 +574,9 @@ void cmd_reg_create_key(struct client_info *info) res4 = res3 ? do_reg_create_key(smb_cli, &parent_pol, key_name, key_class, &sam_access, &key_pol) : False; + /* some sort of "sync" or "refresh" on the parent key? */ + res4 = res4 ? do_reg_unk_b(smb_cli, &parent_pol) : False; + /* close the key handle */ res4 = res4 ? do_reg_close(smb_cli, &key_pol) : False; |