summaryrefslogtreecommitdiff
path: root/source4/lib/registry
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r3367: More registry updates.Jelmer Vernooij3-3/+44
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 Vernooij3-7/+50
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 Vernooij3-3/+9
in the server. (This used to be commit da65a248c292a90342e1394ee4132ef2c7afd3c8)
2007-10-10r3323: more warning reductionsAndrew Tridgell4-42/+13
(This used to be commit 5921587ec26e4892efc678421277e4969417d7f5)
2007-10-10r3164: Look up ncalrpc identifiers using the EPMAPPER. ncalrpc now works ↵Jelmer Vernooij1-1/+6
nicely :-) The various interface that support ncalrpc work nicely when tested with smbtorture and ncalrpc. Running RPC-SAMR against local smbd here is slightly faster using ncalrpc: ncalrpc: 1.8 sec ncacn_ip_tcp: 1.9 sec ncacn_np: 2.5 sec (This used to be commit 2cfc8f24ce209f47153d3a5bd7007dd1b0578b26)
2007-10-10r2914: ... and support enumerating values (data is not handled yet, only the ↵Jelmer Vernooij1-30/+11
names) (This used to be commit b3bc055ac73ff239c2b267717ee91669ecdd4c9b)
2007-10-10r2913: - Don't print hive name if it is NULL (regtree)Jelmer Vernooij3-12/+9
- Initialise hive name (reg_interface) - Fix LDB backend (enumerating keys works now!) (This used to be commit 5086d6b2494f236ef67096b2dd4da4f7402a65c5)
2007-10-10r2911: Fix bug in opening relative keysJelmer Vernooij1-8/+12
(This used to be commit e7c256a92cc6cbe1cd6cc11a8fb37feba272d01c)
2007-10-10r2898: - Support enumerating remote registry valuesJelmer Vernooij2-76/+67
- Some LDB updates (This used to be commit 4b5bf739f5a8f39ff3633d738f6de42681a6b30f)
2007-10-10r2897: Fix double registration (of the registry subsystem) bugJelmer Vernooij1-16/+24
(This used to be commit f4860afc486da9fcd43798c81181d01eb0120a59)
2007-10-10r2857: this commit gets rid of smb_ucs2_t, wpstring and fpstring, plus lots ↵Andrew Tridgell1-4/+4
of associated functions. The motivation for this change was to avoid having to convert to/from ucs2 strings for so many operations. Doing that was slow, used many static buffers, and was also incorrect as it didn't cope properly with unicode codepoints above 65536 (which could not be represented correctly as smb_ucs2_t chars) The two core functions that allowed this change are next_codepoint() and push_codepoint(). These functions allow you to correctly walk a arbitrary multi-byte string a character at a time without converting the whole string to ucs2. While doing this cleanup I also fixed several ucs2 string handling bugs. See the commit for details. The following code (which counts the number of occuraces of 'c' in a string) shows how to use the new interface: size_t count_chars(const char *s, char c) { size_t count = 0; while (*s) { size_t size; codepoint_t c2 = next_codepoint(s, &size); if (c2 == c) count++; s += size; } return count; } (This used to be commit 814881f0e50019196b3aa9fbe4aeadbb98172040)
2007-10-10r2686: remove unused gtk+ checkStefan Metzmacher1-2/+0
metze (This used to be commit d1e8b340a9942553ec7f281affd11ea4315ac448)
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 Tridgell2-2/+2
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 Vernooij16-1254/+795
- 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 Vernooij2-1/+125
in the current key) (This used to be commit 83f9f8eaa4825bb49e2b160a1a810080ecae4d39)
2007-10-10r2254: Fix a couple of compiler warnings...Jelmer Vernooij4-16/+7
(This used to be commit 8056f4a9a7f5065eeb3a3bec81977c5e4163bf8e)
2007-10-10r1990: Fix breakage caused by the recent talloc changes. (Failure to processAndrew Bartlett1-2/+2
an SPNEGO login from WinXP at least). talloc_asprintf_append() lost an argument, but because TALLOC_CTX is now a void*, this was not picked up by the compiler. I've tested the login (asn1), but not the registry/gtk changes. Andrew Bartlett (This used to be commit 4294be44057124568fe1d176702056bb62ad3214)
2007-10-10r1983: a completely new implementation of tallocAndrew Tridgell4-5/+5
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-10r1894: Convert // to /* */Volker Lendecke2-2/+2
(This used to be commit 5dc793b2b4b5c54df4aa3b0c98c248bdd671bbb1)
2007-10-10r1432: - Move the various Gtk-specific parts from the registry code into a ↵Jelmer Vernooij3-801/+0
directory gtk/ - Move common "Samba-Gtk" code into gtk/common/ ("Connect to RPC pipe"-dialog, etc) - Add a new utility 'gwcrontab' that can currently list, delete and add 'atsvc' jobs. It still displays times and dates as integers though, will fix that later. Some screenshots available at: http://samba.org/~jelmer/gwcrontab/ (This used to be commit d321cf20f1f0ff33603b013c26d370669f255868)
2007-10-10r1147: Support enumerating valuesJelmer Vernooij1-4/+44
(This used to be commit 3af8419fa4053a3b2887e91b4bda5c93327efad4)
2007-10-10r1119: Saner keyboard shortcutsJelmer Vernooij1-4/+4
(This used to be commit 971941acc7e75da89b1bdc612fd476a7f6124dcb)
2007-10-10r1118: Read-only enumeration of keys in the LDB backend works now :-)Jelmer Vernooij2-36/+95
(This used to be commit 456f97eed05047b20acceb50708b47209c37ca20)
2007-10-10r1040: make sure main() doesn't get auto-prototypedAndrew Tridgell1-1/+1
(This used to be commit 7c2279e4bc631d88e402ac82c6c17fb811785394)
2007-10-10r1035: Support shared modules againJelmer Vernooij1-12/+12
(This used to be commit 7949dc25ab05f7d5ad6217a6304e1f50b8b5dc41)
2007-10-10r1032: Fix RPC backend segfaultJelmer Vernooij1-2/+1
(This used to be commit db902bff3c5eb54d6b1035d009948ff316cffa94)
2007-10-10r960: convert 'unsigned int' to uint_t in the most placesStefan Metzmacher2-15/+15
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
2007-10-10r959: - a static WERROR function should return a WERROR:-)Stefan Metzmacher1-3/+4
- some minor format fixes metze (This used to be commit 72d9c70fdd21101744f6fad230c75b6a13105696)
2007-10-10r955: Update debian package rules... builds nowJelmer Vernooij4-5/+16
(This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher3-11/+11
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 Metzmacher7-8/+8
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-2/+1
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10r857: fix the build of gregedit (typo:-)Stefan Metzmacher1-1/+1
metze (This used to be commit 44de741038ccdbca1e3c950670748e99483a7417)