jcifs-1.3.16 from tgz
authorFelix <felix@h1611079.stratoserver.net>
Sun, 3 Jul 2011 10:41:40 +0000 (12:41 +0200)
committerFelix <felix@h1611079.stratoserver.net>
Sun, 3 Jul 2011 10:53:36 +0000 (12:53 +0200)
commit73e167fa40725341a18e3ecc80447b7d7402d43e
treee9faad131df7b851dede9738e2c2b39ff6895e7d
parentdeeaf5a142613be1606823ebd98719e7c2c11129
jcifs-1.3.16 from tgz

 * JCIFS now uses the InetSocketAddress class to explicitly bind and
   set the SO_TIMEOUT on client sockets before they are connected. This
   makes the SO_TIMEOUT effective when the target server socket is not
   listening and the client OS socket implementation takes a long time
   for the dropped SYN to timeout. This may significantly reduce
   resource consumption in applications that use multiple threads to
   constantly query servers that may not be listening.
 * When disconnecting a transport, new clauses have been added to better
   reset transport state whereas previously transports could get stuck
   in a disconnected state for unnecessarily long periods of time.
 * A new property jcifs.smb.client.ignoreCopyToException has been added.
   When set to "true" (the default), the SmbFile.copyTo() method will
   ignore (but log) exceptions trying to copy individual files or directories
   (such as because of a permissions error). To maintain backward
   compatibility, the default value of this property is "true" (exceptions
   are ignored). Setting this property to "false" will cause any exception
   that occurs trying to copy an individual file or directory to be thrown
   out of copyTo and abort the copy operation at the point of failure.
 * If an authentication exception occurs trying to connect to a server
   that has multiple IP addresses, JCIFS will not attempt to connect to
   more than one IP addresses because doing so could result in an account
   lockout.
 * The SID resolver code incorrectly resolved SIDs of an ACE in blocks
   of at most 10 where it should have used a limit of 64. This performance
   issue has been fixed.
 * JCIFS will not throw the artifical "Access is denied" error if the
   special NtlmPasswordCredential.ANONYMOUS credential is used explicitly
   (whereas normally JCIFS will deliberately throw an SmbAuthException
   if a login results in a guest login or if the anonymous identity is used).
 * The NetrServerEnum2 RAP call used incorrect parameter descriptiors which
   could result in "SmbException: 2320" errors trying to list domains and
   servers from the local NetBIOS browse service.
 * The NTLMSSP AUTHENTICATE_MESSAGE (aka "Type 2 Message") encoding routine
   incorrectly left out the TargetName field (although this had no effect
   on CIFS client behavior).
15 files changed:
build.xml
examples/ListFilesAnon.java [new file with mode: 0644]
examples/Makefile
examples/SidLookup.java
examples/TestGetParent.java [new file with mode: 0644]
examples/TestListLoop.java [new file with mode: 0644]
examples/runtests.sh
patches/GetOwnerSid.patch
src/jcifs/ntlmssp/Type2Message.java
src/jcifs/smb/NetServerEnum2.java
src/jcifs/smb/NtlmPasswordAuthentication.java
src/jcifs/smb/SmbFile.java
src/jcifs/smb/SmbSession.java
src/jcifs/smb/SmbTransport.java
src/jcifs/util/transport/Transport.java