[jcifs] Access denied issues on some environments

Ravi_116 ravi116 at gmail.com
Wed Aug 13 21:36:46 GMT 2008


Here is the config params -

    <filter-name>NtlmHttpFilter</filter-name>
    <filter-class>jcifs.http.NtlmHttpFilter</filter-class>

    <init-param>
        <param-name>jcifs.http.domainController</param-name>
        <param-value>172.20.0.77</param-value>
    </init-param>

    <!--
        always needed for preauthentication / SMB signatures
    -->
    <init-param>
        <param-name>jcifs.smb.client.domain</param-name>
        <param-value>QA</param-value>
    </init-param>
    <init-param>
        <param-name>jcifs.smb.client.username</param-name>
        <param-value>crm</param-value>
    </init-param>
    <init-param>
        <param-name>jcifs.smb.client.password</param-name>
        <param-value>Password</param-value>
    </init-param>
    <init-param>
        <param-name>jcifs.util.loglevel</param-name>
        <param-value>6</param-value>
    </init-param>    
        <init-param>
        <param-name>jcifs.encoding</param-name>
        <param-value>ASCII</param-value>
    </init-param> 

Here is the trace file -


treeConnect: unc=\\QA-DC1\IPC$,service=?????
sessionSetup: accountName=ryan,primaryDomain=qa
update: 0 0:40
00000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
00010: 8A 83 CA 0B 34 35 8D 79 DE 0F 6B 83 97 C6 8C 9B  |..Ê.45.yÞ.k..Æ..|
00020: 17 16 80 26 D5 4F 70 C7                          |...&ÕOpÇ        |

update: 1 4:210
00000: FF 53 4D 42 73 00 00 00 00 18 07 C0 00 00 06 00  |ÿSMBs......À....|
00010: 00 00 00 00 00 00 00 00 00 00 40 95 00 00 05 00  |.......... at .....|
00020: 0D 75 00 A4 00 04 11 0A 00 01 00 00 00 00 00 18  |.u.¤............|
00030: 00 18 00 00 00 00 00 54 10 00 00 67 00 CD 71 78  |.......T...g.Íqx|
00040: DA 4E A1 37 67 89 83 A0 21 EC E5 4D 3E 90 3E 11  |ÚN¡7g.. !ìåM>.>.|
00050: AE B3 AB 4B FE 8A 83 CA 0B 34 35 8D 79 DE 0F 6B  |®³«Kþ..Ê.45.yÞ.k|
00060: 83 97 C6 8C 9B 17 16 80 26 D5 4F 70 C7 00 72 00  |..Æ.....&ÕOpÇ.r.|
00070: 79 00 61 00 6E 00 00 00 51 00 41 00 00 00 57 00  |y.a.n...Q.A...W.|
00080: 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 32 00  |i.n.d.o.w.s. .2.|
00090: 30 00 30 00 33 00 00 00 6A 00 43 00 49 00 46 00  |0.0.3...j.C.I.F.|
000A0: 53 00 00 00 04 FF 00 DE DE 00 00 01 00 23 00 00  |S....ÿ.ÞÞ....#..|
000B0: 5C 00 5C 00 51 00 41 00 2D 00 44 00 43 00 31 00  |\.\.Q.A.-.D.C.1.|
000C0: 5C 00 49 00 50 00 43 00 24 00 00 00 3F 3F 3F 3F  |\.I.P.C.$...????|
000D0: 3F 00                                            |?.              |

digest: 
00000: 35 FF E8 14 DA DD 96 12 E4 3D 58 1C 34 13 5D C6  |5ÿè.ÚÝ..ä=X.4.]Æ|

