summaryrefslogtreecommitdiff
path: root/source4/lib/registry
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r851: convert lib/registry/ to a config.mk fileStefan Metzmacher2-17/+147
metze (This used to be commit b5567601464a649374e0ef280661292322b3334c)
2007-10-10r834: Fix gconf and dir backendsJelmer Vernooij3-14/+40
(This used to be commit fe5166ee88d401cdd493644af4876e803f546aef)
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 Vernooij2-24/+39
(This used to be commit 9228aeeafd956a2885b5f1dfaa6feacb555b7483)
2007-10-10r830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.Jelmer Vernooij1-5/+2
(This used to be commit ad88561becf59cd38a3e329e68cbe5518a3373d7)
2007-10-10r829: Implement 'hive' commandJelmer Vernooij2-1/+20
(This used to be commit 2a87981bd0a79f0d685441d690e2f810d6ed86d0)
2007-10-10r828: Some fixes in the core and regshell concerning hives andJelmer Vernooij6-17/+33
unicode (This used to be commit 25c27b176c9905f3968e955f33a6db41b0102a38)
2007-10-10r825: - Introduce support for multiple roots (or 'hives')Jelmer Vernooij12-168/+213
- Clean up rpc backend (possible now that multiple hives are supported) (This used to be commit 8cd1b6bc70510fe576135a66351e9e3ea895c9ff)
2007-10-10r819: Fix seg fault in rpc backend, found by Andrew BartlettJelmer Vernooij1-1/+1
(This used to be commit d4cc4b3d682eb828208a621fe6b795f3e77c746a)
2007-10-10r734: Fix crash bugJelmer Vernooij1-3/+8
(This used to be commit 178cd902fc7069e3d613c46fc4845101a0229655)
2007-10-10r700: fix SMB_LIBRARY() to disable the lib by defaultStefan Metzmacher1-1/+1
metze (This used to be commit b6ac3021f275ba6b0ee0035933c290db4e8bda00)
2007-10-10r693: Make staticJelmer Vernooij1-2/+2
(This used to be commit 30d3915c760ac5ee5e632539a3503fc7fed9cc63)
2007-10-10r692: Add libwinregistryJelmer Vernooij1-0/+5
(This used to be commit 0ace3bf289777c30310a05e66fd674337413f0d8)
2007-10-10r686: - Add SMB_EXT_LIB_FROM_PKGCONFIG()Jelmer Vernooij1-9/+16
- Build gregedit and registry_gconf again if the required libs are found (gconf and gtk) (This used to be commit a63b704c36f2f5b52e932b6b2c99e7d664c9bdc7)
2007-10-10r681: don't init r.out.result.vStefan Metzmacher1-1/+0
metze (This used to be commit f7ded36699dabecf31ccaf765d667b7240822f8d)
2007-10-10r673: disable registry_gconf for nowStefan Metzmacher1-1/+2
metze (This used to be commit 5bbf0c240730fc27b7341eb7c6891c7741640e74)
2007-10-10r672: disable gregedit for nowStefan Metzmacher1-1/+2
metze (This used to be commit 63600a2a9b2607130efe8e4336a48b5e9584d929)