summaryrefslogtreecommitdiffstats
path: root/source/registry
Commit message (Collapse)AuthorAgeFilesLines
* Fix init_registry_data for subkeyless top-level keys.Günther Deschner2008-03-041-1/+18
| | | | | | | | | | On a fresh install with no existing registry.tdb, make sure we are able to create our initial top-level entries. Michael, Volker, please check. Guenther (cherry picked from commit 956bc602062825493e1c357e2388fee1e5514b50)
* Fix double free bugs after calling regfio_close()Tim Potter2008-02-201-4/+0
|
* Make regdb_init() behave like regdb_open() when registry is already opened.Michael Adam2008-02-191-1/+4
| | | | | | I.e. increment the refcounter. Michael
* Remove (now) unused function make_default_reg_sd().Michael Adam2008-02-181-48/+0
| | | | Michael
* Grab secdesc for key from registry for reg_savekey()Michael Adam2008-02-181-10/+9
| | | | | | instead of construction another default secdesc. Michael
* Add NT Authority\System as group sid to default registry key security ↵Michael Adam2008-02-181-1/+2
| | | | | | descriptor. Michael
* Change construct_registry_sd() to return WERROR instead of the SEC_DESC *.Michael Adam2008-02-181-11/+12
| | | | Michael
* Reformat construct_registry_sd() slightly (stick to coding rules).Michael Adam2008-02-181-8/+17
| | | | Michael
* Use BUILTIN\administrators as owner of the default registry key security ↵Michael Adam2008-02-181-1/+1
| | | | | | descriptor. Michael
* Reformat copied reg_savekey/reg_restorekey code.Michael Adam2008-02-151-86/+119
| | | | | | Sticking to coding rules. Michael
* Move the implementation of _winreg_RestoreKey to reg_api.cMichael Adam2008-02-151-1/+125
| | | | | | | | | This removes the internals of reg_api from srv_winreg_nt.c entirely, only reg_api is used there, now. This enlarges the dependencies of reg_api somewhat now since it adds regfio. But this can be separated out later. The current goal is to achieve a complete use of reg_api. Michael
* Move implementation of _winreg_SaveKey() from srv_winreg_nt.c to reg_api.cMichael Adam2008-02-151-1/+167
| | | | | | | | This gives a new function reg_savekey() and hides a piece of the backend code from srv_winreg_nt.c. One step towards using reg_api throughout samba code. Michael
* Adapt a comment to current circumstances.Michael Adam2008-02-151-3/+1
| | | | Michael
* Rename registry_init_regdb() to registry_init_smbconf().Michael Adam2008-02-151-2/+2
| | | | | | That's what it actually is. Michael
* Fix Coverity IDs 451, 452Volker Lendecke2008-01-251-1/+1
|
* Rename lib/util_reg_smbconf.c to registry/reg_init_smbconf.cMichael Adam2008-01-211-0/+97
| | | | | | | | This actually is a counterpart to reg_init_full, in that is does open and initialize the registry too, but only registeres the backends necessary to access the SMBCONF key. Michael
* Move reg_frontend_hilvl.c to reg_dispatcher.cMichael Adam2008-01-211-0/+0
| | | | | | This is actually the dispatcher to the registered registry backends. Michael
* Extend/fix comments.Michael Adam2008-01-211-1/+3
| | | | Michael
* Extract regkey_open_internal() from reg_frontend.c to new reg_util_legacy.cMichael Adam2008-01-212-18/+47
| | | | | | | reg_openpath should be used instead of this function (along with the reg_api interface). Last callers of this function are in services_db.c Michael
* Rename reg_db.c to reg_backend_db.cMichael Adam2008-01-211-0/+0
| | | | Michael
* Rename reg_shares.c to reg_backend_shares.cMichael Adam2008-01-211-0/+0
| | | | Michael
* Rename reg_smbconf.c to reg_backend_smbconf.cMichael Adam2008-01-211-0/+0
| | | | Michael
* Rename reg_printing.c to reg_backend_printing.cMichael Adam2008-01-211-0/+0
| | | | | | | Start making naming of source files more systematic to facilitate understanding of the structures. Michael
* Fix some "set but never used" warningsVolker Lendecke2008-01-201-6/+0
|
* Add a debug message to fetch_reg_values().Michael Adam2008-01-201-0/+3
| | | | Michael
* Add some debugging output to reg_cachehook.cMichael Adam2008-01-201-1/+10
| | | | Michael
* Remove the dynamic registry overlay.Michael Adam2008-01-202-103/+0
| | | | | | | It is unnecessary now the dynamic functions have been made registry backends of their own. Michael
* Add a registry backend perflib that replaces the former dynamic overlay.Michael Adam2008-01-204-47/+110
| | | | Michael
* Some reformatting of current_version_fetch_values().Michael Adam2008-01-201-11/+12
| | | | Michael
* Add a registry backend current_version that replaces the former dynamic overlay.Michael Adam2008-01-203-24/+82
| | | | | | | Make sure to only respond to the exact current version key since subkeys are registered by other backends (printing and - soon - perflib). Michael
* Use some consts instead of literal strings for registry keys.Michael Adam2008-01-201-4/+4
| | | | Michael
* Some reformatting in hkpt_params_fetch_values().Michael Adam2008-01-201-7/+10
| | | | Michael
* Add a registry backend hkpt_params that replaces the former dynamic overlay.Michael Adam2008-01-203-29/+69
| | | | Michael
* Some reformatting in tcpip_params_fetch_values().Michael Adam2008-01-201-8/+10
| | | | Michael
* Add a registry backend tcpip_params that replaces the former dynamic overlay.Michael Adam2008-01-204-27/+68
| | | | Michael
* Some reformatting in prod_options_fetch_values().Michael Adam2008-01-201-10/+10
| | | | Michael
* Add a registry backend prod_options that replaces the former dynamic overlay.Michael Adam2008-01-204-32/+73
| | | | Michael
* Some reformatting in netlogon_params_fetch_values().Michael Adam2008-01-201-6/+7
| | | | Michael
* Rename netlogon_params_fetch_reg_values() to netlogon_params_fetch_values().Michael Adam2008-01-201-3/+2
| | | | Michael
* In reg_backend_netlogon_params, delegate fetch_subkeys() to regdb.Michael Adam2008-01-201-0/+7
| | | | | | | | In order to be able to open the netlogon_params key (the new backend replacing the former dynamic overlay), certain methods need to be provided. Delegate these to the regdb backend (like e.g. the smbconf backend does). Michael
* Fix registering Registry backends in reghook_cache_add().Michael Adam2008-01-201-1/+1
| | | | | | | This was broken in 331c0d6216e1a1607a49ed7eb4078e10138ec16a (pstring removal). Michael
* Use constant KEY_NETLOGON_PARAMS instead of literal key.Michael Adam2008-01-201-1/+1
| | | | Michael
* Volker is right: why keep commented out migrated dynamic reg overlays around?...Michael Adam2008-01-201-21/+0
| | | | Michael
* Use c99 struct initializers for REGISTRY_OPS in reg_shares.cMichael Adam2008-01-201-5/+4
| | | | Michael
* Use c99 struct initializers for REGISTRY_OPS in reg_printing.cMichael Adam2008-01-201-5/+4
| | | | Michael
* Use c99 struct initializers for REGISTRY_OPS in reg_smbconf.c.Michael Adam2008-01-201-9/+7
| | | | Michael
* Use C99 structure initializers for netlogon_params_reg_ops.Michael Adam2008-01-181-9/+1
| | | | Michael
* Add a registry backend netlogon_params that replaces the former dynamic overlay.Michael Adam2008-01-183-0/+64
| | | | | | | This is the first step in replacing the dynamic overlays by proper backends implementing REGISTRY_OPS. Michael
* Fix typo in debug message.Michael Adam2008-01-181-1/+1
| | | | Michael
* Add a reg_getversion() function to reg_api and use it in srv_winreg_nt.c.Michael Adam2008-01-171-1/+11
| | | | Michael