Sytsma, Richard
2002-Dec-13 21:49 UTC
[Samba] smbpasswd join strace - failed session setup = 21
My smbpasswd command to join the WIN2k domain fails with a session set up 21 error then 'NT_STATUS_LOGON_FAILURE ) = 54'. I included the last few lines of the strace output below. Maybe it is enough for someone to tell me what the problem between the PDC and my REDHAT 8.0 2.4.19 with SAMBA 2.2.7a-2 is. Thanks in advance. rite(1, "smb_bcc=38\n", 11smb_bcc=38 ) = 11 write(1, "[000] CB E2 5E EB 8E 7F B4 01 4"..., 74[000] CB E2 5E EB 8E 7F B4 01 48 00 59 00 2D 00 56 00 ..^..... H.Y.-.V. ) = 74 write(1, "[010] 45 00 45 00 00 00 52 00 4"..., 74[010] 45 00 45 00 00 00 52 00 45 00 54 00 41 00 49 00 E.E...R. E.T.A.I. ) = 74 write(1, "[020] 4C 00 32 00 00 00 "..., 64[020] 4C 00 32 00 00 00 L.2... ) = 64 write(1, "write_socket(4,160)\n", 20write_socket(4,160) ) = 20 send(4, "\0\0\0\234\377SMBs\0\0\0\0\10\1\300\0\0\0\0\0\0\0\0\0\0"..., 160, 0) = 160 write(1, "write_socket(4,160) wrote 160\n", 30write_socket(4,160) wrote 160 ) = 30 select(6, [4 5], NULL, NULL, {20, 0}) = 1 (in [4], left {19, 940000}) read(4, "\0\0\0#", 4) = 4 write(1, "got smb length of 35\n", 21got smb length of 35 ) = 21 read(4, "\377SMBsm\0\0\300\210\1\300\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 35) = 35 write(1, "size=35\n", 8size=35 ) = 8 write(1, "smb_com=0x73\n", 13smb_com=0x73 ) = 13 write(1, "smb_rcls=109\n", 13smb_rcls=109 ) = 13 write(1, "smb_reh=0\n", 10smb_reh=0 ) = 10 write(1, "smb_err=49152\n", 14smb_err=49152 ) = 14 write(1, "smb_flg=136\n", 12smb_flg=136 ) = 12 write(1, "smb_flg2=49153\n", 15smb_flg2=49153 ) = 15 write(1, "smb_tid=0\n", 10smb_tid=0 ) = 10 write(1, "smb_pid=10404\n", 14smb_pid=10404 ) = 14 write(1, "smb_uid=0\n", 10smb_uid=0 ) = 10 write(1, "smb_mid=1\n", 10smb_mid=1 ) = 10 write(1, "smt_wct=0\n", 10smt_wct=0 ) = 10 write(1, "smb_bcc=0\n", 10smb_bcc=0 ) = 10 write(1, "size=35\n", 8size=35 ) = 8 write(1, "smb_com=0x73\n", 13smb_com=0x73 ) = 13 write(1, "smb_rcls=109\n", 13smb_rcls=109 ) = 13 write(1, "smb_reh=0\n", 10smb_reh=0 ) = 10 write(1, "smb_err=49152\n", 14smb_err=49152 ) = 14 write(1, "smb_flg=136\n", 12smb_flg=136 ) = 12 write(1, "smb_flg2=49153\n", 15smb_flg2=49153 ) = 15 write(1, "smb_tid=0\n", 10smb_tid=0 ) = 10 write(1, "smb_pid=10404\n", 14smb_pid=10404 ) = 14 write(1, "smb_uid=0\n", 10smb_uid=0 ) = 10 write(1, "smb_mid=1\n", 10smb_mid=1 ) = 10 write(1, "smt_wct=0\n", 10smt_wct=0 ) = 10 write(1, "smb_bcc=0\n", 10smb_bcc=0 ) = 10 write(1, "failed session setup\n", write(1, "Error connecting to retail2 - NT"..., 54Error connecting to retail2 - NT_STATUS_LOGON_FAILURE ) = 54 fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=252, len=1}, 0xbfffd5f0) = 0 fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=252, len=1}, 0xbfffd5f0) = 0 write(2, "Unable to join domain HY-VEE.\n", 30Unable to join domain HY-VEE. ) = 30 munmap(0x40013000, 4096) = 0 _exit(1) = ? [root@DP-WS67 bin]#