summaryrefslogtreecommitdiffstats
path: root/source/registry/reg_db.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge of case fixes from APPLIANCE_HEAD.Tim Potter2002-08-111-5/+5
|
* Back out idra's change (at his request) - the values in the tdb *should* beAndrew Bartlett2002-08-061-1/+1
| | | | | | | | | | upper cased already. However, if you created your registry tdb in the very early versions of jerry's patch, you could find that usrmgr doesn't function. Simply delete the registry.tdb, it will be recreated on startup. Andrew Bartlett
* commented out strupper before key check against internal db, it's no goodSimo Sorce2002-08-041-1/+1
| | | | | | | | | | | | to check for uppercased strings when we store them not uppercased. jerry, this fix is needed to make usrmgr.exe work again. meanwhile we found out that NT_STATUS code may not be appropriate there. In particular it seem that an NT PDC will send back 02 as error (ERRbadfile) not 0xc000000f (NT_STATUS_NO_SUCH_FILE NT) I think further investigation is need to understand which are aprropriate return codes here.
* 3 things:Gerald Carter2002-07-261-1/+5
| | | | | | | | | | * normalize all registry key strings before storing or looking up paths in the registry tdb * return the current buffer size for REG_INFO even when not returning actual data * fix a segfault report by metze on #samba-technical so that the user/group object picker works again (was the "ProductType" key lookup that was failing).
* * fix return code so we don't let a client just open any key it wantsGerald Carter2002-07-241-2/+2
| | | | | | (even nonexistent ones). This gets rid of the Scheduling Agent icon. * fix NT_STATUS return code for bad registry path (NT_STATUS_NO_SUCH_FILE)
* several changes in this checkinGerald Carter2002-07-241-0/+9
| | | | | | | | | | | | | | | | | | | * added REG_OPEN_HKCR for supporting regedit.exe * All data n a REGISTRY_VALUE is stored to a pointer now * fixed REG_INFO to correctly display data when double clicking on and entry in the registry editor * Will now enumerate installed driver_info_3 data * fixed numerous bugs related to pointer offsets, memory issues, etc.. in the registry routines * added a simple caching mechanism to fetch_reg_[keys|values]_specific() All that is left now is to enumerate PrinterData and I will have finished what I started out to do....
* enumeration of printers keys ( no data yet ) via the registryGerald Carter2002-07-201-4/+4
| | | | functions now works :-)
* fixed seg fault in registry frontend caused by trying toGerald Carter2002-07-191-0/+6
| | | | use a destroyed TALLOC_CTX*
* * refactored registry operations some. subkey lists andGerald Carter2002-07-191-82/+63
| | | | | | | | | | | | | | | | | | registry values are now passed around in containers (REGSUBKEY_CTR & REGVAL_CTR) which each possess a TALLOC_CTX. * removed subkey_specific_fn() from REGISTRY_OPS. Is implemented in the form of a wrapper * temporarily broke the printing registry ops. * implemented inheritence for the data_p of nodes in a SORTED_TREE * All REGISTRY_KEY instances now store a valid REGISTRY_HOOK since the default REGOSTRY_OPS structure is stored in the root of the cache_tree. * Probably some other change I forgot.... T
* virtual registry framework with initial printing hooks.Gerald Carter2002-07-181-0/+311