From 052649c8f76dd65368f9e1d727a99193e97b8a48 Mon Sep 17 00:00:00 2001 From: Felix Schumacher Date: Wed, 6 Aug 2008 16:20:59 +0200 Subject: [PATCH] jcifs-0.9.8 from tgz Thu Sep 2 18:45:35 EDT 2004 jcifs-0.9.8 released If the special "GUEST" account is not disabled (almost always is) it is possible for a bogus username to be authenticated successfully. This problem was only partially fixed previously. A clause was incorrectly added that was intended to allow the username "guest" to be authenticated successfully. It is now not possible for "guest" to be authenticated at all. A log message has been added to the NtlmHttpFilter that will be logged whenever an SmbAuthException is triggered and the jcifs.util.log.loglevel is greater than 1. For example, to enable logging authentication failures with the filter add the following to the filter section in your web.xml. jcifs.util.loglevel 2 An ArrayIndexOutOfBoundsException that could occur if NTLMv2 is used but lmCompatibility was not set to 3 accordingly has been fixed. --- README.txt | 23 +++++++++++++++++++++++ build.xml | 10 +++++----- examples/web.xml | 31 ++++++------------------------- src/jcifs/Config.java | 30 ++++++++++++++++++++---------- src/jcifs/http/NtlmHttpFilter.java | 18 ++++++++++++++++++ src/jcifs/smb/SmbComSessionSetupAndX.java | 10 ++++++---- src/jcifs/smb/SmbSession.java | 2 +- src/jcifs/util/Hexdump.java | 9 ++++++++- 8 files changed, 87 insertions(+), 46 deletions(-) diff --git a/README.txt b/README.txt index ee31da1..5cee51e 100644 --- a/README.txt +++ b/README.txt @@ -1,3 +1,26 @@ +Thu Sep 2 18:45:35 EDT 2004 +jcifs-0.9.8 released + +If the special "GUEST" account is not disabled (almost always is) it is +possible for a bogus username to be authenticated successfully. This +problem was only partially fixed previously. A clause was incorrectly added +that was intended to allow the username "guest" to be authenticated +successfully. It is now not possible for "guest" to be authenticated at +all. + +A log message has been added to the NtlmHttpFilter that will be logged +whenever an SmbAuthException is triggered and the jcifs.util.log.loglevel +is greater than 1. For example, to enable logging authentication failures +with the filter add the following to the filter section in your web.xml. + + + jcifs.util.loglevel + 2 + + +An ArrayIndexOutOfBoundsException that could occur if NTLMv2 is used but +lmCompatibility was not set to 3 accordingly has been fixed. + Tue Aug 10 21:25:03 EDT 2004 jcifs-0.9.7 released diff --git a/build.xml b/build.xml index 17b06a8..c860524 100644 --- a/build.xml +++ b/build.xml @@ -1,6 +1,6 @@ - + @@ -181,8 +181,8 @@ dependencies: Checks that all class dependencies are met.