From 975b15949013f86ffa43675537183b20f3519ed2 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 22 Aug 2006 22:53:08 +0000 Subject: r17723: * BUG 3969: Fix unsigned time comparison with expiration policy from AD DC * Merge patches from SLES10 to make sure we talk to the correct winbindd process when performing pam_auth (and pull the password policy info). (This used to be commit 43bd8c00abb38eb23a1497a255d194fb1bbffffb) --- source3/nsswitch/winbind_nss_config.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'source3/nsswitch/winbind_nss_config.h') diff --git a/source3/nsswitch/winbind_nss_config.h b/source3/nsswitch/winbind_nss_config.h index 66e38513fd..f9d3852660 100644 --- a/source3/nsswitch/winbind_nss_config.h +++ b/source3/nsswitch/winbind_nss_config.h @@ -24,12 +24,12 @@ #ifndef _WINBIND_NSS_CONFIG_H #define _WINBIND_NSS_CONFIG_H -/* shutup the compiler warnings due to krb5.h on i - 64-bit sles9 */ +/* shutup the compiler warnings due to krb5.h on 64-bit sles9 */ #ifdef SIZEOF_LONG #undef SIZEOF_LONG #endif + /* Include header files from data in config.h file */ #ifndef NO_CONFIG_H @@ -137,6 +137,15 @@ typedef int BOOL; #endif /* don't lie. If we don't have it, then don't use it */ #endif +#if !defined(int64) +#if (SIZEOF_LONG == 8) +#define int64 long +#elif (SIZEOF_LONG_LONG == 8) +#define int64 long long +#endif /* don't lie. If we don't have it, then don't use it */ +#endif + + /* zero a structure */ #ifndef ZERO_STRUCT -- cgit