summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_registry.c
AgeCommit message (Collapse)AuthorFilesLines
2008-09-23s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.Günther Deschner1-1/+1
Guenther
2008-07-21Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-9/+9
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-2/+2
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Make "net rpc registry" use functable3Kai Blin1-36/+102
(This used to be commit 08dd5f5311d97544d5cb3067f019260a9161ef81)
2008-05-20net: Use true/false instead of True/False.Kai Blin1-4/+4
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-15net rpc registry: fix getvalueraw to really print raw...Michael Adam1-1/+1
Michael (This used to be commit db933ae1a9877b3485506fc8f0ecae2f2bd8a41f)
2008-05-15net rpc registry: add a getvalueraw subcommand.Michael Adam1-3/+32
Michael (This used to be commit 5b5b29302b53c31256dfa2fdefead458cb14c560)
2008-05-15net rpc registry: abstract add boolean "raw" to rpc_registry_getvalue_internal()Michael Adam1-1/+16
and wrap it into new rpc_registry_getvalue_full() for the getvalue subcommand. Michael (This used to be commit 9ee5ddb96360987675963d629f98051bf34e3031)
2008-05-15net rpc registry: fix usage message of getvalue.Michael Adam1-1/+1
Michael (This used to be commit 5dedde7a5b01d47947a8ff49a57e729fe5bfc817)
2008-05-15net_registry: add raw output of value to print_registry_value().Michael Adam1-1/+1
Michael (This used to be commit 340a706422cbca45cc63fa94d36c88f6751f4f31)
2008-05-10net: more whitespace cleanupKai Blin1-33/+33
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
2008-05-10net: Remove globalsKai Blin1-28/+41
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-05-10net: Fix usage string.Kai Blin1-1/+1
(This used to be commit e3470e9a1b19c239d6fa576f8c8c1a5a5c3b5d3c)
2008-04-09net rpc registry: add getvalue command.Michael Adam1-0/+100
This is the same as already implemented for "net registry". usage: net rpc registry getvalue <key> <valuename> Michael (This used to be commit ba59383437aed9058a58bdeedcf61a0076a94924)
2008-04-09net (registry util): refactor printing of value without name out.Michael Adam1-1/+1
This renames print_registry_value() to print_registry_value_with_name(). The new function is called print_registry_value(). Michael (This used to be commit 88c4851ad7240bc4f72a5ef92e21629e6a4c99c6)
2008-04-04net_rpc_registry: return available error code on failure in deletevalue.Michael Adam1-1/+1
Michael (This used to be commit 0dc9840cefb08b2732d294eb45508ce687ded324)
2008-04-04net_rpc_registry: consistently return error upon wrong use.Michael Adam1-5/+5
Michael (This used to be commit 26e3d71cd0b2d1bb31c50627ea71267328d52448)
2008-04-04net: change split_hive_key() to properly allocate subkeynameMichael Adam1-1/+1
instead of returning a pointer into another string. Michael (This used to be commit 68d08ecf92be3444b759300237b2b7cf5238d022)
2008-04-04net_rpc_registry: use split_hive_key to normalize hive befor open.Michael Adam1-28/+39
THis allows to specify keys in the form "HKLM/Software/samba", i.e. "/" instead of "\\". Michael (This used to be commit 61d09caef340d2fee303e429f6f25d011cb3023c)
2008-04-04net_rpc_registry: use utility function print_registry_value().Michael Adam1-30/+1
Michael (This used to be commit 3d039b518f04b9dd3c87b9af2ec816e049554e27)
2008-04-04net_rpc_registy: use function print_registry_keyMichael Adam1-5/+2
Michael (This used to be commit cc1da3ee2c369181efa6d150c966571d0aff0728)
2007-12-04Allow STR_TERMINATE and -1 src_len for pull_ucs2_base_talloc().Jeremy Allison1-14/+33
Jeremy. (This used to be commit 063358d87ac9a1d948c8d4b6358e926dd14bb3ac)
2007-12-03Fix winreg callers.Günther Deschner1-28/+29
Guenther (This used to be commit 677d9e6d86997a1ae10266e9bab3b18c3fdd2890)
2007-11-09ndr: change NTSTAUS into enum ndr_err_code (samba3 callers)Stefan Metzmacher1-3/+6
lib/messages_local.c rpc_client/ndr.c smbd/notify_internal.c utils/net_rpc_registry.c metze (This used to be commit c2645d2164c05976a98bafed980b6029baf89977)
2007-11-05Make sure we can read SACLs from the registry.Günther Deschner1-1/+5
Guenther (This used to be commit 62d4cce4562b77403f9353d333b9553352bdf1d8)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-3/+3
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25592: Allow to set sec_info for registry security descriptor queries.Günther Deschner1-8/+16
Guenther (This used to be commit 09e10d1d2936fd8c841de2a3323a1d0a1f6bd815)
2007-10-10r25526: Fix usage output.Günther Deschner1-5/+5
Guenther (This used to be commit 31a0bf7b8cae3322a379dc147be6493441c2f13d)
2007-10-10r25525: Add "net rpc registry getsd <keyname>" to display security descriptors.Günther Deschner1-0/+83
Guenther (This used to be commit 550ae11ad1243c4c2af68345349c96d38a5e1ef8)
2007-10-10r25314: Add HKEY_CURRENT_USER to reg_hive_key().Günther Deschner1-0/+3
Guenther (This used to be commit 693b3c26c0643028e861b78068c2bcda0add1105)
2007-10-10r24637: In order for "net rpc registry" to be able to write toMichael Adam1-4/+7
Samba's own registry, the access mask for opening the registry for the write operations needs to be SEC_RIGHTS_MAXIMUM_ALLOWED instead of REG_WRITE: we can not open e.g. HKLM read write explicitly, since we can not write to this virtual part of the registry, only to the subkeys like 'HKLM\Software\Samba\smbconf' that are stored on disk. Note that MAXIMUM_ALLOWED is also what windows' regedit passed to the open calls. Michael (This used to be commit 57c30f7319b35fa452e8a6c585810e55c7e934b2)
2007-10-10r24057: Fix some uninitialized variables found by the IBM checkerVolker Lendecke1-0/+11
(This used to be commit d74bbc53c2cf41e7e92309e81bb9c1b3f805cdd1)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22747: Fix some C++ warningsVolker Lendecke1-1/+1
(This used to be commit a66a04e9f11f6c4462f2b56b447bae4eca7b177c)
2007-10-10r21462: Fix EnumValue (?)Jelmer Vernooij1-1/+2
(This used to be commit e73a418b5b0100936efb4c1133da3cfe3fcb61cd)
2007-10-10r20832: Remove extra pointers previously added to unique [out] pointers. ↵Jelmer Vernooij1-30/+15
Instead, add [ref] pointers where necessary (top-level [ref] pointers, by spec, don't appear on the wire). This brings us closer to the DCE/RPC standard again. (This used to be commit 580f2a7197b1bc9db14a643fdd112b40ef37aaef)
2007-10-10r20498: Two 64-bit warningsVolker Lendecke1-1/+1
(This used to be commit 382827ebac61646ec31fe1d56ccde2ea337e8f9e)
2007-10-10r20003: Fix error messageVolker Lendecke1-1/+1
(This used to be commit de053583510999658b2969b244b43ae85fb87737)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke1-11/+14
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10r19914: The "default" value with the name "" need different 0-length ↵Volker Lendecke1-1/+1
treatment as the other StringBufs, otherwise clicking on a key with this value being set leads to regedit.exe on w2k3 chew all memory. (This used to be commit b148cde7f39859102288a87b6f0bd2b250947a85)
2007-10-10r19827: Move registry_push/pull_value to lib/util_reg.cVolker Lendecke1-115/+0
(This used to be commit 3047a4b92c7d5391a8f162f26ccc92ce30c35cee)
2007-10-10r19825: To create a key, smbd also needs read privs assignedVolker Lendecke1-1/+2
(This used to be commit b2866b1318f2fa521ff93ec5ed58413b9145385a)
2007-10-10r19822: Implement net rpc registry createkey, deletekey and deletevalueVolker Lendecke1-0/+168
(This used to be commit 419ebc92f02c9a927295ec7c54844bd5666e3f17)
2007-10-10r19821: Make net_rpc_registry use net_run_function2.Volker Lendecke1-24/+14
Fix an erroneous NT_STATUS_NO_MEMORY found by Chetan S <cshring@gmail.com>. Thanks :-) Volker (This used to be commit 30f02e73fd85faa89186511edab4d5396d5efb6a)
2007-10-10r19818: Remove reg_split_hive, make use of registry_openkeyVolker Lendecke1-55/+19
(This used to be commit 7fd1578a905d3c974cb88cc93452d43a03038d30)
2007-10-10r19817: Implement net rpc registry setvalue (only dword and sz so far)Volker Lendecke1-0/+191
(This used to be commit 9ecb69c075060d199133520ac6a7627a5faba7f3)
2007-10-10r19812: dump_regval_buf is not needed anymoreVolker Lendecke1-49/+0
(This used to be commit f24e64160dc7d7b7434cbed15677c105fa7b60de)
2007-10-10r19811: Decode REG_MULTI_SZ and REG_BINARYVolker Lendecke1-1/+25
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
2007-10-10r19807: First attempt at wrapping something sane around the registry API. ↵Volker Lendecke1-135/+345
Will be extended. Volker (This used to be commit 40922eb924a8e21f28720f2651f087eefc3e3aed)