mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
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 bf3ce651ff
)
This commit is contained in:
parent
61179e545e
commit
b824fcb081
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user