summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-11-27 18:30:18 +0100
committerGünther Deschner <gd@samba.org>2009-11-27 18:31:13 +0100
commitae207370667a12db53362ee5dcdab8e6d4bb388f (patch)
treeb5a8cba127c3e8698cf1bb1678f9320781ee2684
parente512ccb5b677fa7f285829ec645fc067837c0e11 (diff)
downloadsamba-ae207370667a12db53362ee5dcdab8e6d4bb388f.tar.gz
samba-ae207370667a12db53362ee5dcdab8e6d4bb388f.tar.bz2
samba-ae207370667a12db53362ee5dcdab8e6d4bb388f.zip
s3-kerberos: do not include authdata headers before including krb5 headers.
Guenther
-rw-r--r--source3/include/authdata.h2
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/libads/authdata.c1
3 files changed, 1 insertions, 3 deletions
diff --git a/source3/include/authdata.h b/source3/include/authdata.h
index 70f6d2da9a..e1a5155927 100644
--- a/source3/include/authdata.h
+++ b/source3/include/authdata.h
@@ -21,8 +21,6 @@
#ifndef _AUTHDATA_H
#define _AUTHDATA_H
-#include "rpc_misc.h"
-
#define PAC_TYPE_LOGON_INFO 1
#define PAC_TYPE_SERVER_CHECKSUM 6
#define PAC_TYPE_PRIVSVR_CHECKSUM 7
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 37cb611a91..cf0979592c 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -652,7 +652,6 @@ struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx);
#include "passdb.h"
#include "rpc_secdes.h"
#include "../libgpo/gpo.h"
-#include "authdata.h"
#include "msdfs.h"
#include "rap.h"
#include "../lib/crypto/md5.h"
diff --git a/source3/libads/authdata.c b/source3/libads/authdata.c
index 35d5ef9f31..ed158ee2d8 100644
--- a/source3/libads/authdata.c
+++ b/source3/libads/authdata.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"
#include "smb_krb5.h"
+#include "authdata.h"
#ifdef HAVE_KRB5