summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd.h')
-rw-r--r--source3/winbindd/winbindd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index d199481a22..b61017e513 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -68,6 +68,7 @@ struct winbindd_cli_state {
struct getent_state *getgrent_state; /* State for getgrent() */
struct getpwent_state *pwent_state; /* State for getpwent() */
+ struct getgrent_state *grent_state; /* State for getgrent() */
};
/* State between get{pw,gr}ent() calls */
@@ -87,6 +88,13 @@ struct getpwent_state {
struct wbint_userinfo *users;
};
+struct getgrent_state {
+ struct winbindd_domain *domain;
+ int next_group;
+ int num_groups;
+ struct wbint_Principal *groups;
+};
+
/* Storage for cached getpwent() user entries */
struct getpwent_user {