diff options
author | Matthieu Patou <mat@matws.net> | 2010-03-04 02:46:36 +0300 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-09 17:20:30 +0100 |
commit | 30baf31411363ebd79a6366caf4a792850c40192 (patch) | |
tree | 4c33f94553aeed992fe14af39c4032492ff29f7e /source4/winbind/wb_server.h | |
parent | 74166c380c5ad110d93c4e7141eaa7b1d069ced8 (diff) | |
download | samba-30baf31411363ebd79a6366caf4a792850c40192.tar.gz samba-30baf31411363ebd79a6366caf4a792850c40192.tar.bz2 samba-30baf31411363ebd79a6366caf4a792850c40192.zip |
s4:winbind: implement calls for allowing getent groups
This is to say getgrent and setgrent, and the associated technical objects (states, build directives,...) needed.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Diffstat (limited to 'source4/winbind/wb_server.h')
-rw-r--r-- | source4/winbind/wb_server.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 |