]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Revert "libgpo: open the registry in gp_init_reg_ctx()."
authorMichael Adam <obnox@samba.org>
Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)
This reverts commit 4185ed03a3879ab708b004ef87b9ffaa6a9e6f3d.

source/libgpo/gpo_reg.c

index 9c6df9caf3811f117c43c5f72a6c596992e10bbb..e48a8715d311229b4c07e06b8be67c3ecaab8907 100644 (file)
@@ -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) {