diff options
author | Gerald Carter <jerry@samba.org> | 2006-03-15 16:09:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:31 -0500 |
commit | 14b07dccc026dc68f0a559cbc0ed070844a150c0 (patch) | |
tree | 082c39a4651f5a3ac7c3778801f36c76e12e7094 /source3/passdb | |
parent | 5133ab016e8400e815b6dae9947206e57332616b (diff) | |
download | samba-14b07dccc026dc68f0a559cbc0ed070844a150c0.tar.gz samba-14b07dccc026dc68f0a559cbc0ed070844a150c0.tar.bz2 samba-14b07dccc026dc68f0a559cbc0ed070844a150c0.zip |
r14452: Sorry. Need more coffee....
* Fix sprintf() args when createing the group search filter.
(This used to be commit 0b7549997a3739b2c1500e7838ebaaa249dbfaf4)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index eb5d3c9c31..c609ab89f7 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -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); |