svn commit: samba r15445 - in trunk/source/passdb: .
jra at samba.org
jra at samba.org
Thu May 4 19:24:25 GMT 2006
Author: jra
Date: 2006-05-04 19:24:24 +0000 (Thu, 04 May 2006)
New Revision: 15445
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15445
Log:
Fix from Jim to ensure we do a wildcard search for SID's
starting with the global SAM sid, not an exact search.
Jeremy.
Modified:
trunk/source/passdb/pdb_ldap.c
Changeset:
Modified: trunk/source/passdb/pdb_ldap.c
===================================================================
--- trunk/source/passdb/pdb_ldap.c 2006-05-04 19:24:20 UTC (rev 15444)
+++ trunk/source/passdb/pdb_ldap.c 2006-05-04 19:24:24 UTC (rev 15445)
@@ -4303,7 +4303,7 @@
state->scope = LDAP_SCOPE_SUBTREE;
state->filter = talloc_asprintf(search->mem_ctx,
"(&(objectclass=sambaGroupMapping)"
- "(sambaGroupType=%d)(sambaSID=%s))",
+ "(sambaGroupType=%d)(sambaSID=%s*))",
type, sid_string_static(sid));
state->attrs = talloc_attrs(search->mem_ctx, "cn", "sambaSid",
"displayName", "description",
More information about the samba-cvs
mailing list