summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index bedd89be68..3354ec16c1 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -674,6 +674,16 @@ enctype = ENCTYPE_ARCFOUR_HMAC;
headers='krb5.h', lib='krb5',
msg="Checking whether the ENCTYPE_ARCFOUR_HMAC key type definition is available");
+ conf.CHECK_CODE('''
+krb5_context context;
+krb5_keytab keytab;
+krb5_init_context(&context);
+return krb5_kt_resolve(context, "WRFILE:api", &keytab);
+''',
+ 'HAVE_WRFILE_KEYTAB',
+ headers='krb5.h', lib='krb5', execute=True,
+ msg="Checking whether the WRFILE:-keytab is supported");
+
conf.DEFINE('HAVE_KRB5', '1')
else: