Fix detection of elements in in-memory keytab code.
authorJeremy Allison <jra@samba.org>
Fri, 12 Dec 2003 20:16:03 +0000 (20:16 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 12 Dec 2003 20:16:03 +0000 (20:16 +0000)
Jeremy.
(This used to be commit 05afc340862c3c7caeb9ede74ea1e9a57ee937ae)

source3/configure.in

index d70060af3aaf9e9cd015ee03eff35effa0404b75..edb6576db1f4a290b90eca1b552a06de8c5ca83c 100644 (file)
@@ -2713,7 +2713,7 @@ if test x"$with_ads_support" != x"no"; then
   AC_CACHE_CHECK([for key in krb5_keytab_entry],
                  samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEY,[
     AC_TRY_COMPILE([#include <krb5.h>],
-      [krb5_keytab_entry entry; entry.key = NULL;],
+      [krb5_keytab_entry entry; krb5_keyblock e; entry.key = e;],
       samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEY=yes,
       samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEY=no)])