[jcifs] Problem with NTLM HTTP Authentication

Welsh, Phillip [JJCUS] PWELSH2 at CORUS.JNJ.com
Wed Oct 20 15:56:33 GMT 2004


We have a group using NTLM HTTP Authentication, and the same setup which
seems to be working elsewhere is failing, but only after initially working.
After login thru a forms-based login mechanism (using SmbSession.logon()
method), the NTLM HTTP authentication begins working again.  The log traces
show:

treeConnect: unc=\10.128.0.107\IPC$,service=?????
sessionSetup: accountName=RPOLLERS,primaryDomain=EU
treeConnect: unc=\10.128.0.107\IPC$,service=?????
sessionSetup: accountName=GUEST,primaryDomain=EU
SmbComSessionSetupAndX[command=SMB_COM_SESSION_SETUP_ANDX,received=false,err
orCode=The operation completed
successfully.,flags=0x0018,flags2=0xC007,signSeq=0,tid=0,pid=19729,uid=0,mid
=2,wordCount=13,byteCount=43,andxCommand=0x75,andxOffset=104,snd_buf_size=16
644,maxMpxCount=10,VC_NUMBER=1,sessionKey=0,passwordLength=0,unicodePassword
Length=0,capabilities=4180,accountName=GUEST,primaryDomain=EU,NATIVE_OS=HP-U
X,NATIVE_LANMAN=jCIFS]
SmbComTreeConnectAndX[command=SMB_COM_TREE_CONNECT_ANDX,received=false,error
Code=The operation completed
successfully.,flags=0x0018,flags2=0x0000,signSeq=0,tid=0,pid=19729,uid=0,mid
=0,wordCount=4,byteCount=47,andxCommand=0xFF,andxOffset=0,disconnectTid=fals
e,passwordLength=1,password=,path=\10.128.0.107\IPC$,service=?????]
new data read from socket: EU<1C>/10.128.0.107
SmbComSessionSetupAndXResponse[command=SMB_COM_SESSION_SETUP_ANDX,received=t
rue,errorCode=Logon failure: unknown user name or bad
password.,flags=0x0098,flags2=0xC007,signSeq=0,tid=0,pid=19729,uid=0,mid=2,w
ordCount=0,byteCount=0,andxCommand=0xFF,andxOffset=0,isLoggedInAsGuest=false
,nativeOs=,nativeLanMan=,primaryDomain=]
NtlmHttpFilter: EU\RPOLLERS: 0xC000006D: jcifs.smb.SmbAuthException: Logon
failure: unknown user name or bad password.


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


More information about the jcifs mailing list