From 30baf31411363ebd79a6366caf4a792850c40192 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Thu, 4 Mar 2010 02:46:36 +0300 Subject: s4:winbind: implement calls for allowing getent groups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is to say getgrent and setgrent, and the associated technical objects (states, build directives,...) needed. Signed-off-by: Matthias Dieter Wallnöfer --- source4/winbind/wb_server.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source4/winbind/wb_server.h') diff --git a/source4/winbind/wb_server.h b/source4/winbind/wb_server.h index b5576d0f40..d86bc20fb9 100644 --- a/source4/winbind/wb_server.h +++ b/source4/winbind/wb_server.h @@ -124,6 +124,19 @@ struct wbsrv_pwent { /* The libnet_ctx to use for the libnet_UserList call */ struct libnet_context *libnet_ctx; }; +/* + state of a grent query +*/ +struct wbsrv_grent { + /* Current UserList structure, contains 1+ user structs */ + struct libnet_GroupList *group_list; + + /* Index of the next user struct in the current UserList struct */ + uint32_t page_index; + + /* The libnet_ctx to use for the libnet_UserList call */ + struct libnet_context *libnet_ctx; +}; /* state of one request -- cgit