r14758: Fix broken LDAP search filter.
authorGünther Deschner <gd@samba.org>
Wed, 29 Mar 2006 18:24:34 +0000 (18:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:15:46 +0000 (11:15 -0500)
Guenther
(This used to be commit 25970a54298f2888b5c3cd64496dbd0c9d627a05)

source3/passdb/pdb_ldap.c

index 913a696fb167a84a236bc48bdcf63d7316cb5258..1e3a5fdb6f055e5cdb58cb3aad0f39aa81ddf0e9 100644 (file)
@@ -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",