SAMBA_TNG authentication broken as from jan 12th onwards

Simon Hyde shyde at raw.sunion.warwick.ac.uk
Fri Jan 14 17:19:50 GMT 2000


Some time between the afternoon of january the 11th (GMT) and the evening
of january 12th (GMT) the SAMBA_TNG CVS tree code began turning down all
authentication attempts, attatched is a SMB log of an attempted login
using smbclient and smbd from the latest SAMBA_TNG CVS (as of about 30
mins ago).

Any help/hints as to what i might be doing wrong would be great.

Simon Hyde
-- 
IT Manager
RaW - Radio Warwick
-------------- next part --------------

do_reseed: got 40 bytes from /dev/urandom.
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Jan 12 18:54:05 2000

Changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
open_oplock ipc: pid = 13383, global_oplock_port = 1527
priming nmbd
sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
Serverzone is 0
got smb length of 72
Allowed connection from <hostname of client> (<ip-address of client>)
got message type 0x81 of len 0x48
Transaction 0 of length 76
netbios connect: name1=RAW              name2=RAW            
getpwnam(raw)
Building passwd hash table
Building passwd hash table for the first time
raw not found
getpwnam(raw)
raw not found
getpwnam(RAW)
RAW not found
getpwnam(Raw)
Raw not found
getpwnam(raW)
raW not found
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Jan 12 18:54:05 2000

