summaryrefslogtreecommitdiff
path: root/source3/registry/reg_api.c
AgeCommit message (Collapse)AuthorFilesLines
2007-11-06When deleting a key from the registry make sure the non-defaultGünther Deschner1-4/+7
security descriptor gets deleted as well. Guenther (This used to be commit d140d68537225b6a6a99be3d9b09354e3f6ad8c9)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-1/+1
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-10r25417: Use DBGC_REGISTRY class.Günther Deschner1-0/+3
Guenther (This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38)
2007-10-10r25370: Allow to delete registry keys recursively without deleting the final ↵Günther Deschner1-10/+31
key. Guenther (This used to be commit e9922cd8aeb70aebb162ad598fda76ad69226b94)
2007-10-10r24418: Adding reg_deleteallvalues().Günther Deschner1-0/+24
Guenther (This used to be commit f7457c6173107f1730ae2e31c5377df3dbd2454e)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
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-10r23584: Use a while loop instead of a for loop without increment... :-)Michael Adam1-9/+2
Michael (This used to be commit fb4ade3b4d203eead7798b8d98938cff2abb9c29)
2007-10-10r23583: Add a utility function to recursively delete a RegistryMichael Adam1-0/+56
key with all its subkeys. (reg_deletekey will refuse to delete a key with subkeys with WERR_ACCESS_DENIED). Michael (This used to be commit 41c3ff6e277601a9c7ac29009fd89ff9c961ca46)
2007-10-10r23581: Move regkey_open_onelevel from reg_frontend to reg_api,Michael Adam1-2/+110
where it actually belongs, and make it static. Michael (This used to be commit aa702e53a7416b5599ed114089327aef8a4e35b8)
2007-10-10r23578: When calling DeleteKey for a key that has subkey(s), WindowsMichael Adam1-4/+17
returns WERR_ACCESS_DENIED. This adapts reg_deletekey to behave the same way. Michael (This used to be commit 0c9cb69b45e8c51b8c3fa0b0d034a6cad2374055)
2007-10-10r22496: reg_enumvalue should return WERR_NO_MORE_ITEMS instead ofMichael Adam1-1/+1
WERR_BAD_FILE when all items have been successfully enumerated. Besides seeming the reasonable code to return, this is what I have seen from w2k3, w2k, wxp. (This used to be commit e09e0d642d98165257c7c43ca2634a430772dcee)
2007-10-10r22135: Check in most of Michael Adam's net conf utility. A good share of ↵Volker Lendecke1-0/+60
this patch is moving functions around to fix some linker dependencies for the registry. Michael, I've renamed your auth_utils2.c to token_utils.c. Thanks! Volker (This used to be commit 9de16f25c1c3e0b203da47391772ef2e2fe291ac)
2007-10-10r20037: Reduce code size slightly by shuffling stuff aroundVolker Lendecke1-54/+40
(This used to be commit 0742faaacd496f9cc4581a1fad74217024383661)
2007-10-10r20018: Fix a memleak in reg_createkeyVolker Lendecke1-2/+4
(This used to be commit 281640823bfe25f513f44f6c6d7022a11b957fa5)
2007-10-10r20004: Remove a const, "name" is allocated anywayVolker Lendecke1-2/+1
(This used to be commit dc0300ec70ff67aaec9b0bab6a1dd4d0e6fde5ac)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke1-0/+511
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)