svn commit: samba r14452 - branches/SAMBA_3_0/source/passdb
trunk/source/passdb
jerry at samba.org
jerry at samba.org
Wed Mar 15 16:09:25 GMT 2006
Author: jerry
Date: 2006-03-15 16:09:24 +0000 (Wed, 15 Mar 2006)
New Revision: 14452
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14452
Log:
Sorry. Need more coffee....
* Fix sprintf() args when createing the group search filter.
Modified:
branches/SAMBA_3_0/source/passdb/pdb_ldap.c
trunk/source/passdb/pdb_ldap.c
Changeset:
Modified: branches/SAMBA_3_0/source/passdb/pdb_ldap.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/pdb_ldap.c 2006-03-15 16:00:34 UTC (rev 14451)
+++ branches/SAMBA_3_0/source/passdb/pdb_ldap.c 2006-03-15 16:09:24 UTC (rev 14452)
@@ -4291,7 +4291,7 @@
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);
Modified: trunk/source/passdb/pdb_ldap.c
===================================================================
--- trunk/source/passdb/pdb_ldap.c 2006-03-15 16:00:34 UTC (rev 14451)
+++ trunk/source/passdb/pdb_ldap.c 2006-03-15 16:09:24 UTC (rev 14452)
@@ -4291,7 +4291,7 @@
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);
More information about the samba-cvs
mailing list