claiming STATUS. 100000
init msg_type=0x81 msg_flags=0x0
write_socket(8,4)
write_socket(8,4) wrote 4
got smb length of 164
got message type 0x0 of len 0xa4
Transaction 1 of length 168
size=164
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=0
smb_pid=13382
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=129
[000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
[010] 52 41 4D 20 31 2E 30 00  02 4D 49 43 52 4F 53 4F  RAM 1.0. .MICROSO
[020] 46 54 20 4E 45 54 57 4F  52 4B 53 20 31 2E 30 33  FT NETWO RKS 1.03
[030] 00 02 4D 49 43 52 4F 53  4F 46 54 20 4E 45 54 57  ..MICROS OFT NETW
[040] 4F 52 4B 53 20 33 2E 30  00 02 4C 41 4E 4D 41 4E  ORKS 3.0 ..LANMAN
[050] 31 2E 30 00 02 4C 4D 31  2E 32 58 30 30 32 00 02  1.0..LM1 .2X002..
[060] 53 61 6D 62 61 00 02 4E  54 20 4C 41 4E 4D 41 4E  Samba..N T LANMAN
[070] 20 31 2E 30 00 02 4E 54  20 4C 4D 20 30 2E 31 32   1.0..NT  LM 0.12
[080] 00                                                . 
switch message SMBnegprot (pid 13383)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [MICROSOFT NETWORKS 1.03]
Requested protocol [MICROSOFT NETWORKS 3.0]
Requested protocol [LANMAN1.0]
Requested protocol [LM1.2X002]
Requested protocol [Samba]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Jan 12 18:54:05 2000

lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Jan 12 18:54:05 2000

Selected protocol NT LANMAN 1.0
negprot index=6
size=91
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=13382
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=18176 (0x4700)
smb_vwv[8]=52 (0x34)
smb_vwv[9]=12544 (0x3100)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=12462 (0x30AE)
smb_vwv[13]=45447 (0xB187)
smb_vwv[14]=48990 (0xBF5E)
smb_vwv[15]=1 (0x1)
smb_vwv[16]=2048 (0x800)
smb_bcc=22
[000] AD FB 97 DC 38 1F AF 9D  52 00 41 00 57 00 4E 00  ....8... R.A.W.N.
[010] 45 00 54 00 00 00                                 E.T... 
write_socket(8,95)
write_socket(8,95) wrote 95
got smb length of 136
got message type 0x0 of len 0x88
Transaction 2 of length 140
size=136
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=0
smb_pid=13382
smb_uid=0
smb_mid=1
smt_wct=13
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=17408 (0x4400)
smb_vwv[3]=2 (0x2)
smb_vwv[4]=13382 (0x3446)
smb_vwv[5]=13383 (0x3447)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=24 (0x18)
smb_vwv[8]=24 (0x18)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=0 (0x0)
smb_bcc=75
[000] A1 29 D6 1B 4E 93 54 A8  35 54 54 CD 67 6B F2 F6  .)..N.T. 5TT.gk..
[010] 46 20 89 58 7C 32 0A 8D  F0 1C DC D4 35 42 C1 83  F .X|2.. ....5B..
[020] 7B 91 B5 72 1F 6E 3A 7F  31 17 2C A2 94 10 E4 9F  {..r.n:. 1.,.....
[030] 44 45 46 41 55 4C 54 00  52 41 57 4E 45 54 00 55  DEFAULT. RAWNET.U
[040] 6E 69 78 00 00 53 61 6D  62 61 00                 nix..Sam ba.
switch message SMBsesssetupX (pid 13383)
Domain=[RAWNET]  NativeOS=[Unix] NativeLanMan=[]
sesssetupX:name=[DEFAULT]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Jan 12 18:54:05 2000

map_nt_and_unix_username: NT->Unix map DISABLED
getpwnam(default)
Found: default:x:532:1003::/home/default:/bin/bash
getpwnam(default)
Found: default:x:532:1003::/home/default:/bin/bash
getpwnam(default)
Found: default:x:532:1003::/home/default:/bin/bash
Checking SMB password, user default domain RAWNET
check_domain_security: RAW(2)
get_any_dc_name: domain RAWNET
local domain server list: 
trust_account_file_name: /usr/local/samba/private/RAWNET.RAW.mac
cli_connection_init: \\. \PIPE\NETLOGON
copy_nt_creds: null creds
msrpc_use_add: NETLOGON redir: No
msrpc_find: NETLOGON  
copy_nt_creds: null creds
msrpc_establish_connection: connecting to NETLOGON () - 
socket open succeeded.  file name: /usr/local/samba/var/locks/.msrpc/NETLOGON
create_user_creds: NETLOGON 0 0
000004 creds_io_cmd creds
    0004 version: 0000
    0006 command: 0000
    0008 name   : NETLOGON
    0014 ptr_creds: 00000001
    000018 creds_io_hybrid creds
        0018 reuse: 00000000
        001c ptr_ntc: 00000000
        0020 ptr_uxc: 00000000
        0024 ptr_nts: 00000000
        0028 ptr_uxs: 00000000
        002c ptr_ssk: 00000000
Bind RPC Pipe: \PIPE\NETLOGON
Bind Abstract Syntax:
[000] 78 56 34 12 34 12 CD AB  EF 00 01 23 45 67 CF FB  xV4.4... ...#Eg..
[010] 01 00 00 00                                       .... 
Bind Transfer Syntax:
[000] 04 5D 88 8A EB 1C C9 11  9F E8 08 00 2B 10 48 60  .]...... ....+.H`
[010] 02 00 00 00                                       .... 
create_rpc_noauth_bind_req
000000 smb_io_rpc_hdr_rb 
    000000 smb_io_rpc_hdr_bba 
        0000 max_tsize: 1630
        0002 max_rsize: 1630
        0004 assoc_gid: 00000000
    0008 num_elements: 00000001
    000c context_id  : 0000
    000e num_syntaxes: 01
    00000f smb_io_rpc_iface 
        0010 data   : 78 56 34 12 34 12 cd ab ef 00 01 23 45 67 cf fb 
        0020 version: 00000001
    000024 smb_io_rpc_iface 
        0024 data   : 04 5d 88 8a eb 1c c9 11 9f e8 08 00 2b 10 48 60 
        0034 version: 00000002
000000 smb_io_rpc_hdr hdr
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 0b
    0003 flags     : 00
    0004 pack_type : 00000010
    0008 frag_len  : 0048
    000a auth_len  : 0000
    000c call_id   : 00000001
msrpc_send_prs: data: 0x8162248 len 72
[000] 05 00 0B 00 10 00 00 00  48 00 00 00 01 00 00 00  ........ H.......
[010] 30 16 30 16 00 00 00 00  01 00 00 00 00 00 01 00  0.0..... ........
[020] 78 56 34 12 34 12 CD AB  EF 00 01 23 45 67 CF FB  xV4.4... ...#Eg..
[030] 01 00 00 00 04 5D 88 8A  EB 1C C9 11 9F E8 08 00  .....].. ........
[040] 2B 10 48 60 02 00 00 00                           +.H`.... 
write_socket(0,72)
write_socket(0,72) wrote 72
msrpc_receive: 126
rpc_check_hdr: rdata->data_size: 0
000000 smb_io_rpc_hdr rpc_hdr   
_prs_uint8 error ps: io Yes align 4 offset 0 err 1 data (nil) len 0
rpc_check_hdr: error in rpc header
rpc_pipe_bind failed
msrpc_net_use_del: \\.. force close: No
cli_nt_setup_creds: request challenge failed
domain_client_validate: credentials failed (\\.)
password_ok: check Unix auth
getpwnam(default)
Found: default:x:532:1003::/home/default:/bin/bash
Checking password for user default (l=24)
SMB LM/NT Password did not match!
error packet at line 621 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
error string = No such file or directory
size=35
smb_com=0x73
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=13382
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=0

