summaryrefslogtreecommitdiff
path: root/source4/lib/registry
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11567: Ldb API change patch.Simo Sorce1-11/+25
This patch changes the way lsb_search is called and the meaning of the returned integer. The last argument of ldb_search is changed from struct ldb_message to struct ldb_result which contains a pointer to a struct ldb_message list and a count of the number of messages. The return is not the count of messages anymore but instead it is an ldb error value. I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good amount of places. I also tried to double check all my changes being sure that the calling functions would still behave as before. But this patch is big enough that I fear some bug may have been introduced anyway even if it passes the test suite. So if you are currently working on any file being touched please give it a deep look and blame me for any error. Simo. (This used to be commit 22c8c97e6fb466b41859e090e959d7f1134be780)
2007-10-10r11526: And another warning...Volker Lendecke1-1/+1
(This used to be commit 16467008c64d84f29bec0ea45767bb1050726b34)
2007-10-10r11476: finally fixed the intermittent registry server bug! This has beenAndrew Tridgell1-1/+0
cropping up occasionally for ages. The problem was the generic reg code setting up a backend_data value, which it has no business doing (backend_data is for backends ...) (This used to be commit 9d6d03fd1d360e15883bb1b8917ccedcc0d97a5d)
2007-10-10r11472: use talloc_get_type() to try to catch an intermittent failure I'm ↵Andrew Tridgell1-26/+30
seeing in the ldb winreg backend (This used to be commit a56a3696cc6a5186f736e503704c288589e5a833)
2007-10-10r11382: Require number of required M4 macrosJelmer Vernooij1-3/+3
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM Add some more PUBLIC_HEADERS (This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
2007-10-10r11304: Add support back in for loading shared modules (not used yet)Jelmer Vernooij1-10/+0
(This used to be commit 90f49b6f70c4aaf0e4ab4fad2e6f9caeb0f6f3a6)
2007-10-10r11303: Support defining and installing public headers for libraries.Jelmer Vernooij3-12/+1
Support installing libraries. Get rid of pkg-config file (will be autogenerated later on). (This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10r11300: Treat libraries as a special kind of subsystemJelmer Vernooij1-13/+4
(one that can also be built as a library and installed). (This used to be commit 98d1f9b1dc523ed88c5aa8d066030b33d74f62bf)
2007-10-10r11261: Rename access_required field in winreg idl to access_mask so it matchesTim Potter1-2/+2
the other interfaces. (This used to be commit 8eb582b5780188b6304c560b3e84fd7d75c483f8)
2007-10-10r11249: More OpenBSD make fixes...Jelmer Vernooij1-2/+2
(This used to be commit 118e3bc507b2694f7e5ea191950626931d8ebf29)
2007-10-10r11246: Another fix for OpenBSD's makeJelmer Vernooij1-2/+2
(This used to be commit f04072f7a9fe341efced4aff57cc061cf789d5bd)
2007-10-10r11244: Relative path names in .mk filesJelmer Vernooij1-19/+19
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10r11214: Remove scons files (see ↵Jelmer Vernooij1-20/+0
http://lists.samba.org/archive/samba-technical/2005-October/043443.html) (This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
2007-10-10r10913: This patch isn't as big as it looks ...Andrew Tridgell1-6/+6
most of the changes are fixes to make all the ldb code compile without warnings on gcc4. Unfortunately That required a lot of casts :-( I have also added the start of an 'operational' module, which will replace the timestamp module, plus add support for some other operational attributes In ldb_msg_*() I added some new utility functions to make the operational module sane, and remove the 'ldb' argument from the ldb_msg_add_*() functions. That argument was only needed back in the early days of ldb when we didn't use the hierarchical talloc and thus needed a place to get the allocation function from. Now its just a pain to pass around everywhere. Also added a ldb_debug_set() function that calls ldb_debug() plus sets the result using ldb_set_errstring(). That saves on some awkward coding in a few places. (This used to be commit f6818daecca95760c12f79fd307770cbe3346f57)
2007-10-10r10605: Forgot one file...Jelmer Vernooij1-0/+416
(This used to be commit 441419a08f0845af2b4c8023e1e5bcfda24a6d62)
2007-10-10r10604: Put in the new registry "patchfile" code (similar to ldifJelmer Vernooij7-874/+72
for LDB); not finished yet. (This used to be commit b405b27ba4bf4ddbaff9ca58926d94d1b2fd09f6)
2007-10-10r10588: Remove more unused files, macrosJelmer Vernooij1-4/+13
(This used to be commit d2f80c0457f7404b2cac9df59a400130e9ad025f)
2007-10-10r10586: Add MergedObject() builder. Default to Library() ratherJelmer Vernooij1-8/+8
then StaticLibrary() (This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10r10456: More SCons fixes:Jelmer Vernooij1-0/+8
- Add framework for fallback generating code - Move pread / pwrite replacement functions to libreplace - Support pidl builds correctly - Support asn1 builds correctly - Move OS-specific checks to lib/replace/SConscript (This used to be commit fbbfad0a1f7dedbf48e835a864f8285f283d72f3)
2007-10-10r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of ↵Jelmer Vernooij1-2/+7
works now (This used to be commit 22f18a84242e5e68a2d57b6d7ff77c089ee7434a)
2007-10-10r10348: Add scons scripts for remaining subsystems. Most subsystems build now,Jelmer Vernooij1-1/+1
but final linking still fails (as does generating files asn1, et, idl and proto files) (This used to be commit 4f0d7f75b99c7f4388d8acb0838577d86baf68b5)
2007-10-10r10328: Add more emacs python-mode markers.Tim Potter1-0/+2
(This used to be commit 540a3649e88690e829c17d79ecdccdc9ed464845)
2007-10-10r10323: Add first bits required for getting compile with scons working. This ↵Jelmer Vernooij1-0/+5
does not work yet and can exist parallel with the existing build system. (This used to be commit 829568d75985e875e3363d76fb44270a0298c7f8)
2007-10-10r10294: Generate Makefile directly rather then thru Makefile.in. AutoconfJelmer Vernooij1-1/+1
substitution variables are now no longer used. This is one more step towards a (hopefully) perl-based configure (This used to be commit 6f9956a1dd870c0669c288b0fe72b7b1c8773dd0)
2007-10-10r10207: Add some constJelmer Vernooij8-77/+75
(This used to be commit b1ad340b4720e922ae1e332c2a74986b1656358b)
2007-10-10r10111: Make pidl by default assume the input file is an IDL file ratherJelmer Vernooij1-1/+1
then a .pidl file. (This used to be commit d8a31d3048a6421a3d49d3c121bc86d748838b3a)
2007-10-10r10104: Fix code before declaration.Tim Potter1-1/+1
(This used to be commit 05c020181560afd4e6957be29795536e2d83d71e)
2007-10-10r10089: Fix a typo breaking the Makefile generator and therefore - the build.Rafal Szczesniak1-1/+1
rafal (This used to be commit d6936185d5e4a85b188d5117d7a3b3d6bea2f96b)
2007-10-10r10074: Pass CPP to pidl via environment variables rather then config.pm. ↵Jelmer Vernooij1-1/+1
This fixes the standalone pidl build (as used for ethereal) (This used to be commit 9c9ebd2214423c58357854f09bd744e13e807d8f)
2007-10-10r10052: Add 'print' commandJelmer Vernooij1-0/+22
(This used to be commit d99c9e2817fbbe2a0a34910672c8473889bc6176)
2007-10-10r10043: Only recompile subsystems that actually need recompilationJelmer Vernooij1-0/+1
(This used to be commit de9830979788528754175b17fe45477e6ce9ce9e)
2007-10-10r10030: Add hierarchical memory allocation to TDR's pull functionsJelmer Vernooij2-35/+27
(This used to be commit 0e358de93a007db921ad5e9a892114122254de39)
2007-10-10r10028: More registry fixes.Jelmer Vernooij2-41/+115
Remove save_hive() function (there is a flush_key function already). Fixes for the allocation mechanism in the REGF backend (This used to be commit 499d03bc90382bcd33c8c3a1577a58d2c76e5129)
2007-10-10r10026: Move registry header file to lib/registryJelmer Vernooij8-8/+186
Add support for showing security descriptor in regshell Add support for saving files in NT4 registry backend (This used to be commit 47cecd4726e6568f1aafb404646d2664f630a9bb)
2007-10-10r10025: Add some utility functions for storing/loading tdr encoded dataJelmer Vernooij1-92/+79
(This used to be commit bcd433bfc1450317b75e22942dee1c42bb24ae79)
2007-10-10r10020: Support for malloc / realloc / free in HBIN blocksJelmer Vernooij3-25/+333
Initial support for adding keys (still broken though) (This used to be commit ff8d3a27c1b9bb37de39e7d7b974702b2b8c4437)
2007-10-10r10016: Support reading security descriptors on keys.Jelmer Vernooij4-3/+66
(This used to be commit b349e902c7b0140cd94e241ba9f81c83fa54f603)
2007-10-10r10015: Change the NT4 registry backend to use the IDL-generate parse functions.Jelmer Vernooij3-1629/+257
(This used to be commit 0ad46ef804c0654e927f9c14ea93c45f9e3c718c)
2007-10-10r10007: Merge data_blk and data_len member of registry_value into a DATA_BLOB.Jelmer Vernooij11-83/+75
Fix handling of REG_DWORD in the LDB backend. Fix a couple of warnings (This used to be commit 709fdc7ebf5a77cfb50359fad978884777decc3b)
2007-10-10r9995: Add file describing the REGF file format in IDL.Jelmer Vernooij1-0/+154
(used in reg_backend_nt4.c rewrite) (This used to be commit 5e1a16eda28d432b94dc933b44da3ca556f92fdf)
2007-10-10r9567: fixed the winreg IDL for CreateKey, including a securityAndrew Tridgell1-13/+6
descriptor. To keep it simple I just use normal IDL buffers for now, avoiding the complex methods metze used in spoolss. We might change that later Also added decoding of the security_descriptor in winreg_GetKeySecurity() in smbtorture (This used to be commit 439f34a9621e2e96329c30cfed8d78b8fdfbd8a2)
2007-10-10r9503: removed duplicate REG_* defines from registry.h now that they areAndrew Tridgell3-2/+5
generated in winreg.h (This used to be commit fc15e1b003a2b24dc73a6a7f2bbc45e20373dda1)
2007-10-10r9391: Convert all the code to use struct ldb_dn to ohandle ldap like ↵Simo Sorce1-32/+29
distinguished names Provide more functions to handle DNs in this form (This used to be commit 692e35b7797e39533dd2a1c4b63d9da30f1eb5ba)
2007-10-10r9390: fixed mixing of code and dataAndrew Tridgell1-1/+2
(This used to be commit ae2122e76a7e50435dafcc412ee425b522c0c766)
2007-10-10r9387: regedit uses "New Key #nn" for newly created keys, which conflicts ↵Andrew Tridgell1-3/+15
with the stricter DN rules in ldb. Escape the DN components to cope. Simo, sorry for making a change in ldb_dn.c while you have changes pending. Please feel free to revert these and switch reg_backend_ldb.c to use the new dn construction code. (This used to be commit 136ecf5cb23758558b4119b08047fc273be8b0f8)
2007-10-10r9386: OpenKey with a bad name must return WERR_BADFILE (w2k3 regedit relies ↵Andrew Tridgell1-1/+1
on this) (This used to be commit ae42976590b3c532790d854be45fff49074aef68)
2007-10-10r9381: Line wrapping.Tim Potter1-8/+8
(This used to be commit 2cebdd59387786c8aeee4c6757e38ed5303f7315)
2007-10-10r9378: initialise the last_mod attribute in the ldb backend. Better to returnAndrew Tridgell1-0/+2
0 than an uninitialised value, but we should put proper last_modified time support into the ldb winreg backend in the future (This used to be commit 899bf07908d4a04cb3d1cd4034dca0c91e6a912b)
2007-10-10r9357: Remove DBGC_CLASS cruft copied over from Samba 3. I would like toTim Potter3-9/+0
replace this with something funkier. (This used to be commit 8d376d56c78894b9bbd27ed7fa70da415c0cd038)
2007-10-10r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValueAndrew Tridgell1-23/+26
calls. The previous IDL was just a workaround for the limitations of our older rpc infrastructure. Now that Jelmer has added much improved string support using the charset keyword we can correctly implemenent the unusual winreg string buffers. Jelmer, note the little comment I put on winreg_StringBuf() about why I couldn't use [value()] for the length field. This also fixes EnumKey() and EnumValue() to use NTTIME fields for the last_changed_time. I don't know why we were using a pair of uint32's, as it is just a NTTIME. (This used to be commit 8354b016122cc4f3cff042b3ada1de07e1614eb7)