git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c0a46d
)
r14452: Sorry. Need more coffee....
author
Gerald Carter
<jerry@samba.org>
Wed, 15 Mar 2006 16:09:24 +0000
(16:09 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:15:31 +0000
(11:15 -0500)
* Fix sprintf() args when createing the group search filter.
source/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source/passdb/pdb_ldap.c
b/source/passdb/pdb_ldap.c
index eb5d3c9c31d3f79cf728691c7ccb7d3d6ec647fd..c609ab89f7ad2e5c1c5f04079deef3acecf0f75d 100644
(file)
--- a/
source/passdb/pdb_ldap.c
+++ b/
source/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);