Wireshark-dev: Re: [Wireshark-dev] Commit 3c1f71e: Build error "unused parameter 'ntlm_pass' [-

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Wed, 20 Apr 2016 10:41:50 -0400


On Wed, Apr 20, 2016 at 5:10 AM, João Valverde <joao.valverde@xxxxxxxxxxxxxxxxxx> wrote:


On 20-04-2016 06:32, zeugs@xxxxxxxxxxxx wrote:

You don't have Kerberos enabled (HAVE_KERBEROS).

By the way using an explicit --with-kerberos should throw a configure
error if Kerberos isn't found, so I don't know what is going on there.

There's a warning I haven't realized when running configure:
---
$./configure --with-kerberos --with-ssl --with-geoip
configure: WARNING: unrecognized options: --with-kerberos
.....
checking whether to use Kerberos library... yes
checking for krb5-config... no
checking krb5.h usability... no
checking krb5.h presence... no
checking for krb5.h... no
No Heimdal or MIT header found - disabling dissection for some kerberos
data in packet decoding
.....
               Use kerberos library : no
---

=> So, yes Kerberos is not available and the commit should be fixed to
catch this issue..

Oh, right, that would be --with-krb5 instead. Thanks.

FWIW you can pass the --enable-option-checking=fatal option to ./configure to make it fail when it doesn't recognize an option.

Unfortunately there doesn't appear to be a way for us to enable that behavior by default or to change when that warning message comes out (i.e., closer to where you'll see it).

Details are here: