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 | fc85a6096231d7e8c45c150f2beaa99c16e9227a (patch) | |
tree | a23ecd8fbb20f2b188bc797515af9a9cf0806901 /source3/nsswitch/winbindd_user.c | |
parent | 6f907af4e73b53c3ddab934ba954788a2134b913 (diff) | |
download | samba-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_user.c')
-rw-r--r-- | source3/nsswitch/winbindd_user.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c index 5a4dd82d78..ebd9503c7c 100644 --- a/source3/nsswitch/winbindd_user.c +++ b/source3/nsswitch/winbindd_user.c @@ -377,7 +377,7 @@ static BOOL get_sam_user_entries(struct getent_state *ent) { NTSTATUS status; uint32 num_entries; - WINBIND_DISPINFO *info; + WINBIND_USERINFO *info; struct getpwent_user *name_list = NULL; BOOL result = False; TALLOC_CTX *mem_ctx; @@ -407,14 +407,14 @@ static BOOL get_sam_user_entries(struct getent_state *ent) SAFE_FREE(ent->sam_entries); ent->num_sam_entries = 0; - /* Call query_dispinfo to get a list of usernames and user rids */ + /* Call query_user_list to get a list of usernames and user rids */ do { int i; num_entries = 0; - status = methods->query_dispinfo(ent->domain, mem_ctx, + status = methods->query_user_list(ent->domain, mem_ctx, &ent->dispinfo_ndx, &num_entries, &info); @@ -600,7 +600,7 @@ enum winbindd_result winbindd_getpwent(struct winbindd_cli_state *state) enum winbindd_result winbindd_list_users(struct winbindd_cli_state *state) { struct winbindd_domain *domain; - WINBIND_DISPINFO *info; + WINBIND_USERINFO *info; uint32 num_entries = 0, total_entries = 0; char *ted, *extra_data = NULL; int extra_data_len = 0; @@ -636,7 +636,7 @@ enum winbindd_result winbindd_list_users(struct winbindd_cli_state *state) do { int i; - status = methods->query_dispinfo(domain, mem_ctx, &start_ndx, + status = methods->query_user_list(domain, mem_ctx, &start_ndx, &num_entries, &info); if (num_entries == 0) |