summaryrefslogtreecommitdiffstats
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:13 -0400
commit7ca03e1670870b48ebbae9de1d38974f72b197ba (patch)
treebaae051be238ff595032fc89d4c5d0f883446b49
parent7717e1e7b6619f7a6169e32cc477bf1c67ae8814 (diff)
downloadsssd-7ca03e1670870b48ebbae9de1d38974f72b197ba.tar.gz
sssd-7ca03e1670870b48ebbae9de1d38974f72b197ba.tar.xz
sssd-7ca03e1670870b48ebbae9de1d38974f72b197ba.zip
Fix LDAP search filter for nested initgroups
-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 30c7a4986..3fedf07da 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);