From: Felix Schumacher Date: Wed, 6 Aug 2008 14:22:23 +0000 (+0200) Subject: jcifs-1.0.1 from tgz X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=49a69d49e1a2670caac776913b8cb7b618ae408d;p=jcifs_without_docs.git jcifs-1.0.1 from tgz Mon Sep 6 20:44:14 EDT 2004 jcifs-1.0.1 released The GUEST account fix broke guest access entirely for machines that deliberately want it. So this is the original fix but with the test condition corrected. --- diff --git a/README.txt b/README.txt index c6d419e..5cb40b7 100644 --- a/README.txt +++ b/README.txt @@ -1,9 +1,16 @@ -Sun Sep 5 19:02:41 EDT 2004 +Mon Sep 6 20:44:14 EDT 2004 +jcifs-1.0.1 released + +The GUEST account fix broke guest access entirely for machines that +deliberately want it. So this is the original fix but with the test +condition corrected. + +Mon Sep 6 14:59:26 EDT 2004 jcifs-1.0.0 released Other than minor changes in packaging this code is identical to 0.9.8 -released 3 days ago. From now one all development will continue in the ??? -branch so that the 1.x series remains as stable as possible. +released 3 days ago. From now one all development will continue in the 2.0 +(?) branch so that the 1.x series remains as stable as possible. Thu Sep 2 18:45:35 EDT 2004 jcifs-0.9.8 released diff --git a/build.xml b/build.xml index 037f747..7bca1eb 100644 --- a/build.xml +++ b/build.xml @@ -1,6 +1,6 @@ - + diff --git a/src/jcifs/smb/SmbSession.java b/src/jcifs/smb/SmbSession.java index 7fd799d..3b95cc1 100644 --- a/src/jcifs/smb/SmbSession.java +++ b/src/jcifs/smb/SmbSession.java @@ -188,7 +188,7 @@ synchronized( transport() ) { request.auth = auth; transport.send( request, response ); - if( response.isLoggedInAsGuest ) { + if( response.isLoggedInAsGuest && "GUEST".equalsIgnoreCase( auth.username ) == false ) { throw new SmbAuthException( NtStatus.NT_STATUS_LOGON_FAILURE ); }