1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

libgpo: open the registry in gp_init_reg_ctx().

I forgot the regdb_open() call: registry_init_basic() closes
the registry in the end... sorry.

Michael
This commit is contained in:
Michael Adam 2008-03-22 02:45:04 +01:00
parent 10ae8accb4
commit 4185ed03a3

View File

@ -77,6 +77,11 @@ WERROR gp_init_reg_ctx(TALLOC_CTX *mem_ctx,
return WERR_NOMEM;
}
werr = regdb_open();
if (!W_ERROR_IS_OK(werr)) {
return werr;
}
if (initial_path) {
tmp_ctx->path = talloc_strdup(mem_ctx, initial_path);
if (!tmp_ctx->path) {