[jcifs] Ntlm authentication prompts 2nd user - Win 2003

Thu Jul 7 19:12:11 GMT 2005

Hello all-
I'm brand new to JCIFS.  I've downloaded jcifs-1.2.1 and read through
some old messages to this listserv dealing with this issue of login
prompting and nothing I have tried works so far.  We're using Windows
2003 for our domain controller.
I read on http://jcifs.samba.org/src/docs/ntlmhttpauth.html#signing the
author mentions my exact problem when using:  The first user to connect
validated perfectly.  The second user gets prompted.  I followed the
suggestion and added these init params to web.xml :
jcifs.smb.client.{domain,username,password} for "preauthentication", but
the same behavior persists.
I'm using the out of the box NtlmHttpAuthExample.java that comes with
jcifs-1.2.1 and running locally in WSSD 5.1.2 against a Tomcat 4.1
server accessing a Windows 2003 domain controller.
Here's my web.xml:
<web-app id="WebApp">






































I also tried adding an <init-param> for jcifs.smb.client.ssnLimit and
setting that value to 1, however, that caused me to be prompted every
time, including the first accessor.


Is there a setting in Windows 2003 that allows it to not have these
signing problems?  If so, what do I need to tell our server guys in
order to convince them it's not harmful :-)


Thanks in advance for any insights you might have!



-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list