]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Drop no_check.pl NTLM helper
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 14 Jun 2010 11:33:42 +0000 (23:33 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 14 Jun 2010 11:33:42 +0000 (23:33 +1200)
It was a near duplicate of ntlm_fake_auth. But with some additional
cons:
 * predictable challenge nonce (BAD)
 * less configurable
 * required run-time perl infrastructure.

The original perl code is kept as ntlm_fake_auth.pl.in for now but does
not get built and installed.

doc/release-notes/release-3.2.sgml
helpers/ntlm_auth/fake/Makefile.am
helpers/ntlm_auth/fake/ntlm_fake_auth.pl.in [moved from helpers/ntlm_auth/no_check/no_check.pl with 93% similarity]
helpers/ntlm_auth/no_check/Makefile.am [deleted file]
helpers/ntlm_auth/no_check/README.no_check_ntlm_auth [deleted file]
helpers/ntlm_auth/no_check/config.test [deleted file]

index 94e4a680c94aeb2d0868ac9147fb591825c7e6f7..764e19c4248549a9ad95185658d50d613c7198e1 100644 (file)
@@ -125,6 +125,7 @@ Most user-facing changes are reflected in squid.conf (see below).
 <p><itemize>
        <item>fakeauth_auth - ntlm_fake_auth - Perform NTLMSSP to recover the username but don't verify the password.
        <item>ntlm_auth - ntlm_smb_lm_auth - Perform SMB LanManager domain-less authentication over NTLM protocol.
+       <item>no_check.pl - Deprecated. - Use the faster and less decryptable ntlm_fake_auth instead.
 </itemize>
 
 <sect2>URL re-write helpers
index ee777c1b4322ef501dd0c3a8bb56fd7774188a2c..fc45bb36dbdf6873ac1256ccff064b30560cad0b 100644 (file)
@@ -9,6 +9,9 @@ ntlm_fake_auth_LDADD = \
        $(CRYPTLIB) \
        $(XTRA_LIBS)
 
-ntlm_fake_auth_DEPENDENCIES = $(top_builddir)/lib/libntlmauth.a
+## Demo using perl.
+## ntlm_fake_auth.pl: ntlm_fake_auth.pl.in
+##     $(subst_perlshell)
 
-EXTRA_DIST = config.test
+EXTRA_DIST = config.test \
+       ntlm_fake_auth.pl.in
similarity index 93%
rename from helpers/ntlm_auth/no_check/no_check.pl
rename to helpers/ntlm_auth/fake/ntlm_fake_auth.pl.in
index 414df0b47028afb1111671062d225997581c6e54..7c94efd10b4462bc39f1497d89e559c4b5f9709a 100755 (executable)
@@ -1,6 +1,16 @@
-#!/usr/bin/perl
+#!@PERL@
+#
 # (C) 2000 Francesco Chemolli <kinkie@kame.usr.dsi.unimi.it>
+# Distributed freely under the terms of the GNU General Public License,
+# version 2. For the licensing terms, see the file COPYING that
+# came with Squid.
 #
+# This is a dummy NTLM authentication module for Squid.
+# It performs the NTLM challenge, but then it doesn't verify the
+# user's credentials, it just takes the client's domain and username
+# at face value.
+# It's included mostly for demonstration purposes.
+# 
 # TODO: use command-line arguments
 
 #use MIME::Base64;
diff --git a/helpers/ntlm_auth/no_check/Makefile.am b/helpers/ntlm_auth/no_check/Makefile.am
deleted file mode 100644 (file)
index 305888a..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-#  Makefile for the Squid Object Cache server
-#
-#  $Id$
-#
-#  Uncomment and customize the following to suit your needs:
-#
-
-libexec_SCRIPTS        = no_check.pl
-
-EXTRA_DIST = \
-       no_check.pl \
-       README.no_check_ntlm_auth \
-       config.test
diff --git a/helpers/ntlm_auth/no_check/README.no_check_ntlm_auth b/helpers/ntlm_auth/no_check/README.no_check_ntlm_auth
deleted file mode 100644 (file)
index 19d895a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-This is a dummy NTLM authentication module for Squid.
-It performs the NTLM challenge, but then it doesn't verify the
-user's credentials, it just takes the client's domain and username
-at face value.
-It's included mostly for demonstration purposes.
-
-(C) 2000 Francesco Chemolli <kinkie@kame.usr.dsi.unimi.it>
-Distributed freely under the terms of the GNU General Public License, 
-version 2. For the licensing terms, see the file COPYING that
-came with Squid.
diff --git a/helpers/ntlm_auth/no_check/config.test b/helpers/ntlm_auth/no_check/config.test
deleted file mode 100755 (executable)
index 039e4d0..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exit 0