summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c
index 5b4fd9d00..b614a7059 100644
--- a/src/providers/ldap/sdap_async.c
+++ b/src/providers/ldap/sdap_async.c
@@ -1725,9 +1725,13 @@ struct tevent_req *sdap_get_and_parse_generic_send(TALLOC_CTX *memctx,
flags |= SDAP_SRCH_FLG_PAGING;
}
+ if (attrsonly) {
+ flags |= SDAP_SRCH_FLG_ATTRS_ONLY;
+ }
+
subreq = sdap_get_generic_ext_send(state, ev, opts, sh, search_base,
- scope, filter, attrs, NULL,
- NULL, sizelimit, timeout,
+ scope, filter, attrs, serverctrls,
+ clientctrls, sizelimit, timeout,
sdap_get_and_parse_generic_parse_entry,
state, flags);
if (!subreq) {