summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-05 11:30:22 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-01-10 21:50:07 +0100
commit0c6af1e2da4619634c3806b5c0ee022bef935bb5 (patch)
tree1fa3517cf31153a9c7aefce29a434b92840d84d8 /source3/wscript
parent39d73e2420be17cc7db16353e1a51a5d2123f9f1 (diff)
downloadsamba-0c6af1e2da4619634c3806b5c0ee022bef935bb5.tar.gz
samba-0c6af1e2da4619634c3806b5c0ee022bef935bb5.tar.bz2
samba-0c6af1e2da4619634c3806b5c0ee022bef935bb5.zip
krb5: Require krb5_principal_compare_any_realm 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 7d6b708591..8734a4f069 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -768,6 +768,9 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab);
if not conf.CONFIG_SET('HAVE_KRB5_GET_RENEWED_CREDS'):
Logs.warn("krb5_get_renewed_creds not found in -lkrb5")
use_ads=False
+ 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_PRINCIPAL2SALT') and \
not conf.CONFIG_SET('HAVE_KRB5_GET_PW_SALT'):
Logs.warn("no CREATE_KEY_FUNCTIONS detected")