summaryrefslogtreecommitdiff
path: root/src/providers/ldap/ldap_id_enum.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-10-03 11:28:35 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-11-02 11:12:12 -0400
commitf26b61dfe246c750a42f1f9fb28f9df5981bc841 (patch)
treece9eeafc93507354f386416f46872e9840319687 /src/providers/ldap/ldap_id_enum.c
parent357efd33759fd1297723d9956a7f77226fe26871 (diff)
downloadsssd-f26b61dfe246c750a42f1f9fb28f9df5981bc841.tar.gz
sssd-f26b61dfe246c750a42f1f9fb28f9df5981bc841.tar.bz2
sssd-f26b61dfe246c750a42f1f9fb28f9df5981bc841.zip
LDAP: Add support for multiple search bases for user enumeration
Diffstat (limited to 'src/providers/ldap/ldap_id_enum.c')
-rw-r--r--src/providers/ldap/ldap_id_enum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_id_enum.c b/src/providers/ldap/ldap_id_enum.c
index 45f4ef78..9923379d 100644
--- a/src/providers/ldap/ldap_id_enum.c
+++ b/src/providers/ldap/ldap_id_enum.c
@@ -482,7 +482,8 @@ static struct tevent_req *enum_users_send(TALLOC_CTX *memctx,
sdap_id_op_handle(state->op),
state->attrs, state->filter,
dp_opt_get_int(state->ctx->opts->basic,
- SDAP_ENUM_SEARCH_TIMEOUT));
+ SDAP_ENUM_SEARCH_TIMEOUT),
+ true);
if (!subreq) {
ret = ENOMEM;
goto fail;