summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-04 22:39:42 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-04 23:09:35 +0100
commit05d1d0d8a627295bbb5c8cb0783ddad50801cdbb (patch)
tree800a0951adde7f4b29cb3da8cfcbe6a09db1f48e
parent5a98979e0c4928e1c359b7aff6f964f9ba896146 (diff)
downloadsamba-05d1d0d8a627295bbb5c8cb0783ddad50801cdbb.tar.gz
samba-05d1d0d8a627295bbb5c8cb0783ddad50801cdbb.tar.bz2
samba-05d1d0d8a627295bbb5c8cb0783ddad50801cdbb.zip
s4:operational LDB module - fix display of some constructed attributes
"structuralObjectClass", "createTimestamp" and "modifyTimestamp" weren't displayed anymore. Reviewed by: Tridge
-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;
}
}