svn commit: samba r14758 - branches/SAMBA_3_0/source/passdb
trunk/source/passdb
gd at samba.org
gd at samba.org
Wed Mar 29 18:24:36 GMT 2006
Author: gd
Date: 2006-03-29 18:24:34 +0000 (Wed, 29 Mar 2006)
New Revision: 14758
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14758
Log:
Fix broken LDAP search filter.
Guenther
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-29 15:30:26 UTC (rev 14757)
+++ branches/SAMBA_3_0/source/passdb/pdb_ldap.c 2006-03-29 18:24:34 UTC (rev 14758)
@@ -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",
Modified: trunk/source/passdb/pdb_ldap.c
===================================================================
--- trunk/source/passdb/pdb_ldap.c 2006-03-29 15:30:26 UTC (rev 14757)
+++ trunk/source/passdb/pdb_ldap.c 2006-03-29 18:24:34 UTC (rev 14758)
@@ -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