[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-946-gdeb268f

Matthias Dieter Wallnöfer mdw at samba.org
Sat Oct 3 02:37:39 MDT 2009


The branch, master has been updated
       via  deb268f7facd05a10607c5290138b5c0ec33ff49 (commit)
      from  e66fa4645a6abcaef2497f4173baae5cbafed571 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit deb268f7facd05a10607c5290138b5c0ec33ff49
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date:   Sat Oct 3 10:36:41 2009 +0200

    s4:rdn_name - fix up the rename operation
    
    A function call was wrong ("ldb_request" rathen than "ldb_next_request").

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

Summary of changes:
 source4/lib/ldb/modules/rdn_name.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/ldb/modules/rdn_name.c b/source4/lib/ldb/modules/rdn_name.c
index ccbb1dd..d018c4f 100644
--- a/source4/lib/ldb/modules/rdn_name.c
+++ b/source4/lib/ldb/modules/rdn_name.c
@@ -275,12 +275,12 @@ static int rdn_rename_callback(struct ldb_request *req, struct ldb_reply *ares)
 	}
 	talloc_steal(mod_req, msg);
 
-	/* do the mod call */
-	return ldb_request(ldb, mod_req);
+	/* go on with the call chain */
+	return ldb_next_request(ac->module, mod_req);
 
 error:
 	return ldb_module_done(ac->req, NULL, NULL,
-						LDB_ERR_OPERATIONS_ERROR);
+						 LDB_ERR_OPERATIONS_ERROR);
 }
 
 static int rdn_name_rename(struct ldb_module *module, struct ldb_request *req)
@@ -317,7 +317,7 @@ static int rdn_name_rename(struct ldb_module *module, struct ldb_request *req)
 				   req);
 
 	if (ret != LDB_SUCCESS) {
-		return LDB_ERR_OPERATIONS_ERROR;
+		return ret;
 	}
 
 	/* rename first, modify "name" if rename is ok */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list