From be52754b2f41d98f194c17676297dccc585e55a6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 28 Feb 2018 10:31:21 +0100 Subject: [PATCH] dsdb:extended_dn_store: we need to pass down our altered request down on NO_SUCH_OBJECT It's quite likely that there're more than one attribute and we may already altered values. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13307 Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- source4/dsdb/samdb/ldb_modules/extended_dn_store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_store.c b/source4/dsdb/samdb/ldb_modules/extended_dn_store.c index 8829de03a05..47bce532b14 100644 --- a/source4/dsdb/samdb/ldb_modules/extended_dn_store.c +++ b/source4/dsdb/samdb/ldb_modules/extended_dn_store.c @@ -143,7 +143,7 @@ static int extended_replace_dn(struct ldb_request *req, struct ldb_reply *ares) /* Otherwise, we are done - let's run the * request now we have swapped the DNs for the * full versions */ - return ldb_next_request(os->ac->module, os->ac->req); + return ldb_next_request(os->ac->module, os->ac->new_req); } } if (ares->error != LDB_SUCCESS) { -- 2.11.4.GIT