Michael Adam
1f3139df25
registry: refactor creation of subkeys out of init_registry_data().
...
Michael
(This used to be commit 55233f875e
)
2008-03-20 15:01:51 +01:00
Günther Deschner
e8bd75ec73
Bind Group Policy processing closer to the samba registry.
...
Guenther
(This used to be commit e9c56250eb
)
2008-03-18 21:31:24 +01:00
Michael Adam
6a2a76bc92
registry: untangle assignment and if-clause in init_registry_data().
...
Michael
(This used to be commit 64664d25cf
)
2008-03-17 13:12:47 +01:00
Michael Adam
cc2e3f180b
registry: convert regdb REGISTRY_OPS to named struct initializers.
...
Michael
(This used to be commit 3ea0a0beb4
)
2008-03-17 08:22:33 +01:00
Michael Adam
9741e07140
registry: use talloc instead of malloc and provide common exit point
...
in regdb_get_secdesc().
Michael
(This used to be commit df848d8eee
)
2008-03-17 08:22:33 +01:00
Michael Adam
647432a40c
registry: remove an unused variable from regdb_set_secdesc().
...
Michael
(This used to be commit 76dad05e4c
)
2008-03-17 08:22:33 +01:00
Michael Adam
18a407de8c
registry: untangle assignments and if statements in regdb_set_secdesc().
...
Michael
(This used to be commit d553b5d725
)
2008-03-17 08:22:33 +01:00
Michael Adam
40e6ec16ee
registry: use talloc_stackframe instead of hand crafted temporary context.
...
Michael
(This used to be commit e4f2c856ec
)
2008-03-17 08:22:33 +01:00
Michael Adam
2ce3d4b918
registry: use talloc instead of malloc for tdb data in regdb_store_values().
...
Michael
(This used to be commit 860316cbe7
)
2008-03-17 08:22:33 +01:00
Michael Adam
ae7f7e44ff
registry: don't use talloc_stackframe() instead of talloc_tos() als temp ctx
...
in regdb_store_values(). Also provide common exit path for
freeing memory.
Michael
(This used to be commit 7454e426f2
)
2008-03-17 08:22:33 +01:00
Michael Adam
ecd7479be2
registry: don't leak to talloc stack in regdb_fetch_keys().
...
Michael
(This used to be commit 3a1d79116b
)
2008-03-17 08:22:33 +01:00
Michael Adam
3b250d17d9
registry: explicitly use talloc context instead of talloc_tos()
...
in regdb_fetch_keys().
Michael
(This used to be commit 93ea27a3e2
)
2008-03-17 08:22:33 +01:00
Michael Adam
46ea0d333e
registry: don't leak on success path in regdb_store_keys().
...
Michael
(This used to be commit 331d7fd2ea
)
2008-03-17 08:22:33 +01:00
Michael Adam
a0d4c1e127
registry: allocate tempory data in talloc stack in regdb_store_keys().
...
Michael
(This used to be commit a99b51159a
)
2008-03-17 08:22:33 +01:00
Michael Adam
78adf71669
registry: separate cancel and failur exit paths in regdb_store_keys().
...
Michael
(This used to be commit e1d4a2fa5b
)
2008-03-17 08:22:33 +01:00
Michael Adam
e64825e620
registry: don't leak memory on transaction fail in regdb_store_keys().
...
Michael
(This used to be commit 9315de4048
)
2008-03-17 08:22:33 +01:00
Michael Adam
ba8607acc1
registry: don't leak (to talloc_tos()) in regdb_store_keys().
...
use talloc_stackframe() and free on error path.
Michael
(This used to be commit 95525772f2
)
2008-03-17 08:22:33 +01:00
Michael Adam
a37811727a
registry: reformat regdb_store_keys_internal(), killing long lines.
...
Michael
(This used to be commit 966b2414cb
)
2008-03-17 08:22:32 +01:00
Michael Adam
a446378e7a
registry: don't leak (to talloc_tos()) in regdb_store_keys_internal().
...
Michael
(This used to be commit 76e4cdc25f
)
2008-03-17 08:22:32 +01:00
Michael Adam
8432f7f8cf
registry: reformat init_registry_data() some, killing long lines.
...
Michael
(This used to be commit f357b1ddd3
)
2008-03-17 08:22:32 +01:00
Michael Adam
0a98b3ce1d
registry: explicitly use talloc context instead of talloc_tos()
...
in init_registry_data().
Michael
(This used to be commit 8b0dd1e758
)
2008-03-17 08:22:32 +01:00
Michael Adam
0ca465f054
registry: don't leak (to talloc_tos()) in init_registry_data().
...
Michael
(This used to be commit 7fd0ae3edc
)
2008-03-17 08:22:32 +01:00
Michael Adam
7c6de9b0bd
registry: rename tdb_refcount to regdb_refcount after change to dbwrap.
...
Michael
(This used to be commit d39957e2c9
)
2008-03-17 08:22:32 +01:00
Michael Adam
62556cd6f0
registry: rename tdb_reg to regdb after change to dbwrap.
...
Michael
(This used to be commit 79f37d4765
)
2008-03-17 08:22:32 +01:00
Michael Adam
178f3afe41
registry: migrate tdb registry backend to dbwrap.
...
Michael
(This used to be commit 3c42d8ee16
)
2008-03-17 08:22:32 +01:00
Günther Deschner
87222d3f11
Fix init_registry_data for subkeyless top-level keys.
...
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
(This used to be commit 956bc60206
)
2008-03-01 01:02:15 +01:00
Michael Adam
9e9cd40a7d
Make regdb_init() behave like regdb_open() when registry is already opened.
...
I.e. increment the refcounter.
Michael
(This used to be commit 951d3fae2c
)
2008-02-19 09:09:04 +01:00
Michael Adam
b5666ceefb
Rename reg_db.c to reg_backend_db.c
...
Michael
(This used to be commit c3f695d3b1
)
2008-01-21 08:49:12 +01:00