1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s4:repl_meta_data LDB module - rename operation - do not overwrite error messages

"ldb_error" could overwrite possibly useful error messages.

Reviewed-by: abartlet
This commit is contained in:
Matthias Dieter Wallnöfer 2011-10-14 09:51:04 +02:00
parent 57b8bc74c4
commit 2ee42ebab3

View File

@ -2567,9 +2567,7 @@ static int replmd_rename_callback(struct ldb_request *req, struct ldb_reply *are
if (ret != LDB_SUCCESS) {
talloc_free(ares);
return ldb_module_done(ac->req, NULL, NULL,
ldb_error(ldb, ret,
"failed to call replmd_update_rpmd()"));
return ldb_module_done(ac->req, NULL, NULL, ret);
}
if (ac->seq_num == 0) {