mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
Change ldap search filter. This function is also used to search machine accounts which may be located in a different ou. This is an extension to e71a48bb80cee85afcccacbce2884c0d600f4d72.
Karolin
This commit is contained in:
parent
58626eb602
commit
e5cc8b683c
@ -2683,7 +2683,7 @@ static NTSTATUS ldapsam_enum_group_members(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, sid_attrs, 0,
|
||||
&result);
|
||||
|
||||
@ -2739,7 +2739,7 @@ static NTSTATUS ldapsam_enum_group_members(struct pdb_methods *methods,
|
||||
LDAP_OBJ_SAMBASAMACCOUNT,
|
||||
gidstr);
|
||||
|
||||
rc = smbldap_search(conn, lp_ldap_user_suffix(),
|
||||
rc = smbldap_search(conn, lp_ldap_suffix(),
|
||||
LDAP_SCOPE_SUBTREE, filter, sid_attrs, 0,
|
||||
&result);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user