Skip to content

Commit

Permalink
waf: Improve log errors for MIT build
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Ambach <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
  • Loading branch information
der-ambi authored and cryptomilk committed May 2, 2017
1 parent ae8f349 commit 006d58f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wscript_configure_system_mitkrb5
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ if conf.env.KRB5_CONFIG:
krb5_version = krb5_version.split("-")[0]

if parse_version(krb5_version) < parse_version(krb5_required_version):
Logs.error('ERROR: MIT KRB5 build with Samba AD requires at least %s. %s has been found and cannot be used' % (krb5_required_version, krb5_version))
Logs.error('ERROR: If you want to just build Samba FS use the option --without-ad-dc which requires version %s' % (krb5_min_required_version))
Logs.error('ERROR: You may try to build with embedded Heimdal Kerebros by not specifying --with-system-mitkrb5')
Logs.error('ERROR: The MIT KRB5 build with Samba AD requires at least %s. %s has been found and cannot be used' % (krb5_required_version, krb5_version))
Logs.error('ERROR: If you want to just build Samba FS (File Server) use the option --without-ad-dc which requires version %s' % (krb5_min_required_version))
Logs.error('ERROR: You may try to build with embedded Heimdal Kerberos by not specifying --with-system-mitkrb5')
sys.exit(1)
else:
Logs.info('MIT Kerberos %s detected, MIT krb5 build can proceed' % (krb5_version))
Expand Down

0 comments on commit 006d58f

Please sign in to comment.