From 13ff228b7b4d6e96341bc9c126edd0df1d20e7e4 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 2 Nov 2011 12:03:53 +0100 Subject: s3-libnet: add ads forward declaration in libnet keytab code. Guenther --- source3/libnet/libnet_dssync_keytab.c | 1 - source3/libnet/libnet_keytab.h | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/libnet') 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; -- cgit