mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r14452: Sorry. Need more coffee....
* Fix sprintf() args when createing the group search filter.
This commit is contained in:
parent
2c0a46d731
commit
0b7549997a
@ -4291,7 +4291,7 @@ static BOOL ldapsam_search_grouptype(struct pdb_methods *methods,
|
||||
state->filter = talloc_asprintf(search->mem_ctx,
|
||||
"(&(objectclass=sambaGroupMapping)"
|
||||
"(sambaGroupType=%d)(sambaSID=%s)",
|
||||
sid_string_static(sid), type);
|
||||
type, sid_string_static(sid));
|
||||
state->attrs = talloc_attrs(search->mem_ctx, "cn", "sambaSid",
|
||||
"displayName", "description",
|
||||
"sambaGroupType", NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user