diff options
Diffstat (limited to 'source4/libads')
-rw-r--r-- | source4/libads/config.m4 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/libads/config.m4 b/source4/libads/config.m4 index d91682da2d..c3f1da6e07 100644 --- a/source4/libads/config.m4 +++ b/source4/libads/config.m4 @@ -496,12 +496,10 @@ if test x"$with_krb5_support" != x"no"; then krb5_context context; krb5_keytab keytab; krb5_init_context(&context); - if (krb5_kt_resolve(context, "WRFILE:api", &keytab)) - exit(0); - exit(1); + return krb5_kt_resolve(context, "WRFILE:api", &keytab); }], - samba_cv_HAVE_WRFILE_KEYTAB=no, - samba_cv_HAVE_WRFILE_KEYTAB=yes)]) + samba_cv_HAVE_WRFILE_KEYTAB=yes, + samba_cv_HAVE_WRFILE_KEYTAB=no)]) if test x"$samba_cv_HAVE_WRFILE_KEYTAB" = x"yes"; then AC_DEFINE(HAVE_WRFILE_KEYTAB,1, [Whether the WRFILE:-keytab is supported]) |