summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-11-18 16:51:22 +0200
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-11-18 17:02:07 +0000
commitb7dab4692200dd7f3bbc600560648b8e0ec47e70 (patch)
treefeb13841b27da51ec659abf4eb2159f5ac4532f7
parentb388951eea2bb8f609e3a5eae5092e4c0fefc30b (diff)
downloadsamba-b7dab4692200dd7f3bbc600560648b8e0ec47e70.tar.gz
samba-b7dab4692200dd7f3bbc600560648b8e0ec47e70.tar.xz
samba-b7dab4692200dd7f3bbc600560648b8e0ec47e70.zip
s4/operational: Fix swapped parameters for ldb_msg_copy_attr
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Thu Nov 18 17:02:07 UTC 2010 on sn-devel-104
-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 d8cf3e07e21..ebeec71cabe 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -642,8 +642,8 @@ static int operational_search_post_process(struct ldb_module *module,
goto failed;
}
} else if (ldb_msg_copy_attr(msg,
- search_sub[i].replace,
- search_sub[i].attr) != LDB_SUCCESS) {
+ search_sub[i].attr,
+ search_sub[i].replace) != LDB_SUCCESS) {
goto failed;
}
}