all possible helpers. Default is to do so.
To disable the NTLM authentication scheme, use --disable-auth-ntlm.
To enable but build no helpers, specify "none".
- To see available helpers, see the helpers/ntlm_auth directory. ]),[
+ To see available helpers, see the src/auth/ntlm/ directory. ]),[
])
-m4_include([helpers/ntlm_auth/modules.m4])
+m4_include([src/auth/ntlm/helpers.m4])
dnl Authentication libraries to build
dnl This list will not be needed when each auth library has its own Makefile
helpers/negotiate_auth/kerberos/Makefile
helpers/negotiate_auth/SSPI/Makefile
helpers/negotiate_auth/wrapper/Makefile
- helpers/ntlm_auth/Makefile
- helpers/ntlm_auth/fake/Makefile
- helpers/ntlm_auth/smb_lm/Makefile
- helpers/ntlm_auth/SSPI/Makefile
helpers/storeid_rewrite/Makefile
helpers/storeid_rewrite/file/Makefile
helpers/url_rewrite/Makefile
src/auth/digest/Makefile
src/auth/negotiate/Makefile
src/auth/ntlm/Makefile
+ src/auth/ntlm/fake/Makefile
+ src/auth/ntlm/SMB_LM/Makefile
+ src/auth/ntlm/SSPI/Makefile
src/base/Makefile
src/clients/Makefile
src/comm/Makefile
<item>Configurable helper queue size
<item>Helper concurrency channels changes
<item>SSL support removal
- <item>cert_valid.pl helper renamed
- <item>MSNT-multi-domain helper removal
+ <item>Helper Binary Changes
<item>Secure ICAP
<item>Improved SMP support
</itemize>
behaviour explicitly if needed.
-<sect1>cert_valid.pl helper renamed
+<sect1>Helper Binary Changes
+<p>The <em>basic_msnt_multi_domain_auth</em> helper has been removed. The
+ <em>basic_smb_lm_auth</em> helper performs the same actions without extra
+ Perl and Samba dependencies.
+
<p>The <em>cert_valid.pl</em> testing helper has been renamed to
<em>security_fake_certverify</em>, reflecting the Squid helper naming schema
and that it does not actually perform any certificate checks.
-<p>This helper is also now built and installed by default. It is written in Perl
- so does not require OpenSSL dependencies for installation. But does use the
- Perl Crypt::OpenSSL::X509 module for execution.
+<p>The <em>security_fake_certverify</em> helper is also now built and installed
+ by default. It is written in Perl so does not require OpenSSL dependencies
+ for installation. But does use the Perl Crypt::OpenSSL::X509 module for execution.
-
-<sect1>MSNT-multi-domain helper removal
-<p>The <em>basic_msnt_multi_domain_auth</em> helper has been removed. The
- <em>basic_smb_lm_auth</em> helper performs the same actions without extra
- Perl and Samba dependencies.
+<p>The <em>ntlm_smb_lm_auth</em> helper is now built using <em>--enable-auth-ntlm="SMB_LM"</em>.
+ Notice the upper case where it was previously a (wrongly) lower cased acronym.
<sect1>Secure ICAP
<tag>--enable-auth-basic</tag>
<p>The <em>MSNT-multi-domain</em> helper has been removed.
+ <tag>--enable-auth-ntlm</tag>
+ <p>The SMB LanMan helper is now built using <em>SMB_LM</em>
+ (was lower case <em>smb_lm</em>).
+
<tag>--enable-diskio</tag>
<p>Auto-detection of SMP related modules has been fixed to
actually auto-detect them without configuring the module
include $(top_srcdir)/src/Common.am
include $(top_srcdir)/src/TestHeaders.am
+DIST_SUBDIRS= fake SMB_LM SSPI
+SUBDIRS= $(NTLM_AUTH_HELPERS)
+EXTRA_DIST= helpers.m4
+
noinst_LTLIBRARIES = libntlm.la
libntlm_la_SOURCES = \
include $(top_srcdir)/src/Common.am
libexec_PROGRAMS = ntlm_smb_lm_auth
-ntlm_smb_lm_auth_SOURCES = ntlm_smb_lm_auth.cc
+ntlm_smb_lm_auth_SOURCES = ntlm_smb_lm_auth.cc
ntlm_smb_lm_auth_LDADD = \
$(top_builddir)/lib/smblib/libsmblib.la \
$(top_builddir)/lib/rfcnb/librfcnb.la \
$(CRYPTLIB) \
$(XTRA_LIBS)
-AM_CPPFLAGS += -I$(top_srcdir)/lib
-
EXTRA_DIST = required.m4
#
# XXX: do we really need the mingw check?
if test "$squid_host_os" != "mingw"; then
- BUILD_HELPER="smb_lm"
+ BUILD_HELPER="SMB_LM"
AC_CHECK_HEADERS([w32api/windows.h windows.h],[BUILD_HELPER=""])
fi
include $(top_srcdir)/src/Common.am
-man_MANS = ntlm_sspi_auth.8
+man_MANS= ntlm_sspi_auth.8
+libexec_PROGRAMS= ntlm_sspi_auth
-libexec_PROGRAMS = ntlm_sspi_auth
-
-ntlm_sspi_auth_SOURCES = ntlm_sspi_auth.cc
-
-LDADD = \
+ntlm_sspi_auth_SOURCES= ntlm_sspi_auth.cc
+ntlm_sspi_auth_LDADD= \
$(top_builddir)/lib/ntlmauth/libntlmauth.la \
$(top_builddir)/lib/libsspwin32.la \
$(top_builddir)/lib/libmiscencoding.la \
-ladvapi32 \
$(XTRA_LIBS)
-EXTRA_DIST = ntlm_sspi_auth.8 required.m4
+EXTRA_DIST= \
+ ntlm_sspi_auth.8 \
+ required.m4
include $(top_srcdir)/src/Common.am
-libexec_PROGRAMS = ntlm_fake_auth
-ntlm_fake_auth_SOURCES = ntlm_fake_auth.cc
+libexec_PROGRAMS= ntlm_fake_auth
-ntlm_fake_auth_LDADD = \
+ntlm_fake_auth_SOURCES= ntlm_fake_auth.cc
+ntlm_fake_auth_LDADD= \
$(top_builddir)/lib/ntlmauth/libntlmauth.la \
$(top_builddir)/lib/libmiscencoding.la \
$(COMPAT_LIB) \
$(CRYPTLIB) \
$(XTRA_LIBS)
-AM_CPPFLAGS += -I$(top_srcdir)/lib
-
## Demo using perl.
## ntlm_fake_auth.pl: ntlm_fake_auth.pl.in
## $(subst_perlshell)
-EXTRA_DIST = required.m4 \
- ntlm_fake_auth.pl.in
+EXTRA_DIST= \
+ ntlm_fake_auth.pl.in \
+ required.m4
#define list of modules to build
auto_auth_ntlm_modules=no
if test "x$enable_auth_ntlm" = "xyes" ; then
- SQUID_LOOK_FOR_MODULES([$srcdir/helpers/ntlm_auth],[enable_auth_ntlm])
+ SQUID_LOOK_FOR_MODULES([$srcdir/src/auth/ntlm],[enable_auth_ntlm])
auto_auth_ntlm_modules=yes
fi
#handle the "none" special case
AUTH_MODULES="$AUTH_MODULES ntlm"
AC_DEFINE([HAVE_AUTH_MODULE_NTLM],1,[NTLM auth module is built])
for helper in $enable_auth_ntlm; do
- dir="$srcdir/helpers/ntlm_auth/$helper"
+ dir="$srcdir/src/auth/ntlm/$helper"
# modules converted to autoconf macros already
# NP: we only need this list because m4_include() does not accept variables
if test "x$helper" = "xfake" ; then
- m4_include([helpers/ntlm_auth/fake/required.m4])
+ m4_include([src/auth/ntlm/fake/required.m4])
- elif test "x$helper" = "xSSPI" ; then
- m4_include([helpers/ntlm_auth/SSPI/required.m4])
+ elif test "x$helper" = "xSMB_LM" ; then
+ m4_include([src/auth/ntlm/SMB_LM/required.m4])
- elif test "x$helper" = "xsmb_lm" ; then
- m4_include([helpers/ntlm_auth/smb_lm/required.m4])
+ elif test "x$helper" = "xSSPI" ; then
+ m4_include([src/auth/ntlm/SSPI/required.m4])
# modules not yet converted to autoconf macros (or third party drop-in's)
elif test -f "$dir/config.test" && sh "$dir/config.test" "$squid_host_os"; then
BUILD_HELPER="$helper"
fi
- if test -d "$srcdir/helpers/ntlm_auth/$helper"; then
+ if test -d "$srcdir/src/auth/ntlm/$helper"; then
if test "$BUILD_HELPER" != "$helper"; then
if test "x$auto_auth_ntlm_modules" = "xyes"; then
AC_MSG_NOTICE([NTLM auth helper $helper ... found but cannot be built])