mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r711: don't hide attributes inside the special ldb_tdb records (so the fact
that a attribute is hidden is not itself hidden!) (This used to be commit b42d1f39842ac25fee2238040ac01321f71a79c5)
This commit is contained in:
parent
c727f2ec5e
commit
f2548cd873
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user