From ce55cf1b825ce1d76310aff6829eafc8defe53ad Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 28 Apr 2004 20:07:51 +0000 Subject: r395: BUG 1232: patch from landonf@opendarwin.org (Landon Fuller) to fix user/group enumeration on systems whose libc does not call setgrent() before trying to enumerate users (i.e. FreeBSD 5.2) (This used to be commit 8106d8097258eae260ed834399881bf0be9b515b) --- source3/nsswitch/winbindd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/nsswitch/winbindd.h') diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index e884ea8380..751f6f3700 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -46,6 +46,8 @@ struct winbindd_cli_state { struct winbindd_request request; /* Request from client */ struct winbindd_response response; /* Respose to client */ + BOOL getpwent_initialized; /* Has getpwent_state been initialized? */ + BOOL getgrent_initialized; /* Has getgrent_state been initialized? */ struct getent_state *getpwent_state; /* State for getpwent() */ struct getent_state *getgrent_state; /* State for getgrent() */ }; -- cgit