![]() The Java CIFS Client Library |
|
LinksDownloadJCIFS NTLM HTTP Authentication The FAQ Mailing List Archive (GMANE) Obtaining a Network Packet Capture Developer InformationJCIFS API DocumentationSetting Client Properties Setting Name Resolution Properties Using JCIFS to Connect to Win32 Named Pipes JCIFS Exceptions and NtlmAuthenticator Using JCIFS NTLM Authentication for HTTP Connections JCIFS is Licensed Under the LGPL Related Java Projectsjcifs-ext - JCIFS ExtensionsJarapac - DCE/RPC in Java J-Integra - DCE/RPC in Java Davenport - WebDAV to CIFS gateway Starlasoft's JLAN Client and Server CIFS Authoritieshttp://www.samba.org/http://www.samba-tng.org/ Other CIFS Utilities and ToolsSamba for AmigaSharity-Lite SMB Browse for MacOSX Xamba Network Integration Project MSRPCRpcdump utility for querying RPC serversOpenGroup DCE/RPC Specification OpenGroup DCE/RPC Specification - NDR What OLE Is Really About KerberosRFC1510 - Kerberos V5 SpecificationHow a Kerberos Logon Works in Win2K JGSS Example Kerberos Explained W2K PAC Specification Technical Documentation"Implementing CIFS" (complete online book)Annotated CIFS Specification: draft-leach-cifs-v1-spec-02.html SNIA CIFS Technical Reference (V1.0) The NTLM Authentication Protocol A .NET Developer's Guide to Windows Security Windows System Error Codes Windows Network Management Error Codes rfc1001 - NetBIOS Concepts and Methods rfc1002 - NetBIOS Detailed Specifications CIFS Explained (A whitepaper by John Kleven) SMB URL draft specification V07 NetBIOS, NetBEUI, NBF, SMB, CIFS networking links page Microsoft Writeup on WINS behavior Microsoft Writeup on WINS under W2K Microsoft Server Documentation on Browsing WANs using WINS Windows IT Library: NT Network Plumbing Thursby Software's CIFS pages Linux Mag: Understanding the Network Neighborhood OtherJoin the JCIFS Mailing ListBrowse the Source Batching GNU Library General Public License http://www.gnu.org/ http://www.opensource.org/ Microsoft's CIFS Mailing List Archives |
Newsjcifs-1.1.11 released / File Corruption Bugfixposted by Mike, May 4, 2005 If a file is opened with SmbFileOutputStream, written to, and then the client waits for jcifs.smb.client.soTimeout without any communication to the target, a subsequent write could zero the contents of the file before the current file index resulting in file corruption. This problem has been fixed. And alternative to upgrading is to use RandomAccessFile which does not have this problem. Also in the download area is the "trans" release. This version has a completely rewritten transport layer, proper port 445+139 support as well as the beginnings of new features destined for 2.0. Use with caution - it's green. jcifs-1.1.10 released / DC Lookup Rewrite posted by Mike, Apr 17, 2005 The code used by the NTLM HTTP Filter to lookup and rotate through domain controllers has been considerably simplified. The NtlmChallenge class is now Serializeable , the timeout for rebuilding the filters DC list has been increased from 20 minutes to 10 hours, and the jcifs.netbios.lookupRespLimit default has been reduced to 3.
jcifs-1.1.9 released / Read Error
posted by Mike, Feb 28, 2005 When multiplexing I/O, if socket buffers fill up such that packets can be read in fragments (i.e. high load), it was possible for the 4 byte NetBIOS header to be read incorrectly resulting in a bogus unexpected EOF reading netbios session header exception. This problem has been fixed. Also, some small javadoc updates have been applied.
jcifs-1.1.8 released / Blocked Threads Again, DC Lookups, Name Service, and More
posted by Mike, Feb 11, 2005 The blocked thread bug wasn't quite fixed in the last release. A lookup exception (e.g. caused by an unresponsive domain controller) could leave a thread blocked if many requests are being processed simultaneously. Similarly the fix for the DC lookup code wasn't complete enough to handle the unusual scenario where all DCs are unresponsive. Also, a malfomed NetBIOS name query response could cause the name service thread to exit incorrectly. These issues have been fixed. Finally, the URL handling of smb://@/ (meaning "null" credentials) has been fixed. jcifs-1.1.7 released / Blocked Threads, DC Lookups, Signatures, and Other Fixes posted by Mike, Jan 16, 2005 A bug introduced in a recent release that could cause threads to wait indefinately has been fixed. After time many threads could be blocked resulting in wasted resources. The DC lookup code has been modified to gracefully handle WINS returning an empty list (e.g. due to temporary network failure). A simple fix has been applied that premits SMB signatures to work without specifying preauthentication credentials. The getAttributes() method will now return 31 bits of attributes whereas previously it would mask the lower 6 bits that JCIFS actually uses. A bug has been fixed that under certain conditions prevented copyTo() from copying entire shares. A try/catch block has been added to copyTo() to permit the copy to continue if an error occurs. jcifs-1.1.6 released / Minor Adjustments posted by Mike, Dec 27, 2004 If a variable length 8 bit encoding such as Big5 was used the NTCreateAndX command could fail. This bug has been fixed. If an SmbFile{Input,Output}Stream was closed, a subsequent operation could cause the file to be reopened. This behavior is now blocked such that operations performed on a stream after it has been closed will generate an IOException (to conform to java.io streams behavior). Some transport layer synchronization has been adjusted. A getPrincipal method has been added to SmbFile that will return the NtlmPasswordAuthentication object used as credentials for the file or pipe. An adjustment has been made to the NbtAddress.firstCalledName method that streamlines communication with domain controllers. The documentation has been updated regarding transparent NTLM authentication in Mozilla and the available() method of SmbFileInputStream. jcifs-1.1.5 released / ArrayIndexOutOfBoundsException posted by Santa, Dec 17, 2004 It was discovered that an ArrayIndexOutOfBoundsException could occur if the list of domain controllers returned by NbtAddress.getAllByName was shorter than the list returned in the previous call (possibly because the WINS query timed out and switched to an alternate WINS server). All NTLM HTTP Authentication Filter users should upgrade to prevent this error. Also, the value of jcifs.netbios.cachePolicy set by the NTLM HTTP Filter if it is not specified has been doubled to 20 minutes. Finally, some log levels have been increased such that running with jcifs.util.loglevel = 3 temporarily is actually reasonable in a production environment (must use loglevel > 3 to see individual SMB messages and loglevel > 5 to get hexdumps). jcifs-1.1.4 released / LMv2 Fix posted by Mike, Dec 7, 2004 Two bugs regarding the upcasing of domain and username fields with LMv2 authentication (used with lmCompatibility = 3) have been fixed. Additionally the firstCalledName/nextCalledName methods changed in 1.1.0 have been changed back to the old behavior. The change was not warranted as it did not emulate Windows behavior. jcifs-1.1.3 released / Concurrency Error Fixed posted by Mike, Nov 30, 2004 A concurrency error that was introduced with the getChallengeForDomain() code used by the NTLM HTTP Filter has been repaired. jcifs-1.1.2 released / Bogus Debugging Statement posted by Mike, Nov 2, 2004 Opps! A harmless println statement that found it's way into the last release has been removed. jcifs-1.1.1 released / logonShare and DCE Pipe Fixes posted by Casper, Oct 31, 2004 The jcifs.smb.client.logonShare (and thus the JCIFSACL NTLM HTTP Filter example) did not work. It would not restrict users to those found in the ACL and would instead permit all authenticated users. This has been fixed. A bug was discovered and fixed in the named pipe code. If a specific sequence of reads were performed the pipe could become corrupted. This fix is necessary for multi-pdu DCE requests to work. A small bug in the new NbtAddress.getAllByName() method has been repaired. It will now broadcast for a name if a WINS address was not provided. jcifs-1.1.0 released / NTLM HTTP Authentication Improvements posted by Mike, Oct 1, 2004 There have been significant changes that should improve the reliability and overall behavior of JCIFS particularly for users of the NtlmHttpFilter.
posted by Mike, Sep 6, 2004 The guest account fix released 6 hours ago broke guest access entirely. The original fix has been re-applied but with the bad test condition corrected. jcifs-1.0.0 released / 5 Years and Beyond posted by Mike, Sep 6, 2004 According to the freshmeat page, JCIFS is 5 years old today (vote for us!). The project has come a long way in those years. Its features now include:
[2] Client Host: 500MHz Debian Linux "testing" Java 1.4 JCIFS 1.0.0; Target Workstation: 2.7GHz 5.77GB Windows NT 4 sp6; Nework: 100 Mbps full-duplex switched; Test Program: examples/T2Crawler.java with println statements commented out, default properties, ran 3 times to load up target workstation cache; Results: $ time java -Djcifs.properties=../miallen.prp T2Crawler smb://myworksta/c$/ 3 1000, real 0m9.929s user 0m5.580s sys 0m0.600s [3] although currently extended attributes are not copied [4] NTLMv2 is not fully supported but LMv2 permits the client to operate in NTLMv2 environments [5] Unicode share names are not supported but will be soon now that RPCs are underway |
Last updated May 4, 2005 jcifs-1.1.11 Copyright © 2004 The JCIFS Project validate this page |