[jcifs] Once again with feeling: SessionKey

Christopher R. Hertel crh at ubiqx.mn.org
Thu Sep 5 02:04:00 EST 2002

>From what I've been able to dredge up (mostly old CIFS mailing list
discussions from 1998) it seems that no one really knows how the
SessionKey field is to be used.  My guess is that someone had a design
in mind, but it was never implemented...probably for [in]compatibility
reasons.  The field is related to the VC number, which has its own
troubles.  Hmmm...

Chris -)-----

"Michael B. Allen" wrote:
> On Wed, 4 Sep 2002 01:03:10 -0500
> "Christopher R. Hertel" <crh at ubiqx.mn.org> wrote:
> > I sent this query last Friday.  I'm still perplexed, even after having
> > read through all sorts of odd/obscure docs and ancient postings...
> >
> > Clues welcome:
> >
> >   There's an odd field in the Negotiate Protocol Response called the
> >   SessionKey field.  It does not appear to have any relationship to
> >   encryption or validation.  It's just a unique number generated by the
> >   server (W/95, for example).
> >
> >   I see that it is also present in the Session Setup Andx Request.
> >
> >   Is this field used, and if so how?  jCIFS doesn't echo it back to the
> >   server, but smbclient does (which is what I'd expect).  Yet jCIFS
> >   seems to work fine.
> >
> >   Either the field is ignored or I'm missing something obvious.  Clues
> >   welcome.
> None to give. Ask S. French. Sounds like something he would know all
> about.
> --
> A  program should be written to model the concepts of the task it
> performs rather than the physical world or a process because this
> maximizes  the  potential  for it to be applied to tasks that are
> conceptually  similar and more importantly to tasks that have not
> yet been conceived.

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

More information about the jcifs mailing list