summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-29 11:38:02 +0200
committerGünther Deschner <gd@samba.org>2008-08-29 11:38:02 +0200
commitea0686e64a1d8079386ee9fac406ba06d1e6825f (patch)
tree425df9f1b5e1196b1d5b6b1afe45b2fb143c4c5c /source3/include
parentbff20e14c38d7139033127182b76aa24e471b581 (diff)
downloadsamba-ea0686e64a1d8079386ee9fac406ba06d1e6825f.tar.gz
samba-ea0686e64a1d8079386ee9fac406ba06d1e6825f.tar.bz2
samba-ea0686e64a1d8079386ee9fac406ba06d1e6825f.zip
kerberos: fix HAVE_KRB5 related build issue.
Guenther (This used to be commit 7d7ba8397743af52a74d00fd717bdeb5e3e12a28)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ads.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index ebe8be08b6..97faf0b6eb 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -372,9 +372,8 @@ typedef struct {
krb5_addresses *addrs;
#else
#error UNKNOWN_KRB5_ADDRESS_TYPE
-#endif
+#endif /* defined(HAVE_MAGIC_IN_KRB5_ADDRESS) && defined(HAVE_ADDRTYPE_IN_KRB5_ADDRESS) */
} smb_krb5_addresses;
-#endif
#ifdef HAVE_KRB5_KEYBLOCK_KEYVALUE /* Heimdal */
#define KRB5_KEY_TYPE(k) ((k)->keytype)
@@ -394,7 +393,9 @@ typedef struct {
#define KRB5_KT_KEY(k) (&(k)->keyblock)
#else
#error krb5_keytab_entry has no key or keyblock member
-#endif
+#endif /* HAVE_KRB5_KEYTAB_ENTRY_KEY */
+
+#endif /* HAVE_KRB5 */
enum ads_extended_dn_flags {
ADS_EXTENDED_DN_HEX_STRING = 0,