summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2005-03-21 21:09:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:09 -0500
commitb824fcb0813b9ec5e2ca2b7f5208f9857f46108a (patch)
tree486b0f967e471acbe44903dba6424c59c7bdc395
parent61179e545ed0edfa086fdf0c3e3d715c897e07b2 (diff)
downloadsamba-b824fcb0813b9ec5e2ca2b7f5208f9857f46108a.tar.gz
samba-b824fcb0813b9ec5e2ca2b7f5208f9857f46108a.tar.bz2
samba-b824fcb0813b9ec5e2ca2b7f5208f9857f46108a.zip
r5927: Fix ldapsam trusted enum_group_members. We were searching in the user
suffix instead of the group suffix. Thanks to John Janosik (jpjanosi@us.ibm.com). (This used to be commit bf3ce651ff3f654938bc98c604ad56214760a05e)
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index f086b3f09b..3dab919cb4 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -2288,7 +2288,7 @@ static NTSTATUS ldapsam_enum_group_members(struct pdb_methods *methods,
{
const char *attrs[] = { "memberUid", NULL };
- rc = smbldap_search(conn, lp_ldap_user_suffix(),
+ rc = smbldap_search(conn, lp_ldap_group_suffix(),
LDAP_SCOPE_SUBTREE, filter, attrs, 0,
&msg);
}