summaryrefslogtreecommitdiff
path: root/source4/lib/registry/common
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4055: fixed more places to use type safe allocation macrosAndrew Tridgell1-2/+2
(This used to be commit eec698254f67365f27b4b7569fa982e22472aca1)
2007-10-10r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 ↵Andrew Tridgell1-1/+1
in my compile (This used to be commit 0928b1f5b68c858922c3ea6c27ed03b5091c6221)
2007-10-10r3737: - Get rid of the register_subsystem() and register_backend() functions.Jelmer Vernooij1-15/+0
- Re-disable tdbtool (it was building fine on my Debian box but other machines were having problems) (This used to be commit 0d7bb2c40b7a9ed59df3f8944133ea562697e814)
2007-10-10r3586: Fix some of the issues with the module init functions.Jelmer Vernooij1-12/+5
Both subsystems and modules can now have init functions, which can be specified in .mk files (INIT_FUNCTION = ...) The build system will define : - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on This removes the hack with the "static bool Initialised = " and the "lazy_init" functions (This used to be commit 7a8244761bfdfdfb48f8264d76951ebdfbf7bd8a)
2007-10-10r3464: split out registry.h, rap.h and ldap_server.hAndrew Tridgell2-0/+2
(This used to be commit 70d2090f6bf2c7e0caf1e9c020f330de88871f8e)
2007-10-10r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ↵Andrew Tridgell1-0/+1
ioctl.h) (This used to be commit b97e395c814762024336c1cf4d7c25be8da5813a)
2007-10-10r3374: Couple of bug fixesJelmer Vernooij1-1/+1
(This used to be commit f8e45e143087d333da4afc193b4fa1991ba04c63)
2007-10-10r3369: More registry updatesJelmer Vernooij1-3/+73
We now pass the RPC-WINREG torture test. Also, constructions like the following work now: regtree <-> smbd <-> NTUSER.DAT (This used to be commit df952e95cd1cbbfb62b4620e9452993aaef44ad3)
2007-10-10r3368: Default to rpc backend with binding "ncalrpc:" if no backend was ↵Jelmer Vernooij1-4/+8
specified in the various registry tools. Allow opening a remote registry to partly fail (I.e. if not all hives could be opened) (This used to be commit 313034b10d7a70d079e2bec1af38cf2a7cd918c1)
2007-10-10r3367: More registry updates.Jelmer Vernooij1-3/+30
Add support flush_key and close_hive. (This used to be commit c526273df238c994c4de3c1704c6e95433f2331c)
2007-10-10r3348: More registry fixes and additions. The following functions work right ↵Jelmer Vernooij1-0/+1
now against samba 4, at least with a ldb backend: winreg_Open* winreg_OpenKey winreg_EnumKey winreg_DeleteKey winreg_CreateKey (This used to be commit a71d51dd3b136a1bcde1704fe9830985e06bb01b)
2007-10-10r3340: Various fixes in the registry code. Implement the EnumKey callJelmer Vernooij1-1/+4
in the server. (This used to be commit da65a248c292a90342e1394ee4132ef2c7afd3c8)
2007-10-10r2913: - Don't print hive name if it is NULL (regtree)Jelmer Vernooij1-0/+1
- Initialise hive name (reg_interface) - Fix LDB backend (enumerating keys works now!) (This used to be commit 5086d6b2494f236ef67096b2dd4da4f7402a65c5)
2007-10-10r2897: Fix double registration (of the registry subsystem) bugJelmer Vernooij1-16/+24
(This used to be commit f4860afc486da9fcd43798c81181d01eb0120a59)
2007-10-10r2672: don't call a variable "dup" as that conflicts with a standard system ↵Andrew Tridgell1-3/+3
call name (This used to be commit 015db2ed8cdde6d6eb79857cb9b6d72185382acc)
2007-10-10r2671: we're getting too many errors caused by the talloc_realloc() API notAndrew Tridgell1-1/+1
taking a context (so when you pass a NULL pointer you end up with memory in a top level context). Fixed it by changing the API to take a context. The context is only used if the pointer you are reallocing is NULL. (This used to be commit 8dc23821c9f54b2f13049b5e608a0cafb81aa540)
2007-10-10r2623: don't do pointer arithmetic on void*, as it doesn't work with non-GNU ↵Andrew Tridgell1-1/+1
compilers (This used to be commit c2be7b696ccb338df06a5212ed1f7b78e4c116c2)
2007-10-10r2518: Some long overdue changes:Jelmer Vernooij4-668/+244
- Samba4-style code in lib/registry (struct registry_key instead of REG_KEY, etc) - Use hives (like Windows has drives) instead of one root key (like a Unix FS) - usability fixes in the GTK utilities (autodetect the username, enable/disable options, etc) - fix gwsam compile - several bugfixes in the registry rpc code - do charset conversion in nt4 registry backend (This used to be commit 2762ed3b9bf1d67dd54d63e02cddbfd71ea89892)
2007-10-10r2257: Tab completion support in regshell (complete command names and key namesJelmer Vernooij1-0/+10
in the current key) (This used to be commit 83f9f8eaa4825bb49e2b160a1a810080ecae4d39)
2007-10-10r2254: Fix a couple of compiler warnings...Jelmer Vernooij2-5/+4
(This used to be commit 8056f4a9a7f5065eeb3a3bec81977c5e4163bf8e)
2007-10-10r1983: a completely new implementation of tallocAndrew Tridgell1-1/+1
This version does the following: 1) talloc_free(), talloc_realloc() and talloc_steal() lose their (redundent) first arguments 2) you can use _any_ talloc pointer as a talloc context to allocate more memory. This allows you to create complex data structures where the top level structure is the logical parent of the next level down, and those are the parents of the level below that. Then destroy either the lot with a single talloc_free() or destroy any sub-part with a talloc_free() of that part 3) you can name any pointer. Use talloc_named() which is just like talloc() but takes the printf style name argument as well as the parent context and the size. The whole thing ends up being a very simple piece of code, although some of the pointer walking gets hairy. So far, I'm just using the new talloc() like the old one. The next step is to actually take advantage of the new interface properly. Expect some new commits soon that simplify some common coding styles in samba4 by using the new talloc(). (This used to be commit e35bb094c52e550b3105dd1638d8d90de71d854f)
2007-10-10r1118: Read-only enumeration of keys in the LDB backend works now :-)Jelmer Vernooij1-7/+18
(This used to be commit 456f97eed05047b20acceb50708b47209c37ca20)
2007-10-10r955: Update debian package rules... builds nowJelmer Vernooij1-2/+6
(This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher1-1/+1
metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2007-10-10r893: a few more _t conversionsAndrew Tridgell1-1/+1
(This used to be commit 66eb46dbb1486c5916194bf6b303cf16373a272a)
2007-10-10r890: convert samba4 to use [u]int8_t instead of [u]int8Stefan Metzmacher1-1/+1
metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher4-4/+4
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r833: Compile errorJelmer Vernooij1-1/+2
(This used to be commit e4f6ca85223b86beac237398ea5474f4f56404a2)
2007-10-10r832: Only show menu items for backends if they're presentJelmer Vernooij1-12/+19
(This used to be commit 9228aeeafd956a2885b5f1dfaa6feacb555b7483)
2007-10-10r829: Implement 'hive' commandJelmer Vernooij1-0/+5
(This used to be commit 2a87981bd0a79f0d685441d690e2f810d6ed86d0)
2007-10-10r828: Some fixes in the core and regshell concerning hives andJelmer Vernooij3-9/+9
unicode (This used to be commit 25c27b176c9905f3968e955f33a6db41b0102a38)
2007-10-10r825: - Introduce support for multiple roots (or 'hives')Jelmer Vernooij3-18/+75
- Clean up rpc backend (possible now that multiple hives are supported) (This used to be commit 8cd1b6bc70510fe576135a66351e9e3ea895c9ff)
2007-10-10r665: merge over the new build system from my tmp branchStefan Metzmacher1-1/+1
to the main SAMBA_4_0 tree. NOTE: that it's not completely ready, but it's functional:-) metze (This used to be commit c78a2ddb28ec50d6570a83b1f66f18a5c3621731)
2007-10-10r425: add some comments to ugly code partsStefan Metzmacher1-1/+1
we should take care of 'char *' and 'const char *' and DO NOT mix them! Jelmer: please fix this metze (This used to be commit cd609eb2fe9303825d5562047d57fd553b2601bd)
2007-10-10r187: RPC registry backend fixesJelmer Vernooij2-4/+10
(This used to be commit f832d6776cb10f5c7d7ed83e6f66e4d28a461916)
2007-10-10r183: More bugfixesJelmer Vernooij1-23/+17
(This used to be commit 88911bbcca574adbf6ea4f0759a68f2961b05d6b)
2007-10-10r182: Fix a couple of segfaultsJelmer Vernooij2-2/+5
(This used to be commit db5d7062e69b456a89b17525e5a0177f93c90c83)
2007-10-10r181: Parsing windows '95 registry files now works (including values)Jelmer Vernooij1-3/+5
(This used to be commit 4d6ce648567060b9922343971d7aafd545341439)
2007-10-10r169: Fix gregeditJelmer Vernooij1-25/+2
(This used to be commit 32036375de58327a673a5a85cedb01e8ddfa503a)
2007-10-10r168: - Cleanups in rpc backendJelmer Vernooij2-7/+46
- Small fixess in nt4 and dir backends - Start on w95 file backend (This used to be commit aa739e8d3c7108f6f2089af2d8d522feacc7f698)
2007-10-10r166: Fix enumerating values in nt4 backendJelmer Vernooij2-0/+2
(This used to be commit 1a7de762c60177b6e250f81cdeb3466fce148bff)
2007-10-10r128: Another registry update. Changes:Jelmer Vernooij3-187/+258
- Start with the LDB backend - The API is now more windows-like, which should make it easier to use in rpc_server - Added a GTK+ front-end - Added some more IDL More updates will follow, especially in the RPC field.. (This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560)
2007-10-10r36: - Start using memory pools in the registry libraryJelmer Vernooij5-107/+71
- Remove obsolete file (This used to be commit d85b8fb3b74b236fb03cf0931a0f585eec74536a)
2007-10-10r31: More registry updates. regdiff/regpatch work now.Jelmer Vernooij2-5/+62
(This used to be commit 98224f5436695eb265f5d997cf4bc9cf735a4fb9)
2007-10-10r20: Add the registry library. Still needs a lot of work,Jelmer Vernooij5-0/+970
see source/lib/registry/TODO for details. (This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)