git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c727f2e
)
r711: don't hide attributes inside the special ldb_tdb records (so the fact
author
Andrew Tridgell
<tridge@samba.org>
Fri, 14 May 2004 00:22:26 +0000
(
00:22
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:53:44 +0000
(12:53 -0500)
that a attribute is hidden is not itself hidden!)
(This used to be commit
b42d1f39842ac25fee2238040ac01321f71a79c5
)
source4/lib/ldb/ldb_tdb/ldb_search.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/ldb_tdb/ldb_search.c
b/source4/lib/ldb/ldb_tdb/ldb_search.c
index 25e22b3dd46bf698154010a4dfd8bd683cea5c68..6b38a282961d7773c050c56435d4467c2c53abd9 100644
(file)
--- a/
source4/lib/ldb/ldb_tdb/ldb_search.c
+++ b/
source4/lib/ldb/ldb_tdb/ldb_search.c
@@
-136,7
+136,7
@@
static int msg_add_all_elements(struct ldb_context *ldb, struct ldb_message *ret
int i;
for (i=0;i<msg->num_elements;i++) {
int flags = ltdb_attribute_flags(ldb, msg->elements[i].name);
- if (
flags & LTDB_FLAG_HIDDEN
) {
+ if (
(msg->dn[0] != '@') && (flags & LTDB_FLAG_HIDDEN)
) {
continue;
}
if (msg_add_element(ldb, ret, &msg->elements[i]) != 0) {