Problems with recent Smaba-TNG CVS

Paul J Collins pjdc at eircom.net
Tue May 9 18:52:07 GMT 2000


>>>>> "Luke" == Luke Kenneth Casson Leighton <lkcl at samba.org> writes:

    Luke> paul, there was a bug in doman_client_validate which had
    Luke> been modded i fxed it.

Alas, as of 18:00 GMT, it is still broken.

I can confirm that restarting Samba after the log in allows access to
the server again.

In case the problem has been changed by your changes, below is the
chunk of log.smb that relates to an authentication failure.

Two differenes I have been able to see are the call_id in
prs_set_packtype, and the data in ncalrpc_l_send_prs (don't know if
this one should vary).

Paul.

--- BEGIN "log.smb" ---

cli_net_req_chal: LSA Request Challenge from \\. to STO-KERRIG: 0F6056C591E6FD6E
make_q_req_chal: 542
make_q_req_chal: 552
000000 net_io_q_req_chal 
    0000 undoc_buffer: 00000001
    000004 smb_io_unistr2 logon_srv
        0004 uni_max_len: 00000004
        0008 undoc      : 00000000
        000c uni_str_len: 00000004
        0010 buffer     : \.\.....
    000018 smb_io_unistr2 logon_clnt
        0018 uni_max_len: 0000000b
        001c undoc      : 00000000
        0020 uni_str_len: 0000000b
        0024 buffer     : S.T.O.-.K.E.R.R.I.G...
    00003a smb_io_chal clnt_chal
        003a data: 0f 60 56 c5 91 e6 fd 6e 
rpc_con_pipe_req: op_num 4 offset 66 used: 66
rpc_api_pipe_req: start: 0 off: 66
create_rpc_request: opnum: 0x4 data_len: 0x30
create_rpc_request: data_len: 30 auth_len: 0 alloc_hint: 18
000000 smb_io_rpc_hdr hdr    
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 00
    0003 flags     : 01
    0004 pack_type : 10 00 00 00 
prs_set_packtype: bigendian: No
    0008 frag_len  : 0030
    000a auth_len  : 0000
    000c call_id   : 000000cb
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 00000018
    0014 context_id: 0064
    0016 opnum     : 0004
frag_len: 0x30 data_len: 0x18 data_calc_len: 0x18
create_noauth_pdu: 95
create_noauth_pdu: 102
rpc_api_pipe_req: end: 24
ncalrpc_l_send_prs: data: 0x80cef00 len 48
[000] 05 00 00 01 10 00 00 00  30 00 00 00 CB 00 00 00  ........ 0.......
[010] 18 00 00 00 64 00 04 00  01 00 00 00 04 00 00 00  ....d... ........
[020] 00 00 00 00 04 00 00 00  5C 00 5C 00 2E 00 00 00  ........ \.\.....
write_socket(14,48)
write_socket_data: write failure. Error = Broken pipe
write_socket(14,48) wrote -1
write_socket: Error writing 48 bytes to socket 14: ERRNO = Broken pipe
rpc_con_pipe_req FAILED
cli_nt_setup_creds: request challenge failed
domain_client_validate: credentials failed (\\.)
SMB LM/NT Password did not match!
Rejecting user 'sneakums': authentication failed
32 bit error packet at line 493 cmd=115 (SMBsesssetupX) eclass=c000006d [Error: Unknown error (109,49152)]
error string = Broken pipe
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=16384
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=2944
smt_wct=0
smb_bcc=0

--- END "log.smb" ---

-- 
Paul Collins <sneakums at eircom.net> - - - - - [ A&P,a&f ]
 GPG: 0A49 49A9 2932 0EE5 89B2  9EE0 3B65 7154 8131 1BCD
 PGP: 88BA 2393 8E3C CECF E43A  44B4 0766 DD71 04E5 962C
"Linux: it's just this operating system, you know?"



More information about the samba-ntdom mailing list