summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/operational.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index afd76e2c4e..40f962190f 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -708,8 +708,8 @@ static int operational_search_post_process(struct ldb_module *module,
goto failed;
}
} else if (ldb_msg_copy_attr(msg,
- search_sub[i].attr,
- search_sub[i].replace) != LDB_SUCCESS) {
+ search_sub[i].replace,
+ search_sub[i].attr) != LDB_SUCCESS) {
goto failed;
}
}