summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-05 11:39:14 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-01-10 21:50:07 +0100
commit19deda26d0ee61b5e5b41a09181d156b9159663d (patch)
tree8f367732fd0af720232c436ecb9ba1c45e21b8b8 /source3/wscript
parentcfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2 (diff)
downloadsamba-19deda26d0ee61b5e5b41a09181d156b9159663d.tar.gz
samba-19deda26d0ee61b5e5b41a09181d156b9159663d.tar.bz2
samba-19deda26d0ee61b5e5b41a09181d156b9159663d.zip
krb5: Require krb5_string_to_key be available to build with krb5
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 00da1948a6..35f2b79024 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -771,6 +771,9 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab);
if not conf.CONFIG_SET('HAVE_KRB5_PRINCIPAL_COMPARE_ANY_REALM'):
Logs.warn("krb5_principal_compare_any_realm not found in -lkrb5")
use_ads=False
+ if not conf.CONFIG_SET('HAVE_KRB5_STRING_TO_KEY'):
+ Logs.warn("krb5_string_to_key not found in -lkrb5")
+ use_ads=False
if not conf.CONFIG_SET('HAVE_KRB5_PRINCIPAL2SALT') and \
not conf.CONFIG_SET('HAVE_KRB5_GET_PW_SALT'):
Logs.warn("no CREATE_KEY_FUNCTIONS detected")