From: Michael Adam Date: Thu, 8 May 2008 15:44:00 +0000 (+0200) Subject: Revert "libgpo: open the registry in gp_init_reg_ctx()." X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23f9977ca85a1840ef6718c0cec9f46c7befe130;p=thirdparty%2Fsamba.git Revert "libgpo: open the registry in gp_init_reg_ctx()." This reverts commit 4185ed03a3879ab708b004ef87b9ffaa6a9e6f3d. --- diff --git a/source/libgpo/gpo_reg.c b/source/libgpo/gpo_reg.c index 9c6df9caf38..e48a8715d31 100644 --- a/source/libgpo/gpo_reg.c +++ b/source/libgpo/gpo_reg.c @@ -77,11 +77,6 @@ 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) {