summaryrefslogtreecommitdiff
path: root/source3/libgpo/gpo_reg.c
AgeCommit message (Collapse)AuthorFilesLines
2008-03-22libgpo: open the registry in gp_init_reg_ctx().Michael Adam1-0/+5
I forgot the regdb_open() call: registry_init_basic() closes the registry in the end... sorry. Michael (This used to be commit 4185ed03a3879ab708b004ef87b9ffaa6a9e6f3d)
2008-03-22libgpo: replace hand-crafted registry initialization by registry_init_basic.Michael Adam1-59/+1
IMO there is no need to imitate a custom registry backend. Only default regdb hooks are used here, so a plain initialization of regdb should suffice. This way, only reg_api is used in libgpo, and no registry backend code is visible. Michael (This used to be commit 10ae8accb486956ebb1638cee540868a11623b11)
2008-03-22libgpo: use reg_setkeysecurity() instead of regdb_set_secdesc().Michael Adam1-4/+4
That is, use the reg_api function instead of the backend function. For this, code had to be changed, to take a "struct registry_key" instead of a char *. Michael (This used to be commit 4717e6d0cf9df53a55e5d55ede5480181b33920d)
2008-02-29Add infrastructure for reading/storing Group Policy state and control data ↵Günther Deschner1-0/+1058
in the registry. Guenther (This used to be commit f673bbd300d972dd7ae2d092b3b1e642ed29cfd2)