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:
parent
10ae8accb4
commit
4185ed03a3
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user