[jcifs] Is there a simple C library for the NTLMSSP?

dave mobley scprotz at hotmail.com
Mon Jun 16 13:34:44 EST 2003


I have actually started work on such a thing (I need it for a DLL to perform 
authentication for users).

Initially, I'd just like an NTLMSSP library (or dll) that can be used to 
'help' with the authentication process.

My idea at first would be something that could just handle the basics (i.e. 
take the Type-1 message, decode it, generate the type 2 message, encode it, 
and hand it back to your application - even though there is a bunch of stuff 
going on behind the scenes, this should be pretty straight forward).

Secondly, once you (or you server, etc) receives the Type-3 message, then 
you send that to the DLL (with some other select info, hopefully cached from 
the Type-1 message, i.e. the Domain Controller, etc), and decode, perform 
the authentication, and hand back the username and status of authentication 
(i.e. a boolean whether it succeeded or failed).

If anyone is interested in working on this library, please let me know (My C 
is a bit rusty, but i'm doing OK on my own right now.  With a little help, 
i'm sure i could oil it up a bit, and be quite productive).

Please let me know what your thoughts are,

p.s. If no one has time, would anyone be available for C questions/code 
review from time to time? (always helps to have a second set of eyes :)

Dave Mobley
scprotz at hotmail.com


>From: "Allen, Michael B (RSCH)" <Michael_B_Allen at ml.com>
>To: "'Christopher R. Hertel'" <crh at ubiqx.mn.org>,   "dave mobley" 
><scprotz at hotmail.com>
>CC: jcifs at lists.samba.org
>Subject: RE: [jcifs] Is there a simple C library for the NTLMSSP?
>Date: Sun, 15 Jun 2003 23:15:36 -0400
>
>I don't think there is actually. At least not something that combines the
>client with NTLM HTTP auth like jCIFS does. This is something where jCIFS
>is actually leaps and bounds ahead of the other guys. The integration of
>everything is pretty good I think.
>
>Mike
>
> > -----Original Message-----
> > From:	Christopher R. Hertel [SMTP:crh at ubiqx.mn.org]
> > Sent:	Sunday, June 15, 2003 11:10 PM
> > To:	dave mobley
> > Cc:	jcifs at lists.samba.org
> > Subject:	Re: [jcifs] Is there a simple C library for the NTLMSSP?
> >
> > On Sun, Jun 15, 2003 at 11:46:15PM +0000, dave mobley wrote:
> > > Is there a simple C library for NTLMSSP?  (I looked in the Samba CVS 
>and
> > > saw something like it, but it didn't seem clear if that was the same 
>as the
> > > one provided as part of the jcifs package).  Any ideas, or does anyone 
>know
> > > of a port of the protocol?
> >
> > I don't know, actually.  I was surprised last week to find that there 
>were
> > three (give or take) client-side implementations written in Perl.
> >
> > Of course, I'm not sure what you're looking for here.  Client or Server
> > side?  NTLMSSP or NTLMSSP over HTTP or both?
> >
> > Hmmm...  Might be interesting to write such a thing...
> >
> > Chris -)-----
> >
> > --
> > "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
>

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus




More information about the jcifs mailing list