using the Samba client library for NTLM authentication

Michael B Allen mba2000 at ioplex.com
Thu Oct 2 20:16:02 GMT 2003


> hi
>
> i'm interested in using the Samba v3.0 client library for implementing
> automatic logon for a web application for Windows network authenticated
> MS IE users (NTLM-over-HTTP). the required API should make it possible
> to negotiate authentication parameters (+get challenge) and authenticate
> a user in separate phases. the NTLM library i've tested so far seems to
> require that the same operating system process executes both phases of
> the authentication protocol. in effect this means that i can only use
> one authentication process. i'd like to be able to increase
> authentication concurrency if possible. can i use the Samba libraries
> for this? can anyone give any pointers to relevant documentation or code
> examples?

If your web application is written in Java, jCIFS has good support for
this and it can handle many transactions concurrently over one socket. One
person cliamed "hundreds of thousands" of authentications using the NTLM
HTTP servlet filter.

  http://jcifs.samba.org/

Mike

-- 
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  important, to tasks that have not
yet been conceived.



More information about the samba-technical mailing list