Jelmer Vernooij
684ef2dae1
r15361: Export table of predefined registry keys
2007-10-10 14:05:26 -05:00
Jelmer Vernooij
6cdefd8945
r14599: Pass ACLs down the registry layer.
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
04c49e211f
r13969: Make these names lowercase as well (just like they are now in the buildsystem)
2007-10-10 13:52:33 -05:00
Jelmer Vernooij
ba74f24e42
r13899: Get the shared library build building again. Just compiles for now,
...
but modules don't work yet..
(Run LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY MODULE_OUTPUT_TYPE=SHARED_LIBRARY ./config.status)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
ad43464cc1
r13855: Docs for the registry library as well
2007-10-10 13:52:16 -05:00
Jelmer Vernooij
bca0e8054f
r13655: Use new name of build header
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
87f665a1d5
r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
c92ace494f
r12499: Move smb_build.h out of includes.h
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
b6d2ad4ce0
r12494: Support loading modules from .so files for most subsystems.
...
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:
init_module_fn static_init[] = STATIC_AUTH_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "auth");
run_init_functions(static_init);
run_init_functions(shared_init);
talloc_free(shared_init);
I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
2007-10-10 13:47:45 -05:00
Andrew Tridgell
9d6d03fd1d
r11476: finally fixed the intermittent registry server bug! This has been
...
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 ...)
2007-10-10 13:45:42 -05:00
Jelmer Vernooij
b1ad340b47
r10207: Add some const
2007-10-10 13:38:08 -05:00
Jelmer Vernooij
47cecd4726
r10026: Move registry header file to lib/registry
...
Add support for showing security descriptor in regshell
Add support for saving files in NT4 registry backend
2007-10-10 13:36:30 -05:00
Jelmer Vernooij
ff8d3a27c1
r10020: Support for malloc / realloc / free in HBIN blocks
...
Initial support for adding keys (still broken though)
2007-10-10 13:36:30 -05:00
Jelmer Vernooij
b349e902c7
r10016: Support reading security descriptors on keys.
2007-10-10 13:36:29 -05:00
Jelmer Vernooij
709fdc7ebf
r10007: Merge data_blk and data_len member of registry_value into a DATA_BLOB.
...
Fix handling of REG_DWORD in the LDB backend.
Fix a couple of warnings
2007-10-10 13:36:28 -05:00
Tim Potter
8d376d56c7
r9357: Remove DBGC_CLASS cruft copied over from Samba 3. I would like to
...
replace this with something funkier.
2007-10-10 13:33:27 -05:00
Jelmer Vernooij
46509eb899
r6795: Make some functions static and remove some unused ones.
2007-10-10 13:16:44 -05:00
Jelmer Vernooij
f2e6d71584
r5240: Don't return WERR_OK when no values were found (reported by Matt Cobb)
2007-10-10 13:09:33 -05:00
Stefan Metzmacher
6bb07a0ed8
r5134: - fix types to always use _t types
...
- add #include "system/filesys.h" where needed
metze
2007-10-10 13:09:25 -05:00
Andrew Tridgell
ec32b22ed5
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
...
large commit. I thought this was worthwhile to get done for
consistency.
2007-10-10 13:09:15 -05:00
Andrew Tridgell
cf73dda652
r4479: added the function talloc_autofree_context() which returns a talloc context that
...
will automatically be freed on program exit. This is useful for reducing
clutter in leak reports
2007-10-10 13:08:10 -05:00
Jelmer Vernooij
2948b9750d
r4390: Registry value and key names are case-insensitive
...
Nicer menu layout in gregedit
2007-10-10 13:07:42 -05:00
Jelmer Vernooij
cdb6980cdc
r4373: Support setting values and fix a segfault
2007-10-10 13:07:39 -05:00
Jelmer Vernooij
f3e0578280
r4209: Fix several smaller bugs
...
Add "predef" and "set" commands in regshell
Some of the remote calls from a Windows box work now.
2007-10-10 13:07:27 -05:00
Jelmer Vernooij
8e2aa58abe
r4204: Arguments to reg_del_key more like the RPC for more efficient usage
...
Fix small bug in regpatch
Fix segfault in regshell cmdline completion
Implement set_value and del_value in ldb backend
2007-10-10 13:07:26 -05:00
Jelmer Vernooij
f6b9ec89af
r4166: More small API fixes, keep registry structs as small as possible.
...
Implement DelValue in the RPC server
2007-10-10 13:07:21 -05:00
Jelmer Vernooij
c37d6f3c58
r4155: More destinction between hives and predefined keys
2007-10-10 13:07:20 -05:00
Jelmer Vernooij
217e4e5841
r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXT
...
Hives and predefined keys (HKEY_*) are not necessarily the same thing.
2007-10-10 13:07:19 -05:00
Jelmer Vernooij
5f64a60374
r4141: Fix crash bug in ldb backend
2007-10-10 13:06:30 -05:00
Jelmer Vernooij
bcbfce7b01
r4140: Get rid of close_hive (replace it with talloc destructors).
2007-10-10 13:06:30 -05:00
Jelmer Vernooij
ddf7a331c5
r4137: Make *_open_key take a registry_key instead of a hive (more efficient
...
in some cases)
2007-10-10 13:06:30 -05:00
Andrew Tridgell
4b45d3d2e8
r4135: improve a debug message
2007-10-10 13:06:29 -05:00
Jelmer Vernooij
c169e86c1f
r4132: - Bunch of rather large fixes in the registry
...
- Added some README files
Not everything works yet, e.g. the EnumValue test appears to be broken.
2007-10-10 13:06:29 -05:00
Andrew Tridgell
eec698254f
r4055: fixed more places to use type safe allocation macros
2007-10-10 13:06:20 -05:00
Andrew Tridgell
0928b1f5b6
r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile
2007-10-10 13:06:16 -05:00
Jelmer Vernooij
0d7bb2c40b
r3737: - Get rid of the register_subsystem() and register_backend() functions.
...
- Re-disable tdbtool (it was building fine on my Debian box but other
machines were having problems)
2007-10-10 13:05:48 -05:00
Jelmer Vernooij
7a8244761b
r3586: Fix some of the issues with the module init functions.
...
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
2007-10-10 13:05:36 -05:00
Andrew Tridgell
70d2090f6b
r3464: split out registry.h, rap.h and ldap_server.h
2007-10-10 13:05:17 -05:00
Andrew Tridgell
b97e395c81
r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ioctl.h)
2007-10-10 13:05:17 -05:00
Jelmer Vernooij
f8e45e1430
r3374: Couple of bug fixes
2007-10-10 13:05:03 -05:00
Jelmer Vernooij
df952e95cd
r3369: More registry updates
...
We now pass the RPC-WINREG torture test.
Also, constructions like the following work now:
regtree <-> smbd <-> NTUSER.DAT
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
313034b10d
r3368: Default to rpc backend with binding "ncalrpc:" if no backend was specified in the various registry tools.
...
Allow opening a remote registry to partly fail (I.e. if not all hives could be opened)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
c526273df2
r3367: More registry updates.
...
Add support flush_key and close_hive.
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
a71d51dd3b
r3348: More registry fixes and additions. The following functions work right now against samba 4, at least with a ldb backend:
...
winreg_Open*
winreg_OpenKey
winreg_EnumKey
winreg_DeleteKey
winreg_CreateKey
2007-10-10 13:04:58 -05:00
Jelmer Vernooij
da65a248c2
r3340: Various fixes in the registry code. Implement the EnumKey call
...
in the server.
2007-10-10 13:04:57 -05:00
Jelmer Vernooij
5086d6b249
r2913: - Don't print hive name if it is NULL (regtree)
...
- Initialise hive name (reg_interface)
- Fix LDB backend (enumerating keys works now!)
2007-10-10 12:59:47 -05:00
Jelmer Vernooij
f4860afc48
r2897: Fix double registration (of the registry subsystem) bug
2007-10-10 12:59:45 -05:00
Andrew Tridgell
015db2ed8c
r2672: don't call a variable "dup" as that conflicts with a standard system call name
2007-10-10 12:59:20 -05:00
Andrew Tridgell
8dc23821c9
r2671: we're getting too many errors caused by the talloc_realloc() API not
...
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.
2007-10-10 12:59:20 -05:00
Jelmer Vernooij
2762ed3b9b
r2518: Some long overdue changes:
...
- 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
2007-10-10 12:59:01 -05:00