[jcifs] Re: NTLM authentication to local computer when not on
Michael B Allen
mba2000 at ioplex.com
Fri Jan 16 20:44:09 GMT 2004
> Is it possible to perform NTLM authentication if the computer is not hooked
> up to the network.(no domain controller)? I want to authenticate against the
> local machine in which the user is logged into.
> I'm getting the following exception: jcifs.smb.SmbException" Connection
> refused: connect
> I'm setting the domain controller to the loop back address(127.0.0.1) when
> getting the exception above.(Since the computer isn't on the network it
> doesn't have an id address)
I believe this is usually possible. It may be necessary to use the laddr property.
Beware however that some machines/OSs like Windows 2000 on a laptop may shutdown
the ethernet controller to conserve power which may also effect localhost
communication. You would really need to explore the various OS and power
management settings as well as possibly some jCIFS settings.
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 jcifs