From: Günther Deschner Date: Thu, 18 Nov 2004 23:25:37 +0000 (+0000) Subject: r3868: Fix reverted logic of detecting HAVE_WRFILE_KEYTAB (Bugzilla 2059) X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5564 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d987d2f38005969798fe829f87c3ffc1d1e5edd;p=thirdparty%2Fsamba.git r3868: Fix reverted logic of detecting HAVE_WRFILE_KEYTAB (Bugzilla 2059) Guenther --- diff --git a/source/configure.in b/source/configure.in index 327e6c9e89c..f1134507445 100644 --- a/source/configure.in +++ b/source/configure.in @@ -2983,9 +2983,7 @@ if test x"$with_ads_support" != x"no"; then 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=yes, samba_cv_HAVE_WRFILE_KEYTAB=no)])