[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-393-g4185ed0

Michael Adam obnox at samba.org
Sat Mar 22 01:45:58 GMT 2008


The branch, v3-2-test has been updated
       via  4185ed03a3879ab708b004ef87b9ffaa6a9e6f3d (commit)
      from  10ae8accb486956ebb1638cee540868a11623b11 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 4185ed03a3879ab708b004ef87b9ffaa6a9e6f3d
Author: Michael Adam <obnox at samba.org>
Date:   Sat Mar 22 02:45:04 2008 +0100

    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

-----------------------------------------------------------------------

Summary of changes:
 source/libgpo/gpo_reg.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libgpo/gpo_reg.c b/source/libgpo/gpo_reg.c
index e48a871..9c6df9c 100644
--- a/source/libgpo/gpo_reg.c
+++ b/source/libgpo/gpo_reg.c
@@ -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) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list