s3-krb5: include krb5pac.h where needed.
authorGünther Deschner <gd@samba.org>
Mon, 2 Aug 2010 21:12:16 +0000 (23:12 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 6 Aug 2010 13:43:37 +0000 (15:43 +0200)
Guenther

source3/include/krb5_protos.h
source3/libads/kerberos_proto.h
source3/libads/kerberos_verify.c
source3/libsmb/clikrb5.c
source3/smbd/sesssetup.c
source3/smbd/smb2_sesssetup.c
source3/winbindd/winbindd_pam.c

index 97e6871c89d808c255b1a4f4cd89a5eb306119bd..0b8aa71288137530a0b7a99795bd854a4167eb16 100644 (file)
@@ -1,3 +1,6 @@
+struct PAC_DATA;
+struct PAC_SIGNATURE_DATA;
+
 /* work around broken krb5.h on sles9 */
 #ifdef SIZEOF_LONG
 #undef SIZEOF_LONG
index 7be81fa9a5462c96552dd88696669b8cbcbdd95b..afd57fe220cbcbcce3b8a3576662031f775d6fc2 100644 (file)
@@ -1,3 +1,5 @@
+struct PAC_LOGON_INFO;
+
 /* The following definitions come from libads/kerberos_verify.c  */
 
 NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx,
index aaeff59182b443870f053e99c25b25c587c962c2..887dac05025511100d230ff74ac94cd1338ad373 100644 (file)
@@ -27,6 +27,7 @@
 #include "smb_krb5.h"
 #include "libads/kerberos_proto.h"
 #include "secrets.h"
+#include "../librpc/gen_ndr/krb5pac.h"
 
 #ifdef HAVE_KRB5
 
index fb2fdba86df0172a70958b7b7806e5af458307e1..4eb43cfff1d1f005241ef4a5f6999d82e0a2c633 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "includes.h"
 #include "smb_krb5.h"
+#include "../librpc/gen_ndr/krb5pac.h"
 
 #ifndef KRB5_AUTHDATA_WIN2K_PAC
 #define KRB5_AUTHDATA_WIN2K_PAC 128
index 514170e5fa534c971ba50abeed7603246454df44..35b8c04747d4bf6e9f7d84dbd79aacfb700c8c71 100644 (file)
@@ -28,6 +28,7 @@
 #include "../libcli/auth/ntlmssp.h"
 #include "ntlmssp_wrap.h"
 #include "librpc/gen_ndr/messaging.h"
+#include "../librpc/gen_ndr/krb5pac.h"
 #include "libads/kerberos_proto.h"
 
 /* For split krb5 SPNEGO blobs. */
index 4f6d5d2e13e7bc13112d54091ae1e3b156f777a1..8e8e26c2a3a33276b4c8a87df164b26350a26436 100644 (file)
@@ -25,6 +25,7 @@
 #include "../libcli/auth/spnego.h"
 #include "../libcli/auth/ntlmssp.h"
 #include "ntlmssp_wrap.h"
+#include "../librpc/gen_ndr/krb5pac.h"
 #include "libads/kerberos_proto.h"
 
 static NTSTATUS smbd_smb2_session_setup(struct smbd_smb2_request *smb2req,
index 11b16310b414c32e557d6f0e17e8109ead231342..70adc29b1e1fe318831bf89f5ab0f5bd384873ef 100644 (file)
@@ -33,6 +33,7 @@
 #include "../lib/crypto/arcfour.h"
 #include "../libcli/security/dom_sid.h"
 #include "ads.h"
+#include "../librpc/gen_ndr/krb5pac.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_WINBIND