summaryrefslogtreecommitdiff
path: root/source4/lib/registry
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4623: Convert values from UTF8 to UTF16 in gconf registry backend (caughtJelmer Vernooij1-3/+4
by Andrew Bartlett) (This used to be commit da3c7712d234291f9c5a3c48daae02bdf0878bf0)
2007-10-10r4591: - converted the other _p talloc functions to not need _pAndrew Tridgell1-1/+1
- added #if TALLOC_DEPRECATED around the _p functions - fixes the code that broke from the above while doing this I fixed quite a number of places that were incorrectly using the non type-safe talloc functions to use the type safe ones. Some were even doing multiplies for array allocation, which is potentially unsafe. (This used to be commit 6e7754abd0c225527fb38363996a6e241b87b37e)
2007-10-10r4549: got rid of a lot more uses of plain talloc(), instead usingAndrew Tridgell2-2/+2
talloc_size() or talloc_array_p() where appropriate. also fixed a memory leak in pvfs_copy_file() (failed to free a memory context) (This used to be commit 89b74b53546e1570b11b3702f40bee58aed8c503)
2007-10-10r4479: added the function talloc_autofree_context() which returns a talloc ↵Andrew Tridgell1-1/+1
context that will automatically be freed on program exit. This is useful for reducing clutter in leak reports (This used to be commit cf73dda652e0a121901f22771104be6751c0fcb9)
2007-10-10r4475: fixed smbd to work with the small changes in the ldb API (the most ↵Andrew Tridgell1-6/+6
important change was in the ldb_msg_add_*() routines, which now use the msg as a context, and thus it needs to be a talloc ptr) (This used to be commit 1a4713bfd0e519f3eb7b3241121ff914a6eeef18)
2007-10-10r4390: Registry value and key names are case-insensitiveJelmer Vernooij1-3/+3
Nicer menu layout in gregedit (This used to be commit 2948b9750d756880c3af7fb352f0a684a1fae9c9)
2007-10-10r4373: Support setting values and fix a segfaultJelmer Vernooij1-2/+2
(This used to be commit cdb6980cdcf4b093e98b3b025f784333d46ac957)
2007-10-10r4371: Add "Create Key", "Delete Key" and "Delete Value" buttons.Jelmer Vernooij1-4/+5
gregedit now can do the same things as regedt32 except for finding data and setting values. (and a few segfaults...) (This used to be commit ada16f31e4da919731767ce31000aa270f22ffd5)
2007-10-10r4299: Store REG_SZ, REG_EXPAND_SZ and REG_DWORD values in human-readable ↵Jelmer Vernooij2-6/+36
(and human-editable) format in the ldb registry backend. (This used to be commit 6eafd055d1a7d45734a0112228e18ee59d1f7867)
2007-10-10r4298: Update to credentials.h after feedback from Andrew BartlettJelmer Vernooij1-25/+34
Move pack/unpack of values in ldb registry backend to seperate functions (This used to be commit ceb4e92735f6dae96bb0b9d98211c9808159e56a)
2007-10-10r4213: Store REG_SZ in UTF16, not the unix charset..Jelmer Vernooij2-13/+4
It is now possible to use the "Add..." button in the Security tab of the File Properties Dialog box. (This used to be commit 9fa25260d3f18dd0dd041477c48571b53d86f3c4)
2007-10-10r4209: Fix several smaller bugsJelmer Vernooij7-67/+160
Add "predef" and "set" commands in regshell Some of the remote calls from a Windows box work now. (This used to be commit f3e05782804fe4b4942fa966f1b9650c64bc234d)
2007-10-10r4204: Arguments to reg_del_key more like the RPC for more efficient usageJelmer Vernooij7-192/+172
Fix small bug in regpatch Fix segfault in regshell cmdline completion Implement set_value and del_value in ldb backend (This used to be commit 8e2aa58abeafa78afe7dafb9723f5f365e756527)
2007-10-10r4167: Fix CreateKeyJelmer Vernooij1-1/+26
Support CreateKey in the RPC registry backend (This used to be commit ad8d9e6f73619332d93c38a1879233e199e8ba25)
2007-10-10r4166: More small API fixes, keep registry structs as small as possible.Jelmer Vernooij7-39/+8
Implement DelValue in the RPC server (This used to be commit f6b9ec89af934e837069fb26c0e3491fc78ebc12)
2007-10-10r4155: More destinction between hives and predefined keysJelmer Vernooij7-70/+67
(This used to be commit c37d6f3c581673d74e7ec6a644ab6a7d13a55535)
2007-10-10r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXTJelmer Vernooij3-12/+12
Hives and predefined keys (HKEY_*) are not necessarily the same thing. (This used to be commit 217e4e5841cfedb2b18dce3f89dd88ea4a36fe8f)
2007-10-10r4141: Fix crash bug in ldb backendJelmer Vernooij2-9/+9
(This used to be commit 5f64a60374486b9fc3d75786c3035a9017dd4d33)
2007-10-10r4140: Get rid of close_hive (replace it with talloc destructors).Jelmer Vernooij2-19/+25
(This used to be commit bcbfce7b0119538bab06801c97aa9c7d4bf3a6c6)
2007-10-10r4137: Make *_open_key take a registry_key instead of a hive (more efficientJelmer Vernooij5-34/+41
in some cases) (This used to be commit ddf7a331c58976f2c0b4a00390118f1acf60e3eb)
2007-10-10r4135: improve a debug messageAndrew Tridgell1-1/+1
(This used to be commit 4b45d3d2e86122dbe5bd258fc96ad674aba0d417)
2007-10-10r4133: Cache results of subkey and value queriesJelmer Vernooij1-26/+58
(This used to be commit 1e12971137f50077e04a0432572275baf4fde35e)
2007-10-10r4132: - Bunch of rather large fixes in the registryJelmer Vernooij15-307/+416
- Added some README files Not everything works yet, e.g. the EnumValue test appears to be broken. (This used to be commit c169e86c1f52763b83e77e509f89cb91f9b69071)
2007-10-10r4116: fixed compilation of EnumValue code in winreg rpc backendAndrew Tridgell1-17/+13
thanks to volker for pointing this out (This used to be commit 2b67f18bdb58164697efd428391d4cbc46398464)
2007-10-10r4106: Add full name of two more hivesJelmer Vernooij1-0/+4
(This used to be commit c1023db5e8336e495c06acae1773a28d7fc90658)
2007-10-10r4064: use the same name for type on both endsStefan Metzmacher1-1/+1
for long term we should remove all typedef's metze (This used to be commit 4b3f552cb373a0d91526412fc31699959c96a007)
2007-10-10r4058: added a type safe version of smb_xmalloc()Andrew Tridgell1-4/+4
(This used to be commit 1235afa5fe3a396cd7a180cbc500834a30fbaa80)
2007-10-10r4055: fixed more places to use type safe allocation macrosAndrew Tridgell3-12/+12
(This used to be commit eec698254f67365f27b4b7569fa982e22472aca1)
2007-10-10r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 ↵Andrew Tridgell3-3/+3
in my compile (This used to be commit 0928b1f5b68c858922c3ea6c27ed03b5091c6221)
2007-10-10r4035: more effort on consistent naming of the access mask bits.Andrew Tridgell1-1/+1
This removes the duplicate named SEC_RIGHTS_MAXIMUM_ALLOWED and SEC_RIGHTS_FULL_CONTROL, which are just other names for SEC_FLAG_MAXIMUM_ALLOWED and SEC_RIGHTS_FILE_ALL. The latter names match the new naming conventions in security.idl Also added names for the generic->specific mappings for files are directories (This used to be commit 17a4e0b3aca227b40957ed1e0c57e498debc6ddf)
2007-10-10r3881: Split up the LIBNDR_GEN subsystem into NDR_* and RPC_NDR_* subsystems.Jelmer Vernooij1-2/+1
This reduces the total size of the samba binaries from 119 Mb to 73 Mb. Next step will be to have the build system obtain some of this information by itself, so that we don't have to write ~10 lines per interface manually. (This used to be commit 16d905f6b0cbec591eebc44ee2ac9516a5730378)
2007-10-10r3783: - don't use make proto for ldb anymoreStefan Metzmacher1-0/+1
- split ldh.h out of samba's includes.h - make ldb_context and ldb_module private to the subsystem - use ltdb_ prefix for all ldb_tdb functions metze (This used to be commit f5ee40d6ce8224e280070975efc9911558fe675c)
2007-10-10r3737: - Get rid of the register_subsystem() and register_backend() functions.Jelmer Vernooij8-22/+6
- 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-10r3734: Fix some incorrect dependenciesJelmer Vernooij1-1/+1
(This used to be commit 3add9e7de52496b135a230cccfd2d99a8b77ddd0)
2007-10-10r3733: More build system fixes/features:Jelmer Vernooij2-16/+6
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure - Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities) (This used to be commit 64826da834e26ee0488674e27a0eae36491ee179)
2007-10-10r3730: More build system fixes and simplificationsJelmer Vernooij1-2/+1
the hierarchy in the init functions is correct now will also make it easier to implement some other features (This used to be commit cbe819a75568403ac8850ea4d344c607a46d61c2)
2007-10-10r3586: Fix some of the issues with the module init functions.Jelmer Vernooij6-12/+16
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-10r3546: including includes.h twice causes gcc 3.4 to crash with pchAndrew Tridgell1-2/+0
(This used to be commit 51c1c2af687ed351d12e6d933659d94f5925728c)
2007-10-10r3543: fixed some #include lines to make them more consistent, and fixedAndrew Tridgell1-1/+1
conditional compilation of xattr client code (This used to be commit 321fb06a627f4deae649ab014bc881721d37b3dd)
2007-10-10r3494: got rid of include/rewrite.h, and split out the dynconfig.h headerAndrew Tridgell4-0/+4
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)
2007-10-10r3472: fixed build of reg_backend_gconfAndrew Tridgell1-0/+1
(This used to be commit d8a4af5282a1a3002def250f4857469ffb84d183)
2007-10-10r3464: split out registry.h, rap.h and ldap_server.hAndrew Tridgell11-0/+11
(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-10r3453: - split out the auth and popt includesAndrew Tridgell4-0/+4
- tidied up some of the system includes - moved a few more structures back from misc.idl to netlogon.idl and samr.idl now that pidl knows about inter-IDL dependencies (This used to be commit 7b7477ac42d96faac1b0ff361525d2c63cedfc64)
2007-10-10r3447: more include/system/XXX.h include filesAndrew Tridgell4-0/+4
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
2007-10-10r3428: switched to using minimal includes for the auto-generated RPC code.Andrew Tridgell1-0/+1
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10r3374: Couple of bug fixesJelmer Vernooij1-1/+1
(This used to be commit f8e45e143087d333da4afc193b4fa1991ba04c63)
2007-10-10r3370: Initial work on Add Key/Delete Key/Add Value/Mod Value/Del Value ↵Jelmer Vernooij1-4/+4
support in gregedit (This used to be commit 33f429c61f2859e3ad60fa38823174bbd331d91a)
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 Vernooij6-13/+24
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)