From 63a7d3817fae3ec190a7919521cc0f5dbdea3b64 Mon Sep 17 00:00:00 2001 From: Ira Cooper Date: Wed, 16 Jan 2013 11:33:31 -0800 Subject: [PATCH] nsswitch: Fix two bitfield constants being the same. WBFLAG_PAM_AUTH_PAC and WBFLAG_BIG_NTLMV2_BLOB are the same causing errors in NTLMv2 authentication. Reviewed-by: Andrew Bartlett Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Jan 18 22:13:09 CET 2013 on sn-devel-104 --- nsswitch/winbind_struct_protocol.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nsswitch/winbind_struct_protocol.h b/nsswitch/winbind_struct_protocol.h index 41756b65528..4a41ba38438 100644 --- a/nsswitch/winbind_struct_protocol.h +++ b/nsswitch/winbind_struct_protocol.h @@ -212,7 +212,7 @@ typedef struct winbindd_gr { #define WBFLAG_PAM_LMKEY 0x00000008 #define WBFLAG_PAM_CONTACT_TRUSTDOM 0x00000010 #define WBFLAG_QUERY_ONLY 0x00000020 /* not used */ -#define WBFLAG_UNUSED_1 0x00000040 /* not currently used */ +#define WBFLAG_PAM_AUTH_PAC 0x00000040 #define WBFLAG_PAM_UNIX_NAME 0x00000080 #define WBFLAG_PAM_AFS_TOKEN 0x00000100 #define WBFLAG_PAM_NT_STATUS_SQUASH 0x00000200 @@ -227,8 +227,6 @@ typedef struct winbindd_gr { /* Flag to tell winbind the NTLMv2 blob is too big for the struct and is in the * extra_data field */ #define WBFLAG_BIG_NTLMV2_BLOB 0x00010000 -/* Duplicate. FIXME !!!! */ -#define WBFLAG_PAM_AUTH_PAC 0x00010000 #define WINBINDD_MAX_EXTRA_DATA (128*1024) -- 2.11.4.GIT