[jcifs] Exists Junit tests?
Michael B Allen
miallen at ioplex.com
Tue Mar 4 23:37:07 GMT 2008
On Tue, 04 Mar 2008 16:07:50 -0600
"Christopher R. Hertel" <crh at ubiqx.mn.org> wrote:
> Don't forget the newest pile of doco: Microsoft has released the
> documentation they wrote for MCPP and WSPP programs.
>
> http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=573&SiteID=1
>
> Time will tell how much better this doco is relative the previous attempts.
Yeah, I saw this but I wasn't sure if it was ok to read it. Are there
still conditions attached to this stuff? I'm not just doing OSS anymore. I
have commercial software that I license to people.
Mike
> Michael B Allen wrote:
> > On Mon, 3 Mar 2008 11:22:32 +0100
> > "Jordi Martín" <jordimartin at gmail.com> wrote:
> >
> >> is possible I do [a CIFS] implementation in .NET (mono) for my
> >> final university project?
> >
> > Sure. You could do some basic file operations with NTLMv1 authentication.
> >
> > First, use WireShark to get a packet capture of Explorer looking at
> > some files.
> >
> > http://www.wireshark.org/
> >
> > Use these references to decipher what you're looking at:
> >
> > http://ubiqx.org/cifs/rfc-draft/draft-leach-cifs-v1-spec-02.html
> > http://ubiqx.org/cifs/
> > http://davenport.sourceforge.net/ntlm.html
> >
> > And look at JCIFS for design inspiration such as how it puts the request
> > and response into a map by MID and encodes and decodes frames.
> >
> > Then implement the following commands:
> >
> > SMB_COM_NEGOTIATE
> > SMB_COM_SESSION_SETUP_ANDX
> > SMB_COM_TREE_CONNECT_ANDX
> > SMB_COM_NT_CREATE_ANDX
> > SMB_COM_READ_ANDX
> > SMB_COM_WRITE_ANDX
> > SMB_COM_CLOSE
> > + all responses for above
> >
> > Finally, anyone who wants to implement the CIFS needs to know one very
> > important thing - the "official" CIFS documentation is not accurate
> > and does not reflect reality. There is NO specification. Do not believe
> > anything you read in the IETF draft or the SNIA document (same document
> > different formatting). Use it only as a hint. The definitive reference
> > is whatever you see on the wire.
> >
> > WireShark Rules!
> >
> > Good luck,
> >
> > Mike
> >
>
> --
> "Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
> Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
> jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq
> ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
> OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
>
--
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/
More information about the jcifs
mailing list