summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_dssync_keytab.c1
-rw-r--r--source3/libnet/libnet_keytab.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/libnet/libnet_dssync_keytab.c b/source3/libnet/libnet_dssync_keytab.c
index 763f8baf4d..66e75620d1 100644
--- a/source3/libnet/libnet_dssync_keytab.c
+++ b/source3/libnet/libnet_dssync_keytab.c
@@ -20,7 +20,6 @@
#include "includes.h"
#include "smb_krb5.h"
-#include "ads.h"
#include "libnet/libnet_dssync.h"
#include "libnet/libnet_keytab.h"
#include "librpc/gen_ndr/ndr_drsblobs.h"
diff --git a/source3/libnet/libnet_keytab.h b/source3/libnet/libnet_keytab.h
index b82e5433eb..43071ce3f8 100644
--- a/source3/libnet/libnet_keytab.h
+++ b/source3/libnet/libnet_keytab.h
@@ -27,11 +27,13 @@ struct libnet_keytab_entry {
krb5_enctype enctype;
};
+struct ads_struct;
+
struct libnet_keytab_context {
krb5_context context;
krb5_keytab keytab;
const char *keytab_name;
- ADS_STRUCT *ads;
+ struct ads_struct *ads;
const char *dns_domain_name;
uint8_t zero_buf[16];
uint32_t count;