re: [PATCH] [v4-6-stable]fix-compilation-error-of-heimdal-module-when-cross-compile

海浪 banglang.huang at
Mon Sep 18 07:36:26 UTC 2017

thank you for your reply, Do you mean try to build samba4 with option '--with-system-mitkrb5' option ?

------------------ 原始邮件 ------------------
发件人: "Andrew Bartlett";<abartlet at>;
发送时间: 2017年9月18日(星期一) 中午11:40
收件人: "海浪"<banglang.huang at>;"samba-technical"<samba-technical at>;

主题: Re: [PATCH] [v4-6-stable]fix-compilation-error-of-heimdal-module-when-cross-compile

On Sun, 2017-09-17 at 12:38 +0800, 海浪 via samba-technical wrote:
> Hi all,
>     This patch can fix the bug
> i?id=11891,
>     I am new to samba, any hints or review will be appreciated.
> Thanks a lot.
>     The issue occurs when compiling image for LEDE/OpenWRT (https://g
>     waf system ignore 'use_hostcc' flag when building samba package.


Thanks for sending in that patch. 

In terms of the changes to wafadmin, we do try hard not to change that
but to instead get the changes made in upstream waf first.  There is a
github branch where Thomas Nagy, the author of waf, is trying to get us
to work with a more recent version, but I'm not sure exactly where that
is at.

We do realise that the hostcc stuff is really not well baked, most
folks using Samba cross-compiled seem to use MIT Krb5 on the target
platform instead, or avoid Kerberos entirely. 

I realise that doesn't really help you get your patch merged.


Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team
Samba Development and Support, Catalyst IT

More information about the samba-technical mailing list