SmbComSessionSetupAndX[command=SMB_COM_SESSION_SETUP_ANDX,received=false,errorCode=0,flags=0x0018,flags2=0xC007,signSeq=6,tid=0,pid=38208,uid=0,mid=5,wordCount=13,byteCount=103,andxCommand=0x75,andxOffset=164,snd_buf_size=4356,maxMpxCount=10,VC_NUMBER=1,sessionKey=0,passwordLength=24,unicodePasswordLength=24,capabilities=4180,accountName=ryan,primaryDomain=QA,NATIVE_OS=Windows
2003,NATIVE_LANMAN=jCIFS]
SmbComTreeConnectAndX[command=SMB_COM_TREE_CONNECT_ANDX,received=false,errorCode=0,flags=0x0018,flags2=0x0000,signSeq=0,tid=0,pid=38208,uid=0,mid=0,wordCount=4,byteCount=35,andxCommand=0xFF,andxOffset=0,disconnectTid=false,passwordLength=1,password=,path=\\QA-DC1\IPC$,service=?????]
00000: FF 53 4D 42 73 00 00 00 00 18 07 C0 00 00 35 FF  |ÿSMBs......À..5ÿ|
00010: E8 14 DA DD 96 12 00 00 00 00 40 95 00 00 05 00  |è.ÚÝ...... at .....|
00020: 0D 75 00 A4 00 04 11 0A 00 01 00 00 00 00 00 18  |.u.¤............|
00030: 00 18 00 00 00 00 00 54 10 00 00 67 00 CD 71 78  |.......T...g.Íqx|
00040: DA 4E A1 37 67 89 83 A0 21 EC E5 4D 3E 90 3E 11  |ÚN¡7g.. !ìåM>.>.|
00050: AE B3 AB 4B FE 8A 83 CA 0B 34 35 8D 79 DE 0F 6B  |®³«Kþ..Ê.45.yÞ.k|
00060: 83 97 C6 8C 9B 17 16 80 26 D5 4F 70 C7 00 72 00  |..Æ.....&ÕOpÇ.r.|
00070: 79 00 61 00 6E 00 00 00 51 00 41 00 00 00 57 00  |y.a.n...Q.A...W.|
00080: 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 32 00  |i.n.d.o.w.s. .2.|
00090: 30 00 30 00 33 00 00 00 6A 00 43 00 49 00 46 00  |0.0.3...j.C.I.F.|
000A0: 53 00 00 00 04 FF 00 DE DE 00 00 01 00 23 00 00  |S....ÿ.ÞÞ....#..|
000B0: 5C 00 5C 00 51 00 41 00 2D 00 44 00 43 00 31 00  |\.\.Q.A.-.D.C.1.|
000C0: 5C 00 49 00 50 00 43 00 24 00 00 00 3F 3F 3F 3F  |\.I.P.C.$...????|
000D0: 3F 00                                            |?.              |

New data read: Transport1[QA-DC1<00>/172.20.0.77:0]
00000: FF 53 4D 42 73 22 00 00 C0 98 07 C0 00 00 E4 86  |ÿSMBs"..À..À..ä.|
00010: FD 9D 99 C2 EC 1A 00 00 00 00 40 95 00 00 05 00  |ý..Âì..... at .....|

SmbComSessionSetupAndXResponse[command=SMB_COM_SESSION_SETUP_ANDX,received=false,errorCode=Access
is
denied.,flags=0x0098,flags2=0xC007,signSeq=7,tid=0,pid=38208,uid=0,mid=5,wordCount=0,byteCount=0,andxCommand=0xFF,andxOffset=0,isLoggedInAsGuest=false,nativeOs=,nativeLanMan=,primaryDomain=]
00000: FF 53 4D 42 73 22 00 00 C0 98 07 C0 00 00 E4 86  |ÿSMBs"..À..À..ä.|
00010: FD 9D 99 C2 EC 1A 00 00 00 00 40 95 00 00 05 00  |ý..Âì..... at .....|
00020: 00 00 00                                         |...             |

NtlmHttpFilter: qa\ryan: 0xC0000022: jcifs.smb.SmbAuthException: Access is
denied.

Ravi




Ravi_116 wrote:
> 
> This message is related to the post that for some reason does not show up
> at top.
> 
> 
> http://www.nabble.com/Re%3A-NTLM-authentication-with-Windows-2003-Server---not-really-solved-to6925540.html#a18948991
> http://www.nabble.com/Re%3A-NTLM-authentication-with-Windows-2003-Server---not-really-solved-to6925540.html#a18948991 
> 
> Does anyone have an update on this ?
> 
> Any help is appreciated,
> 
> Ravi
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Access-denied-issues-on-some-environments-tp18953687p18971701.html
Sent from the Samba - jcifs mailing list archive at Nabble.com.



More information about the jcifs mailing list