diff options
author | Gerald Carter <jerry@samba.org> | 2004-04-28 20:07:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:21 -0500 |
commit | ce55cf1b825ce1d76310aff6829eafc8defe53ad (patch) | |
tree | 643c77fc55fdb19c280230fdbd248e2190292e31 /source3/nsswitch/winbindd.h | |
parent | 37c838b3e2f8180fe46be256e373d1e2eaefb00d (diff) | |
download | samba-ce55cf1b825ce1d76310aff6829eafc8defe53ad.tar.gz samba-ce55cf1b825ce1d76310aff6829eafc8defe53ad.tar.bz2 samba-ce55cf1b825ce1d76310aff6829eafc8defe53ad.zip |
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)
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r-- | source3/nsswitch/winbindd.h | 2 |
1 files changed, 2 insertions, 0 deletions
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() */ }; |