summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_access.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-06-04 10:28:15 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-06-09 08:29:35 -0400
commita6dbe52dc824f8338d209ef5c56f9e345aeeb2fe (patch)
tree555182f7bb78e0f2bbec38ef3a09aa559c00476f /src/providers/ldap/sdap_access.c
parentcd08e2f935f70ea884520793588b43ad8114465a (diff)
downloadsssd-a6dbe52dc824f8338d209ef5c56f9e345aeeb2fe.tar.gz
sssd-a6dbe52dc824f8338d209ef5c56f9e345aeeb2fe.tar.xz
sssd-a6dbe52dc824f8338d209ef5c56f9e345aeeb2fe.zip
Allow ldap_access_filter values wrapped in parentheses
Diffstat (limited to 'src/providers/ldap/sdap_access.c')
-rw-r--r--src/providers/ldap/sdap_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index fd3deb783..8a156bc3f 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -214,7 +214,7 @@ static struct tevent_req *sdap_access_send(TALLOC_CTX *mem_ctx,
/* Construct the filter */
state->filter = talloc_asprintf(
state,
- "(&(%s=%s)(objectclass=%s)(%s))",
+ "(&(%s=%s)(objectclass=%s)%s)",
state->sdap_ctx->opts->user_map[SDAP_AT_USER_NAME].name,
state->username,
state->sdap_ctx->opts->user_map[SDAP_OC_USER].name,