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:48 -0400
commit599727a5f9a8a3064a309c83b069201e8e34e8be (patch)
tree0dea83bae32f77bbcc718da77558cca6cd6601ae /src/providers/ldap/sdap_access.c
parent541da63238a72771b3fdd4e8a27cddabe6357556 (diff)
downloadsssd-599727a5f9a8a3064a309c83b069201e8e34e8be.tar.gz
sssd-599727a5f9a8a3064a309c83b069201e8e34e8be.tar.xz
sssd-599727a5f9a8a3064a309c83b069201e8e34e8be.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 b68ee039e..0ca1cf721 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -245,7 +245,7 @@ static void sdap_access_get_dn_done(void *pvt, int ldb_status,
/* 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,