summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_server.h
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-03-04 02:46:36 +0300
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-09 17:20:30 +0100
commit30baf31411363ebd79a6366caf4a792850c40192 (patch)
tree4c33f94553aeed992fe14af39c4032492ff29f7e /source4/winbind/wb_server.h
parent74166c380c5ad110d93c4e7141eaa7b1d069ced8 (diff)
downloadsamba-30baf31411363ebd79a6366caf4a792850c40192.tar.gz
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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/winbind/wb_server.h b/source4/winbind/wb_server.h
index b5576d0f408..d86bc20fb9b 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