cannot build current HEAD with MIT kerberos

swen swen at linux.ibm.com
Wed Dec 5 13:06:12 UTC 2018


On Wed, 2018-12-05 at 14:00 +0100, swen via samba-technical wrote:
> Hi Metze
> On Wed, 2018-12-05 at 13:40 +0100, Stefan Metzmacher wrote:
> > Hi Swen,
> > 
> > > > In wscript_configure_system_mitkrb5 we have this:
> > > > 
> > > > vendor = conf.cmd_and_log(conf.env.KRB5_CONFIG+['--vendor'])
> > > > conf.env.KRB5_VENDOR = vendor.strip().lower()
> > > > if conf.env.KRB5_VENDOR != 'heimdal':
> > > > ...
> > > > 
> > > > I think if KRB5_VENDOR is heimdal, we should bail out.
> > > > 
> > > 
> > > Metze, you are the man :-)
> > > 
> > > That was it.
> > > 
> > > I removed all refernces for heimdal from my system and it works
> > > now.
> > > 
> > > Thanks alot for your support !
> > 
> > Great!
> > 
> > Can you please test if the attached fix would already detect this
> > at
> > the
> > configure stage and still works if MIT is installed?
> 
> No, but if you include the famous Errors package :-)
> 
> diff --git a/wscript_configure_system_mitkrb5
> b/wscript_configure_system_mitkrb5
> index 392684cbc39..b05ac3f3e50 100644
> --- a/wscript_configure_system_mitkrb5
> +++ b/wscript_configure_system_mitkrb5
> @@ -1,5 +1,5 @@
>  import sys
> -from waflib import Logs, Options
> +from waflib import Logs, Options, Errors
> 
> it will work as expected.
> 
> 

Well we end up with the following
./configure --with-system-mitkrb5 --without-ad-dc
...
Checking for 'kdb'                                                                              : not found 
Checking for 'gssapi'                                                                           : yes 
--with-system-mitkrb5 cannot be used with system heimdal
[swen at dhcp-9-244-58-166 samba]$

Hope that's what you were expecting.

Cheers Swen





More information about the samba-technical mailing list