fix inverted check using krb5_kt_resolve() and HAVE_MEMORY_KEYTAB; bug 912
authorGerald Carter <jerry@samba.org>
Mon, 5 Jan 2004 20:23:56 +0000 (20:23 +0000)
committerGerald Carter <jerry@samba.org>
Mon, 5 Jan 2004 20:23:56 +0000 (20:23 +0000)
(This used to be commit 134cf1d546cc46c8a907205ee7be7593cbb524b6)

source3/configure.in

index 2248bc7b34835ad1b8196469966296ce393a783d..7abcc8d175cf2c30687dcc54ca0e4e9eec547583 100644 (file)
@@ -2699,8 +2699,8 @@ if test x"$with_ads_support" != x"no"; then
     
     krb5_init_context(&context);
     if (krb5_kt_resolve(context, "MEMORY:", &keytab))
-      exit(0);
-    exit(1);
+      exit(1);
+    exit(0);
   }], 
   samba_cv_HAVE_MEMORY_KEYTAB=yes,
   samba_cv_HAVE_MEMORY_KEYTAB=no)])