diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-10-14 09:51:04 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-10-27 18:52:29 +0200 |
commit | 2ee42ebab3776cea89a5b00464d7cb9db78cd27c (patch) | |
tree | 503f0d554203ad652de806ebbb9f224ddd76dcfa /source4/dsdb/samdb | |
parent | 57b8bc74c480b9957109aa9ba196ba2acfea393e (diff) | |
download | samba-2ee42ebab3776cea89a5b00464d7cb9db78cd27c.tar.gz samba-2ee42ebab3776cea89a5b00464d7cb9db78cd27c.tar.bz2 samba-2ee42ebab3776cea89a5b00464d7cb9db78cd27c.zip |
s4:repl_meta_data LDB module - rename operation - do not overwrite error messages
"ldb_error" could overwrite possibly useful error messages.
Reviewed-by: abartlet
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index d6609733e2..bffe5a64e0 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -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) { |