git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
963419b
)
s3:winbind: Do not drop the first user in sam_query_user_list
author
Volker Lendecke
<vl@samba.org>
Sat, 22 Aug 2009 15:12:28 +0000
(17:12 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 23 Aug 2009 08:19:32 +0000
(10:19 +0200)
source3/winbindd/winbindd_passdb.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_passdb.c
b/source3/winbindd/winbindd_passdb.c
index 4b3095ac83ed838b2bd5b31d0da5bf98a940a45e..5a2c31fe2f91f17a8d37642c768639dc3c207a6f 100644
(file)
--- a/
source3/winbindd/winbindd_passdb.c
+++ b/
source3/winbindd/winbindd_passdb.c
@@
-460,9
+460,10
@@
static NTSTATUS sam_query_user_list(struct winbindd_domain *domain,
return NT_STATUS_NO_MEMORY;
}
- *num_entries = pdb_search_entries(ps,
- 1, 0xffffffff,
- &entries);
+ *num_entries = pdb_search_entries(ps, 0, 0xffffffff, &entries);
+
+ DEBUG(10, ("sam_query_user_list: found %d users\n",
+ (int)*num_entries));
*info = TALLOC_ZERO_ARRAY(mem_ctx, struct wbint_userinfo, *num_entries);
if (!(*info)) {