summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-29 18:24:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:46 -0500
commit57909a15402e64e53ec20661166b0914d0a6ca90 (patch)
treefd7f4a63d06ef30b3cedd818d46b761290a3ca96
parent895fc239a489d82f0d5ccd82eec410f391bcc296 (diff)
downloadsamba-57909a15402e64e53ec20661166b0914d0a6ca90.tar.gz
samba-57909a15402e64e53ec20661166b0914d0a6ca90.tar.bz2
samba-57909a15402e64e53ec20661166b0914d0a6ca90.zip
r14758: Fix broken LDAP search filter.
Guenther (This used to be commit 25970a54298f2888b5c3cd64496dbd0c9d627a05)
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 913a696fb1..1e3a5fdb6f 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -4303,7 +4303,7 @@ static BOOL ldapsam_search_grouptype(struct pdb_methods *methods,
state->scope = LDAP_SCOPE_SUBTREE;
state->filter = talloc_asprintf(search->mem_ctx,
"(&(objectclass=sambaGroupMapping)"
- "(sambaGroupType=%d)(sambaSID=%s)",
+ "(sambaGroupType=%d)(sambaSID=%s))",
type, sid_string_static(sid));
state->attrs = talloc_attrs(search->mem_ctx, "cn", "sambaSid",
"displayName", "description",