Samba4 insists on linking with pam

Sam Liddicott sam at liddicott.com
Thu Sep 8 00:36:55 MDT 2011


On Wed, Sep 7, 2011 at 7:54 PM, Jelmer Vernooij <jelmer at samba.org> wrote:

> On 09/07/2011 05:45 PM, Sam Liddicott wrote:
>
>> Samba4 build process tries to link with any pam files it can find.
>>
>> During configure I specified --without-pam --without-pam_smbpass so I
>> can't work out why it is. The header files may be found but the libraries
>> are not available and I don't want to link with them anyway.
>>
>> How do I reign in samba's over-eagerness?
>>
> I don't think it's possible to exclude pam at the moment - our check for it
> appears to be unconditional, though it shouldn't be too hard to add a
> command-line option to make it optional.
>
> The relevant files are:
> source4/auth/wscript_configure
> nsswitch/wscript_configure
>


Thanks Jelmer, I'll work on it.

Sam


More information about the samba-technical mailing list