summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-12-01 23:15:34 +0100
committerGünther Deschner <gd@samba.org>2010-12-03 13:54:24 +0100
commit189b4bc1c27f0bfe08d86236ce20e281ff4215dd (patch)
treed539419ce6ec7d0fb5f8655c830c33c37c9d9994
parent704f138b8e553de846e9d3d022d5ea26429a8e37 (diff)
downloadsamba-189b4bc1c27f0bfe08d86236ce20e281ff4215dd.tar.gz
samba-189b4bc1c27f0bfe08d86236ce20e281ff4215dd.tar.bz2
samba-189b4bc1c27f0bfe08d86236ce20e281ff4215dd.zip
s3-waf: add krb5 configure check for WRFILE_KEYTAB.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 3 13:54:25 CET 2010 on sn-devel-104
-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: