diff options
author | Volker Lendecke <vl@samba.org> | 2016-12-29 19:05:40 +0000 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2017-01-02 18:04:14 +0100 |
commit | c4e9ec55f10efb1d8eb39ed54580194973bb26ad (patch) | |
tree | 9f5e05cf349505ca9c4a8f980948d6ae43af4b53 /source3/winbindd/winbindd.h | |
parent | 901d2bd99b208cf3a87243da2a2c7e8a8656efab (diff) | |
download | samba-c4e9ec55f10efb1d8eb39ed54580194973bb26ad.tar.gz |
winbind: Go throught wb_getpwsid for listing users
This makes sure we get the same results for getpwnam and getpwent.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd.h')
-rw-r--r-- | source3/winbindd/winbindd.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h index fce2e46debd..535252b890f 100644 --- a/source3/winbindd/winbindd.h +++ b/source3/winbindd/winbindd.h @@ -75,9 +75,8 @@ struct winbindd_cli_state { struct getpwent_state { struct winbindd_domain *domain; - int next_user; - int num_users; - struct wbint_userinfo *users; + uint32_t next_user; + struct wbint_RidArray rids; }; struct getgrent_state { |