diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-05 10:54:50 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-01-10 21:50:07 +0100 |
commit | 016fc0af0c30a22d0154ca6c67bb31bac893fb7b (patch) | |
tree | c514fe134f76a01ae54acecd41d406b0c3db1143 /source3/wscript | |
parent | 6b2e742d6c719258c8ff1c2309847e88bdae97e7 (diff) | |
download | samba-016fc0af0c30a22d0154ca6c67bb31bac893fb7b.tar.gz samba-016fc0af0c30a22d0154ca6c67bb31bac893fb7b.tar.bz2 samba-016fc0af0c30a22d0154ca6c67bb31bac893fb7b.zip |
krb5: Require krb5_get_host_realm and krb5_free_host_realm be available to build with krb5
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 690ae957e3..e7d9dc09c4 100644 --- a/source3/wscript +++ b/source3/wscript @@ -750,6 +750,12 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab); if not conf.CONFIG_SET('HAVE_KRB5_C_ENCTYPE_COMPARE'): Logs.warn("krb5_c_enctype_compare not found in -lkrb5") use_ads=False + if not conf.CONFIG_SET('HAVE_KRB5_GET_HOST_REALM'): + Logs.warn("krb5_get_host_realm not found in -lkrb5") + use_ads=False + if not conf.CONFIG_SET('HAVE_KRB5_FREE_HOST_REALM'): + Logs.warn("krb5_free_host_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") |