Failed Logon from Windows2000

Raoul Schroeder memphis_ms at gmx.net
Wed Aug 23 19:14:51 GMT 2000


Hi,
after some trouble with TNG under FreeBSD (all my little mistakes in the
beginning, solved with a lot of help from Matthew - thanks again) I
created machine accounts and user accounts and all that.

Now, for some reason, my logon from the Windows 2000 machine fails. It
connects, and the connection attempt is logged in smb.log (attached)
The password is correct (checked and double checked)
It seems to obtain a blank name somewhere, and i don't know exactly why.

Any comments and hints, please?

TIA,

Raoul

-------------- next part --------------
get_sam_domain_name: PDC/BDC KOTTAN_SAMBA
read_sid_from_file /usr/opt/samba-tng/private/KOTTAN_SAMBA.SID: sid S-1-5-21-1181681120-1267283126-2658159499
Changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
open_oplock ipc: pid = 44301, global_oplock_port = 1324
Serverzone is 18000
Allowed connection from hostname (xxx.xxx.xxx.xxx)
Transaction 0 of length 72
netbios connect: name1=KOTTAN-LABS      name2=RAOUL          
claiming  100000
init msg_type=0x81 msg_flags=0x0
Transaction 1 of length 137
size=133
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51283
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=98
switch message SMBnegprot (pid 44301)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
Selected protocol NT LM 0.12
negprot index=5
size=103
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=17
smb_vwv[0]=5 (0x5)
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]=3328 (0xD00)
smb_vwv[8]=173 (0xAD)
smb_vwv[9]=14592 (0x3900)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=46556 (0xB5DC)
smb_vwv[13]=15443 (0x3C53)
smb_vwv[14]=49165 (0xC00D)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=2049 (0x801)
smb_bcc=34
Transaction 2 of length 206
size=202
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=2055
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=64
smt_wct=13
smb_vwv[0]=117 (0x75)
smb_vwv[1]=165 (0xA5)
smb_vwv[2]=65535 (0xFFFF)
smb_vwv[3]=50 (0x32)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=44301 (0xAD0D)
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]=212 (0xD4)
smb_vwv[12]=0 (0x0)
smb_bcc=104
switch message SMBsesssetupX (pid 44301)
passlen: 24 24 Domain=[RAOUL]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
sesssetupX:name=[Administrator]
load_name_map: Scanning name map /usr/opt/samba-tng/private/domainuser.map
make_name_entry:,Administrator,root
unix_name_to_nt_name_info: unix_name:root
unix_name_to_nt_name_info: unix gid:0
map_domain_name_to_sid: overriding blank name to KOTTAN_SAMBA
map_domain_name_to_sid: KOTTAN_SAMBA
compare: BUILTIN
compare: Global Domain
compare: Everyone
compare: LOCAL
compare: Creator Owner
compare: Creator Group
compare: Creator Server Owner
compare: Creator Server Group
compare: NT Authority
compare: DIALUP
compare: NETWORK
compare: BATCH
compare: Interactive
compare: Service
compare: 
compare: SERVER LOGON
compare: Authenticated Users
compare: SYSTEM
compare: KOTTAN_SAMBA
found S-1-5-21-1181681120-1267283126-2658159499
reset_wk_maps: Initializing maps
unixname = root, ntname = KOTTAN_SAMBA\Administrator type = 1
make_name_entry:,raoul,raoul
unix_name_to_nt_name_info: unix_name:raoul
unix_name_to_nt_name_info: unix gid:1001
map_domain_name_to_sid: overriding blank name to KOTTAN_SAMBA
map_domain_name_to_sid: KOTTAN_SAMBA
compare: BUILTIN
compare: Global Domain
compare: Everyone
compare: LOCAL
compare: Creator Owner
compare: Creator Group
compare: Creator Server Owner
compare: Creator Server Group
compare: NT Authority
compare: DIALUP
compare: NETWORK
compare: BATCH
compare: Interactive
compare: Service
compare: 
compare: SERVER LOGON
compare: Authenticated Users
compare: SYSTEM
compare: KOTTAN_SAMBA
found S-1-5-21-1181681120-1267283126-2658159499
unixname = raoul, ntname = KOTTAN_SAMBA\raoul type = 1
domain_client_validate: could not find domain RAOUL, using local SAM
root is in 8 groups: 0, 0, 2, 3, 4, 5, 20, 31
uid 0 registered to name root
Clearing default real name
uid 0 vuid 100 registered to unix name root
000000 vuid_io_key key
0000 pid : 0000ad0d
0004 vuid: 0064
ncalrpc_l_establish_connection: connecting to lsarpc
000004 creds_io_cmd creds
000008 vuid_io_key key
0008 pid : 0000ad0d
000c vuid: 0064
Bind RPC Pipe: \PIPE\lsarpc
Bind Abstract Syntax:
[000] 78 57 34 12 34 12 CD AB  EF 00 01 23 45 67 89 AB  xW4.4... ...#Eg..
[010] 00 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                                       .... 
000000 smb_io_rpc_hdr_rb 
000000 smb_io_rpc_hdr hdr
000000 smb_io_rpc_hdr hdr
rpc_check_hdr: rdata->data_size: 68
000000 smb_io_rpc_hdr rpc_hdr   
rpc_check_hdr: (after smb_io_rpc_hdr call) rdata->data_size: 68
rpc_api_pipe: return OK
000000 smb_io_rpc_hdr_ba 
bind_rpc_pipe: pipe_name \PIPE\lsass != expected pipe \PIPE\lsarpcd.  oh well!
bind_rpc_pipe: accepted!
LSA Open Policy2
make_open_pol2: attr:0 da:33554432
make_lsa_obj_attr
000000 lsa_io_q_open_pol2 
create_rpc_request: opnum: 0x2c data_len: 0x4c
000000 smb_io_rpc_hdr hdr    
000010 smb_io_rpc_hdr_req hdr_req
000000 smb_io_rpc_hdr hdr
rpc_check_hdr: rdata->data_size: 48
000000 smb_io_rpc_hdr rpc_hdr   
rpc_check_hdr: (after smb_io_rpc_hdr call) rdata->data_size: 48
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
000000 lsa_io_r_open_pol2 
Opened policy hnd[1] [000] 00 00 00 00 00 DC B5 53  3C 0D C0 01 0E AD 00 00  .......S <.......
[010] 01 00 00 00                                       .... 
Found policy hnd[1] [000] 00 00 00 00 00 DC B5 53  3C 0D C0 01 0E AD 00 00  .......S <.......
[010] 01 00 00 00                                       .... 
policy(pnum=1 ): Setting policy state
setting policy con
LSA Open Secret
make_q_open_secret000000 lsa_io_q_open_secret 
Found policy hnd[1] [000] 00 00 00 00 00 DC B5 53  3C 0D C0 01 0E AD 00 00  .......S <.......
[010] 01 00 00 00                                       .... 
policy(pnum=1 ): Getting policy state
Getting policy con state
create_rpc_request: opnum: 0x1c data_len: 0x54
000000 smb_io_rpc_hdr hdr    
000010 smb_io_rpc_hdr_req hdr_req
000000 smb_io_rpc_hdr hdr
rpc_check_hdr: rdata->data_size: 48
000000 smb_io_rpc_hdr rpc_hdr   
rpc_check_hdr: (after smb_io_rpc_hdr call) rdata->data_size: 48
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
000000 lsa_io_r_open_secret 
LSA_OPENSECRET: unknown error
LSA Close
make_lsa_q_close
000000 lsa_io_q_close 
Found policy hnd[1] [000] 00 00 00 00 00 DC B5 53  3C 0D C0 01 0E AD 00 00  .......S <.......
[010] 01 00 00 00                                       .... 
policy(pnum=1 ): Getting policy state
Getting policy con state
create_rpc_request: opnum: 0x0 data_len: 0x2c
000000 smb_io_rpc_hdr hdr    
000010 smb_io_rpc_hdr_req hdr_req
000000 smb_io_rpc_hdr hdr
rpc_check_hdr: rdata->data_size: 48
000000 smb_io_rpc_hdr rpc_hdr   
rpc_check_hdr: (after smb_io_rpc_hdr call) rdata->data_size: 48
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
000000 lsa_io_r_close 
Found policy hnd[1] [000] 00 00 00 00 00 DC B5 53  3C 0D C0 01 0E AD 00 00  .......S <.......
[010] 01 00 00 00                                       .... 
policy(pnum=1 ): Closing
SMB LM/NT Password did not match!
Rejecting user 'administrator': authentication failed
32 bit error packet at line 494 cmd=115 (SMBsesssetupX) eclass=c000006d [Error: Unknown error (109,49152)]
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=65279
smb_uid=0
smb_mid=64
smt_wct=0
smb_bcc=0
end of file from client
Closing connections
Server exit (normal exit)


More information about the samba-ntdom mailing list