Samba4 insists on linking with pam

Jelmer Vernooij jelmer at samba.org
Wed Sep 7 12:54:16 MDT 2011


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

Cheers,

Jelmer


More information about the samba-technical mailing list