$OpenBSD: patch-libads_kerberos_keytab_c,v 1.1 2008/05/13 11:34:12 dlg Exp $ --- libads/kerberos_keytab.c.orig Thu Nov 15 13:15:03 2007 +++ libads/kerberos_keytab.c Mon May 12 13:38:30 2008 @@ -246,7 +246,7 @@ int ads_keytab_add_entry(ADS_STRUCT *ads, const char * return -1; } -#ifdef HAVE_WRFILE_KEYTAB /* MIT */ +#if 0 && defined(HAVE_WRFILE_KEYTAB) /* MIT */ keytab_name[0] = 'W'; keytab_name[1] = 'R'; ret = krb5_kt_default_name(context, (char *) &keytab_name[2], MAX_KEYTAB_NAME_LEN - 4); @@ -394,7 +394,7 @@ int ads_keytab_flush(ADS_STRUCT *ads) DEBUG(1,("ads_keytab_flush: could not krb5_init_context: %s\n",error_message(ret))); return ret; } -#ifdef HAVE_WRFILE_KEYTAB +#if 0 && defined(HAVE_WRFILE_KEYTAB) keytab_name[0] = 'W'; keytab_name[1] = 'R'; ret = krb5_kt_default_name(context, (char *) &keytab_name[2], MAX_KEYTAB_NAME_LEN - 4);