diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-04 10:28:15 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-09 08:29:35 -0400 |
commit | a6dbe52dc824f8338d209ef5c56f9e345aeeb2fe (patch) | |
tree | 555182f7bb78e0f2bbec38ef3a09aa559c00476f /src/providers/ldap/sdap_access.c | |
parent | cd08e2f935f70ea884520793588b43ad8114465a (diff) | |
download | sssd-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.c | 2 |
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, |