There are waf option which have bugs or are not fully supported as it looks like.
pam_smbpass is build by default.
We have an option:
--with-pam_smbpass
Build with pam_smbpass support
but there is no option do disable it. So these options should take an argument and display a default in the help:
--with-pam_smbpass=yes
--with-pam_smbpass=no
or there should be an option
--without-pam_smbpass

(In reply to comment #0)
> There are waf option which have bugs or are not fully supported as it looks
> like.
>
> pam_smbpass is build by default.
>
> We have an option:
>
> --with-pam_smbpass
> Build with pam_smbpass support
>
> but there is no option do disable it. So these options should take an argument
> and display a default in the help:
>
> --with-pam_smbpass=yes
> --with-pam_smbpass=no
>
> or there should be an option
>
> --without-pam_smbpass
There is this option, look at buildtools/wafsamba/samba3.py the SAMBA3_ADD_OPTION definition, it's just as it has no effect:
#FIXME: This is broken and will always default to "default" no matter if
# --with or --without is chosen.