From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Rousse Subject: Re: krb5 required when building with sasl support Date: Fri, 06 Feb 2009 14:18:40 +0100 Message-ID: <498C38B0.5010409@inria.fr> References: <4989C939.7090106@s3group.cz> <498B2F91.1090607@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org Cc: autofs mailing list Matthias Koenig a =E9crit : > Guillaume Rousse writes: > = >> More seriously, I think the proper solution would rather be fixing = >> underliking in SASL (http://wiki.mandriva.com/en/Underlinking). > = > Hmm, are you really sure, that libsasl depends on kerberos symbols? > In this case you would be right. > I assumed that they're independent from each other and after > a quick grep I couldn't find any krb5_* symbols in libsasl. > At least the lookup_ldap.h header from autofs explicitly includes > the krb5.h header. Indeed. I just checked libsasl is built with -Wl,--no-undefined flag, = and doesn't have undefined symbols either. I guess the issue (in my case) is not to detect SASL presence, but to = add -lkrb5 when building autofs ldap plugin (which can't use = -Wl,--no-undefined safety option, as it is a plugin).