write_socket(8,39)
write_socket(8,39) wrote 39
got smb length of 72
got message type 0x81 of len 0x48
Transaction 3 of length 76
netbios connect: name1=*SMBSERVER       name2=RAW            
getpwnam(raw)
raw not found
getpwnam(raw)
raw not found
getpwnam(RAW)
RAW not found
getpwnam(Raw)
Raw not found
getpwnam(raW)
raW not found
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Jan 12 18:54:05 2000

claiming STATUS. 100000
init msg_type=0x81 msg_flags=0x0
write_socket(8,4)
write_socket(8,4) wrote 4
got smb length of 164
got message type 0x0 of len 0xa4
Transaction 4 of length 168
size=164
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=0
smb_pid=13382
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=129
[000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
[010] 52 41 4D 20 31 2E 30 00  02 4D 49 43 52 4F 53 4F  RAM 1.0. .MICROSO
[020] 46 54 20 4E 45 54 57 4F  52 4B 53 20 31 2E 30 33  FT NETWO RKS 1.03
[030] 00 02 4D 49 43 52 4F 53  4F 46 54 20 4E 45 54 57  ..MICROS OFT NETW
[040] 4F 52 4B 53 20 33 2E 30  00 02 4C 41 4E 4D 41 4E  ORKS 3.0 ..LANMAN
[050] 31 2E 30 00 02 4C 4D 31  2E 32 58 30 30 32 00 02  1.0..LM1 .2X002..
[060] 53 61 6D 62 61 00 02 4E  54 20 4C 41 4E 4D 41 4E  Samba..N T LANMAN
[070] 20 31 2E 30 00 02 4E 54  20 4C 4D 20 30 2E 31 32   1.0..NT  LM 0.12
[080] 00                                                . 
switch message SMBnegprot (pid 13383)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [MICROSOFT NETWORKS 1.03]
Requested protocol [MICROSOFT NETWORKS 3.0]
Requested protocol [LANMAN1.0]
Requested protocol [LM1.2X002]
Requested protocol [Samba]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Jan 12 18:54:05 2000

lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Jan 12 18:54:05 2000

Selected protocol NT LANMAN 1.0
negprot index=6
size=91
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=13382
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=18176 (0x4700)
smb_vwv[8]=52 (0x34)
smb_vwv[9]=12544 (0x3100)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=25051 (0x61DB)
smb_vwv[13]=45448 (0xB188)
smb_vwv[14]=48990 (0xBF5E)
smb_vwv[15]=1 (0x1)
smb_vwv[16]=2048 (0x800)
smb_bcc=22
[000] F3 17 CA 71 52 2C 0E 6E  52 00 41 00 57 00 4E 00  ...qR,.n R.A.W.N.
[010] 45 00 54 00 00 00                                 E.T... 
write_socket(8,95)
write_socket(8,95) wrote 95
got smb length of 136
got message type 0x0 of len 0x88
Transaction 5 of length 140
size=136
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=18433
smb_tid=0
smb_pid=13382
smb_uid=0
smb_mid=1
smt_wct=13
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=17408 (0x4400)
smb_vwv[3]=2 (0x2)
smb_vwv[4]=13382 (0x3446)
smb_vwv[5]=13383 (0x3447)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=24 (0x18)
smb_vwv[8]=24 (0x18)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=0 (0x0)
smb_bcc=75
[000] EF 1E 44 16 D4 47 DE 14  8A 33 61 5D BB 6B 36 E6  ..D..G.. .3a].k6.
[010] 67 3C AC ED 35 4D 6E 49  4A BE B1 B7 77 47 3A F3  g<..5MnI J...wG:.
[020] 9C 79 75 A8 28 B3 D8 D6  D6 7B 08 76 A3 8B 25 3C  .yu.(... .{.v..%<
[030] 44 45 46 41 55 4C 54 00  52 41 57 4E 45 54 00 55  DEFAULT. RAWNET.U
[040] 6E 69 78 00 00 53 61 6D  62 61 00                 nix..Sam ba.
switch message SMBsesssetupX (pid 13383)
Domain=[RAWNET]  NativeOS=[Unix] NativeLanMan=[]
sesssetupX:name=[DEFAULT]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Jan 12 18:54:05 2000

map_nt_and_unix_username: NT->Unix map DISABLED
getpwnam(default)
Found: default:x:532:1003::/home/default:/bin/bash
getpwnam(default)
Found: default:x:532:1003::/home/default:/bin/bash
getpwnam(default)
Found: default:x:532:1003::/home/default:/bin/bash
Checking SMB password, user default domain RAWNET
check_domain_security: RAW(2)
get_any_dc_name: domain RAWNET
local domain server list: 
trust_account_file_name: /usr/local/samba/private/RAWNET.RAW.mac
cli_connection_init: \\. \PIPE\NETLOGON
copy_nt_creds: null creds
msrpc_use_add: NETLOGON redir: No
msrpc_find: NETLOGON  
msrpc_find[0]: NETLOGON  
copy_nt_creds: null creds
msrpc_establish_connection: connecting to NETLOGON () - 
socket open succeeded.  file name: /usr/local/samba/var/locks/.msrpc/NETLOGON
create_user_creds: NETLOGON 0 0
000004 creds_io_cmd creds
    0004 version: 0000
    0006 command: 0000
    0008 name   : NETLOGON
    0014 ptr_creds: 00000001
    000018 creds_io_hybrid creds
        0018 reuse: 00000000
        001c ptr_ntc: 00000000
        0020 ptr_uxc: 00000000
        0024 ptr_nts: 00000000
        0028 ptr_uxs: 00000000
        002c ptr_ssk: 00000000
Bind RPC Pipe: \PIPE\NETLOGON
Bind Abstract Syntax:
[000] 78 56 34 12 34 12 CD AB  EF 00 01 23 45 67 CF FB  xV4.4... ...#Eg..
[010] 01 00 00 00                                       .... 
Bind Transfer Syntax:
[000] 04 5D 88 8A EB 1C C9 11  9F E8 08 00 2B 10 48 60  .]...... ....+.H`
[010] 02 00 00 00                                       .... 
create_rpc_noauth_bind_req
000000 smb_io_rpc_hdr_rb 
    000000 smb_io_rpc_hdr_bba 
        0000 max_tsize: 1630
        0002 max_rsize: 1630
        0004 assoc_gid: 00000000
    0008 num_elements: 00000001
    000c context_id  : 0000
    000e num_syntaxes: 01
    00000f smb_io_rpc_iface 
        0010 data   : 78 56 34 12 34 12 cd ab ef 00 01 23 45 67 cf fb 
        0020 version: 00000001
    000024 smb_io_rpc_iface 
        0024 data   : 04 5d 88 8a eb 1c c9 11 9f e8 08 00 2b 10 48 60 
        0034 version: 00000002
000000 smb_io_rpc_hdr hdr
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 0b
    0003 flags     : 00
    0004 pack_type : 00000010
    0008 frag_len  : 0048
    000a auth_len  : 0000
    000c call_id   : 00000002
msrpc_send_prs: data: 0x8162a10 len 72
[000] 05 00 0B 00 10 00 00 00  48 00 00 00 02 00 00 00  ........ H.......
[010] 30 16 30 16 00 00 00 00  01 00 00 00 00 00 01 00  0.0..... ........
[020] 78 56 34 12 34 12 CD AB  EF 00 01 23 45 67 CF FB  xV4.4... ...#Eg..
[030] 01 00 00 00 04 5D 88 8A  EB 1C C9 11 9F E8 08 00  .....].. ........
[040] 2B 10 48 60 02 00 00 00                           +.H`.... 
write_socket(0,72)
write_socket(0,72) wrote 72
msrpc_receive: 126
rpc_check_hdr: rdata->data_size: 0
000000 smb_io_rpc_hdr rpc_hdr   
_prs_uint8 error ps: io Yes align 4 offset 0 err 1 data (nil) len 0
rpc_check_hdr: error in rpc header
rpc_pipe_bind failed
msrpc_net_use_del: \\.. force close: No
cli_nt_setup_creds: request challenge failed
domain_client_validate: credentials failed (\\.)
password_ok: check Unix auth
getpwnam(default)
Found: default:x:532:1003::/home/default:/bin/bash
Checking password for user default (l=24)
SMB LM/NT Password did not match!
error packet at line 621 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
error string = No such file or directory
size=35
smb_com=0x73
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=13382
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=0

write_socket(8,39)
write_socket(8,39) wrote 39
receive_smb: length < 0!
end of file from client
Closing connections
Server exit (normal exit)


More information about the samba-technical mailing list