summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_rpc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-03 11:32:55 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-03 11:32:55 +0000
commitfc85a6096231d7e8c45c150f2beaa99c16e9227a (patch)
treea23ecd8fbb20f2b188bc797515af9a9cf0806901 /source3/nsswitch/winbindd_rpc.c
parent6f907af4e73b53c3ddab934ba954788a2134b913 (diff)
downloadsamba-fc85a6096231d7e8c45c150f2beaa99c16e9227a.tar.gz
samba-fc85a6096231d7e8c45c150f2beaa99c16e9227a.tar.bz2
samba-fc85a6096231d7e8c45c150f2beaa99c16e9227a.zip
changed query_dispinfo to query_user_list
(This used to be commit 80010d80f93cfb32c53a1720c7564fb080846f35)
Diffstat (limited to 'source3/nsswitch/winbindd_rpc.c')
-rw-r--r--source3/nsswitch/winbindd_rpc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/nsswitch/winbindd_rpc.c b/source3/nsswitch/winbindd_rpc.c
index bf2cc5d9d3..e4654254cb 100644
--- a/source3/nsswitch/winbindd_rpc.c
+++ b/source3/nsswitch/winbindd_rpc.c
@@ -26,10 +26,10 @@
/* Query display info for a domain. This returns enough information plus a
bit extra to give an overview of domain users for the User Manager
application. */
-static NTSTATUS query_dispinfo(struct winbindd_domain *domain,
+static NTSTATUS query_user_list(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
uint32 *start_ndx, uint32 *num_entries,
- WINBIND_DISPINFO **info)
+ WINBIND_USERINFO **info)
{
CLI_POLICY_HND *hnd;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
@@ -62,8 +62,8 @@ static NTSTATUS query_dispinfo(struct winbindd_domain *domain,
&dom_pol, start_ndx, 1,
num_entries, 0xffff, &ctr);
- /* now map the result into the WINBIND_DISPINFO structure */
- (*info) = (WINBIND_DISPINFO *)talloc(mem_ctx, (*num_entries)*sizeof(WINBIND_DISPINFO));
+ /* now map the result into the WINBIND_USERINFO structure */
+ (*info) = (WINBIND_USERINFO *)talloc(mem_ctx, (*num_entries)*sizeof(WINBIND_USERINFO));
if (!(*info)) {
return NT_STATUS_NO_MEMORY;
}
@@ -187,7 +187,7 @@ NTSTATUS winbindd_rpc_sid_to_name(struct winbindd_domain *domain,
/* the rpc backend methods are exposed via this structure */
struct winbindd_methods msrpc_methods = {
- query_dispinfo,
+ query_user_list,
enum_dom_groups,
name_to_sid,
winbindd_rpc_sid_to_name