diff options
author | Günther Deschner <gd@samba.org> | 2011-11-02 12:03:53 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-11-02 16:59:32 +0100 |
commit | 13ff228b7b4d6e96341bc9c126edd0df1d20e7e4 (patch) | |
tree | adf20f9e9885ef4894896a6135eefb93c8533b93 /source3/libnet | |
parent | 19261143580140f246a984bc281d8f81b27b2792 (diff) | |
download | samba-13ff228b7b4d6e96341bc9c126edd0df1d20e7e4.tar.gz samba-13ff228b7b4d6e96341bc9c126edd0df1d20e7e4.tar.bz2 samba-13ff228b7b4d6e96341bc9c126edd0df1d20e7e4.zip |
s3-libnet: add ads forward declaration in libnet keytab code.
Guenther
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_dssync_keytab.c | 1 | ||||
-rw-r--r-- | source3/libnet/libnet_keytab.h | 4 |
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; |