[jcifs] Re: Ntlm authentication prompts 2nd user - Win 2003
Šoltís Ján
jan.soltis at softec.sk
Wed Jul 13 07:54:35 GMT 2005
> If you do not also suppy jcifs.smb.client.domain "preauthentication"
> will not work. Perhaps that is what you are missing?
I've added jcifs.smb.client.domain, but still the same error.
My jcifs properties:
-Djcifs.netbios.wins=193.87.236.36,193.87.236.4
-Djcifs.smb.client.domain=SOFTEC
-Djcifs.http.domainController=dcba02
-Djcifs.smb.client.username=someuser
-Djcifs.smb.client.password=somepswd
And the log:
treeConnect: unc=\\DCBA02\IPC$,service=?????
sessionSetup: accountName=soltis,primaryDomain=SOFTEC
update: 0 0:40
00000: C2 50 41 7B D4 5D 3E EB A0 40 A1 A2 B2 A1 D5 69 |ÂPA{Ô]>ë @?????i|
00010: AF ED C4 0B 5E 14 52 6B 34 0D B3 F5 C8 F0 DC D6 |?íÄ.^.Rk4.????ÜÖ|
00020: 80 88 EA 0D C3 0A 8D B8 |..?.?..¸ |
update: 1 4:222
00000: FF 53 4D 42 73 00 00 00 00 18 07 C0 00 00 06 00 |?SMBs......?....|
<snip>
digest:
00000: 6D FB 87 FF 57 61 B0 0F 9B 92 B1 99 D1 DE 7A E7 |m?.?Wa°...±.??zç|
SmbComSessionSetupAndX[command=SMB_COM_SESSION_SETUP_ANDX,received=false,errorCode=The operation completed successfully.,flags=0x0018,flags2=0xC007,signSeq=6,tid=0,pid=11705,uid=0,mid=6,wordCount=13,byteCount=115,andxCommand=0x75,andxOffset=176,snd_buf_size=16644,maxMpxCount=10,VC_NUMBER=1,sessionKey=0,passwordLength=24,unicodePasswordLength=24,capabilities=4180,accountName=soltis,primaryDomain=SOFTEC,NATIVE_OS=Windows 2003,NATIVE_LANMAN=jCIFS]
SmbComTreeConnectAndX[command=SMB_COM_TREE_CONNECT_ANDX,received=false,errorCode=The operation completed successfully.,flags=0x0018,flags2=0x0000,signSeq=0,tid=0,pid=11705,uid=0,mid=0,wordCount=4,byteCount=35,andxCommand=0xFF,andxOffset=0,disconnectTid=false,passwordLength=1,password=,path=\\DCBA02\IPC$,service=?????]
00000: FF 53 4D 42 73 00 00 00 00 18 07 C0 00 00 6D FB |?SMBs......?..m?|
00010: 87 FF 57 61 B0 0F 00 00 00 00 B9 2D 00 00 06 00 |.?Wa°.....?-....|
<snip>
New data read: Transport1[DCBA02<20>/193.87.236.2:445]
00000: FF 53 4D 42 73 22 00 00 C0 98 07 C0 00 00 7A B3 |?SMBs"..?..?..z?|
00010: F5 45 F9 0D 72 44 00 00 00 00 B9 2D 00 00 06 00 |?E?.rD....?-....|
update: 0 0:40
00000: C2 50 41 7B D4 5D 3E EB A0 40 A1 A2 B2 A1 D5 69 |ÂPA{Ô]>ë @?????i|
<snip>
update: 1 4:14
00000: FF 53 4D 42 73 22 00 00 C0 98 07 C0 00 00 |?SMBs"..?..?.. |
update: 2 0:8
00000: 07 00 00 00 00 00 00 00 |........ |
update: 3 26:13
00000: 00 00 00 00 B9 2D 00 00 06 00 00 00 00 |....?-....... |
digest:
00000: 08 C8 60 03 C2 C1 C6 1E 06 CD 66 41 91 1B 4B 6B |.?`.ÂÁ?..ÍfA..Kk|
signature verification failure
00000: 08 C8 60 03 C2 C1 C6 1E |.?`.ÂÁ?. |
00000: 7A B3 F5 45 F9 0D 72 44 |z??E?.rD |
NtlmHttpFilter: SOFTEC\soltis: 0xC0000022: jcifs.smb.SmbAuthException: Access is denied.
More information about the jcifs
mailing list