1
0
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:
Karolin Seeger 2008-02-08 11:58:03 +01:00 committed by Volker Lendecke
parent 485cb23b16
commit cd50bc575e

View File

@ -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)