summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_group.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-11 00:03:58 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-11 00:03:58 +0000
commitabeb0f50ea3e7ac254aa8746e074f118fdb62db1 (patch)
tree60a7f16a18c1100ee0eb21df12851fc0123beb27 /source3/nsswitch/winbindd_group.c
parentbf5a0e6717f786d4f623e3cca9f846a9413f82d5 (diff)
downloadsamba-abeb0f50ea3e7ac254aa8746e074f118fdb62db1.tar.gz
samba-abeb0f50ea3e7ac254aa8746e074f118fdb62db1.tar.bz2
samba-abeb0f50ea3e7ac254aa8746e074f118fdb62db1.zip
got rid of start_ndx from query_user_list()
(This used to be commit 1c909afe76566807fb576c965eb869f98e72f2bd)
Diffstat (limited to 'source3/nsswitch/winbindd_group.c')
-rw-r--r--source3/nsswitch/winbindd_group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c
index abbd960e9d..1939fed275 100644
--- a/source3/nsswitch/winbindd_group.c
+++ b/source3/nsswitch/winbindd_group.c
@@ -417,7 +417,7 @@ static BOOL get_sam_group_entries(struct getent_state *ent)
TALLOC_CTX *mem_ctx;
BOOL result = False;
- if (ent->got_all_sam_entries)
+ if (ent->got_all_grp_entries)
return False;
if (!(mem_ctx = talloc_init()))
@@ -477,7 +477,7 @@ static BOOL get_sam_group_entries(struct getent_state *ent)
ent->sam_entries = name_list;
ent->sam_entry_index = 0;
- ent->got_all_sam_entries = (NT_STATUS_V(status) !=
+ ent->got_all_grp_entries = (NT_STATUS_V(status) !=
NT_STATUS_V(STATUS_MORE_ENTRIES));
result = (ent->num_sam_entries > 0);