mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r15444: Fix from Jim to ensure we do a wildcard search for SID's
starting with the global SAM sid, not an exact search.
Jeremy.
(This used to be commit 755c272ebf
)
This commit is contained in:
parent
b857785c0e
commit
d819760f8e
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user