mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Change ldap search filter. This function is also used to search machine accounts which may be organized in a different ou.
Karolin
(This used to be commit e71a48bb80
)
This commit is contained in:
parent
485cb23b16
commit
cd50bc575e
@ -2823,7 +2823,7 @@ static NTSTATUS ldapsam_enum_group_memberships(struct pdb_methods *methods,
|
||||
goto done;
|
||||
}
|
||||
|
||||
rc = smbldap_search(conn, lp_ldap_user_suffix(),
|
||||
rc = smbldap_search(conn, lp_ldap_suffix(),
|
||||
LDAP_SCOPE_SUBTREE, filter, attrs, 0, &result);
|
||||
|
||||
if (rc != LDAP_SUCCESS)
|
||||
|
Loading…
Reference in New Issue
Block a user