1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-17 15:17:09 +03:00

21 Commits

Author SHA1 Message Date
Michael Adam
2f9ee2f782 registry: remove the REGISTRY_HOOKS layer from the reghook cache.
There is no need to save the keyname again, we only need to
get the REGISTRY_OPS out of the pathtree.

Furthermore, this makes life easier, since we can now pass
in keynames as temporarily allocated strings.

Michael
2008-04-13 01:43:42 +02:00
Günther Deschner
f673bbd300 Add infrastructure for reading/storing Group Policy state and control data in the registry.
Guenther
2008-02-29 15:48:14 +01:00
Michael Adam
c3fba41595 Add a registry backend perflib that replaces the former dynamic overlay.
Michael
2008-01-20 03:47:37 +01:00
Michael Adam
2c650bf63c Add a registry backend current_version that replaces the former dynamic overlay.
Make sure to only respond to the exact current version key since subkeys
are registered by other backends (printing and - soon - perflib).

Michael
2008-01-20 03:47:36 +01:00
Michael Adam
faf406a4a1 Reorder the registry key name constants in a more systematic way.
Michael
2008-01-20 02:26:22 +01:00
Michael Adam
a8a743b693 Add a registry backend tcpip_params that replaces the former dynamic overlay.
Michael
2008-01-20 02:03:40 +01:00
Michael Adam
d9b89e9d30 Add a registry backend prod_options that replaces the former dynamic overlay.
Michael
2008-01-20 02:03:39 +01:00
Michael Adam
e8a0524961 Add a registry backend netlogon_params that replaces the former dynamic overlay.
This is the first step in replacing the dynamic overlays by proper
backends implementing REGISTRY_OPS.

Michael
2008-01-18 09:40:57 +01:00
Michael Adam
3f081ebead Add detection for need of update to the registry db.
This only detects if the tdb sequence number has changed
since the data has last been read.

Michael
2008-01-14 19:38:01 +01:00
Jeremy Allison
f35a266b3c RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Andrew Tridgell
b0132e94fc r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Volker Lendecke
fea52801de r19991: Sorry for this 2000-liner...
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality
has moved to registry/reg_api.c which is then usable by the rest of Samba as
well.

On that way it fixes creating keys with more than one element in the
path. This did not work before.

Two things that sneaked in (sorry :-) is the change of some routines from
NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal.

Volker
2007-10-10 12:16:18 -05:00
Volker Lendecke
6cab254c49 r19963: Add 'registry shares = yes' and registry key security descriptors. 2007-10-10 12:16:16 -05:00
Volker Lendecke
6793301751 r19811: Decode REG_MULTI_SZ and REG_BINARY 2007-10-10 12:15:57 -05:00
Volker Lendecke
40922eb924 r19807: First attempt at wrapping something sane around the registry API. Will be
extended.

Volker
2007-10-10 12:15:57 -05:00
Gerald Carter
4f79d8c83d r18963: * Move parts of registry headers that were still in
use to reg_objects.h
* Remove unused rpc headers
2007-10-10 12:14:51 -05:00
Gerald Carter
ef721333ab r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to use
the new talloc() features:

 Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d
 since the methods use the object pointer as the talloc context for
 internal private data.

 There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy()
 pair of functions.  Simply TALLOC_ZERO_P() and TALLOC_FREE() the
 object.

Also had to convert the printer_info_2->NT_PRINTER_DATA field
to be talloc()'d as well.  This is just a stop on the road to
cleaning up the printer memory management.
2007-10-10 11:03:25 -05:00
Gerald Carter
28c7293ee9 r8007: * cleanup unused structure from reg_objects.h
* make regdb_store_XXX() and regdb_fetch_XXX() functions non-static
* use case sensitive string lookups in reg_dynamic.c since the
  keys have already been normalized
* move to new design for making printing related data available
  via the winreg pipe (with the intent of allowing writes)
2007-10-10 10:58:08 -05:00
Gerald Carter
d50f0ba07e r7878: mostly just a rename of REG_INFO to REG_QUERY_VALUE for better clarity 2007-10-10 10:58:00 -05:00
Gerald Carter
81ffb0dbbb r6942: * merging the registry changes back to the 3.0 tree
* removing the testprns tool
2007-10-10 10:56:57 -05:00