diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-03 11:32:55 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-03 11:32:55 +0000 |
commit | 80010d80f93cfb32c53a1720c7564fb080846f35 (patch) | |
tree | df9355c2169c790c4dbb7ed8566680591da69305 /source/nsswitch/winbindd_rpc.c | |
parent | 789833b44e342c0b5de463ed8f9b5f7474a99f27 (diff) | |
download | samba-80010d80f93cfb32c53a1720c7564fb080846f35.tar.gz |
changed query_dispinfo to query_user_list
Diffstat (limited to 'source/nsswitch/winbindd_rpc.c')
-rw-r--r-- | source/nsswitch/winbindd_rpc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/nsswitch/winbindd_rpc.c b/source/nsswitch/winbindd_rpc.c index bf2cc5d9d30..e4654254cb0 100644 --- a/source/nsswitch/winbindd_rpc.c +++ b/source/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 |