1
0
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:
Gerald Carter 2006-03-15 16:09:24 +00:00 committed by Gerald (Jerry) Carter
parent 2c0a46d731
commit 0b7549997a

View File

@ -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);