1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r14758: Fix broken LDAP search filter.

Guenther
This commit is contained in:
Günther Deschner 2006-03-29 18:24:34 +00:00 committed by Gerald (Jerry) Carter
parent d17712f976
commit 25970a5429

View 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",