WIN2000 with NTLMv2 required gets SEGV in samba4 libwinregistry

Matt Cobb mattc at lockdownnetworks.com
Thu Jun 30 04:19:06 GMT 2005


I'm getting a SEGV when trying to connect to an IPC on a Win2000 box
that requires NTLMv2.  I'm using samba4.  Attached is the network trace.
As soon as it gets the ntlmssp challenge, it goes down.  Is this a known
problem?

 

(gdb) bt

#0  0x4040a6f5 in memmove () from /lib/tls/libc.so.6

#1  0x0806a09b in MD5Update (ctx=0xbfffbe90, buf=0xbfffffc8 "10.105
36996 ::ffff:192.168.12.155 22",

    len=3221208800) at md5.c:92

#2  0x08069f10 in SMBOWFencrypt_ntv2 (kr=0xbfffffc8 "10.105 36996
::ffff:192.168.12.155 22",

    srv_chal_data=0xbfffffc8 "10.105 36996 ::ffff:192.168.12.155 22",
srv_chal_len=-1073741880,

    cli_chal_data=0xbfffffc8 "10.105 36996 ::ffff:192.168.12.155 22",
cli_chal_len=-1073741880,

    resp_buf=0xbfffffc8 "10.105 36996 ::ffff:192.168.12.155 22") at
smb_crypt2.c:67

#3  0x403294c5 in NTLMv2_generate_response () 

#4  0x403296f4 in SMBNTLMv2encrypt_hash () 

#5  0x40329859 in SMBNTLMv2encrypt () 

#6  0x403355bb in ntlmssp_client_challenge () 

#7  0x403330d0 in gensec_ntlmssp_update () 

#8  0x402a8c04 in gensec_update () 

#9  0x403315e6 in gensec_spnego_update () 

#10 0x402a8c04 in gensec_update () 

#11 0x402739e0 in request_handler ()

#12 0x4023771e in smbcli_transport_finish_recv () 

#13 0x4023348a in std_event_loop_epoll ()

#14 0x40233722 in std_event_loop_once () 

#15 0x40232b01 in event_loop_once () 

#16 0x403321eb in composite_wait () 

#17 0x4027351c in smb_composite_connect_recv () 

#18 0x402735b1 in smb_composite_connect () 

#19 0x402389e5 in smbcli_tree_full_connection () 

#20 0x4031252c in smbcli_full_connection () 

#21 0x40280b94 in dcerpc_pipe_connect_ncacn_np () 

---Type <return> to continue, or q <return> to quit---

#22 0x40281082 in dcerpc_pipe_connect_b ()

#23 0x402811bd in dcerpc_pipe_connect () 

#24 0x402f456c in reg_open_remote () 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntlmv2_2000_fails
Type: application/octet-stream
Size: 2216 bytes
Desc: ntlmv2_2000_fails
Url : http://lists.samba.org/archive/samba-technical/attachments/20050629/e118176a/ntlmv2_2000_fails.obj


More information about the samba-technical mailing list