mirror of
https://github.com/samba-team/samba.git
synced 2025-03-26 18:50:30 +03:00
winbind: Remove wbint_QueryUserList
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
479ce28fd7
commit
67c0696761
@ -129,10 +129,6 @@ interface winbind
|
||||
[size_is(num_userinfos)] wbint_userinfo userinfos[];
|
||||
} wbint_userinfos;
|
||||
|
||||
NTSTATUS wbint_QueryUserList(
|
||||
[out] wbint_userinfos *users
|
||||
);
|
||||
|
||||
NTSTATUS wbint_QueryGroupList(
|
||||
[out] wbint_Principals *groups
|
||||
);
|
||||
|
@ -355,23 +355,6 @@ NTSTATUS _wbint_LookupGroupMembers(struct pipes_struct *p,
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
NTSTATUS _wbint_QueryUserList(struct pipes_struct *p,
|
||||
struct wbint_QueryUserList *r)
|
||||
{
|
||||
struct winbindd_domain *domain = wb_child_domain();
|
||||
NTSTATUS status;
|
||||
|
||||
if (domain == NULL) {
|
||||
return NT_STATUS_REQUEST_NOT_ACCEPTED;
|
||||
}
|
||||
|
||||
status = wb_cache_query_user_list(domain, p->mem_ctx,
|
||||
&r->out.users->num_userinfos,
|
||||
&r->out.users->userinfos);
|
||||
reset_cm_connection_on_error(domain, status);
|
||||
return status;
|
||||
}
|
||||
|
||||
NTSTATUS _wbint_QueryGroupList(struct pipes_struct *p,
|
||||
struct wbint_QueryGroupList *r)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user