summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-03-15 14:35:31 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-03-15 09:53:08 -0400
commit14695418d04ab67be21564711c31968c6ab2320f (patch)
treefc7457d99c9563489f12c519e4833a8fc1efaf02 /src/providers/ldap
parent45a1a6d68af7a22a13f046855c59329221667448 (diff)
downloadsssd-14695418d04ab67be21564711c31968c6ab2320f.tar.gz
sssd-14695418d04ab67be21564711c31968c6ab2320f.tar.bz2
sssd-14695418d04ab67be21564711c31968c6ab2320f.zip
Fix LDAP search filter for nested initgroups
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_async_accounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c
index 30c7a498..3fedf07d 100644
--- a/src/providers/ldap/sdap_async_accounts.c
+++ b/src/providers/ldap/sdap_async_accounts.c
@@ -2213,7 +2213,7 @@ static struct tevent_req *sdap_initgr_nested_send(TALLOC_CTX *memctx,
return NULL;
}
- state->filter = talloc_asprintf(state, "(&(objectclass=%s)(%s=*)(%s=*)",
+ state->filter = talloc_asprintf(state, "(&(objectclass=%s)(%s=*)(%s=*))",
opts->group_map[SDAP_OC_GROUP].name,
opts->group_map[SDAP_AT_GROUP_NAME].name,
opts->group_map[SDAP_AT_GROUP_GID].name);