Hi all, I try to set up samba 2.2.2 and Winbind under Mandrake 8.1 according to the doc. I could not get winbind to display a list of users on the domain (W2K domain). Instead, I got the following error:
> "wbinfo -t" claims that the "secret is good" > "wbinfo -n <username>" resolves to SID > "wbinfo -u" results in "error looking up domain users" > "wbinfo -g" results in "error looking up domain groups" A snip of "winbindd -d5 -i" is included at the end of this email. Anybody has any idea on how to fix this problem? Software I used: Mandrake 8.1 Samba 2.2.2 (Cooker .4mdk) nss_wins Thanks a bunch! Bind RPC Pipe[8007]: \PIPE\samr Bind Abstract Syntax: [000] 78 57 34 12 34 12 CD AB EF 00 01 23 45 67 89 AC xW4.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 .... 000000 smb_io_rpc_hdr hdr 0000 major : 05 0001 minor : 00 0002 pkt_type : 0b 0003 flags : 00 0004 pack_type0: 10 0005 pack_type1: 00 0006 pack_type2: 00 0007 pack_type3: 00 0008 frag_len : 0048 000a auth_len : 0000 000c call_id : 00000005 000010 smb_io_rpc_hdr_rb 0010 max_tsize: 1630 0012 max_rsize: 1630 0014 assoc_gid: 00000000 0018 num_elements: 00000001 001c context_id : 0000 001e num_syntaxes: 01 0020 data : 12345778 0024 data : 1234 0026 data : abcd 0028 data : ef 00 01 23 45 67 89 ac 0030 version: 00000001 0034 data : 8a885d04 0038 data : 1ceb 003a data : 11c9 003c data : 9f e8 08 00 2b 10 48 60 0044 version: 00000002 rpc_api_pipe: cmd:26 fnum:8007 size=154 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=32769 smb_tid=4103 smb_pid=2653 smb_uid=8194 smb_mid=1 smt_wct=16 smb_vwv[0]=0 (0x0) smb_vwv[1]=72 (0x48) smb_vwv[2]=0 (0x0) smb_vwv[3]=72 (0x48) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_vwv[10]=82 (0x52) smb_vwv[11]=72 (0x48) smb_vwv[12]=82 (0x52) smb_vwv[13]=2 (0x2) smb_vwv[14]=38 (0x26) smb_vwv[15]=32775 (0x8007) smb_bcc=87 size=124 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=32769 smb_tid=4103 smb_pid=2653 smb_uid=8194 smb_mid=1 smt_wct=10 smb_vwv[0]=0 (0x0) smb_vwv[1]=68 (0x44) smb_vwv[2]=0 (0x0) smb_vwv[3]=0 (0x0) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=68 (0x44) smb_vwv[7]=56 (0x38) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=69 size=124 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=32769 smb_tid=4103 smb_pid=2653 smb_uid=8194 smb_mid=1 smt_wct=10 smb_vwv[0]=0 (0x0) smb_vwv[1]=68 (0x44) smb_vwv[2]=0 (0x0) smb_vwv[3]=0 (0x0) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=68 (0x44) smb_vwv[7]=56 (0x38) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=69 rpc_check_hdr: rdata->data_size = 68 000000 smb_io_rpc_hdr rpc_hdr 0000 major : 05 0001 minor : 00 0002 pkt_type : 0c 0003 flags : 03 0004 pack_type0: 10 0005 pack_type1: 00 0006 pack_type2: 00 0007 pack_type3: 00 0008 frag_len : 0044 000a auth_len : 0000 000c call_id : 00000005 rpc_api_pipe: len left: 0 smbtrans read: 68 rpc_pipe_bind: rpc_api_pipe returned OK. 000010 smb_io_rpc_hdr_ba 0010 max_tsize: 10b8 0012 max_rsize: 10b8 0014 assoc_gid: 0001977d 0018 len: 000c 001a str: \PIPE\lsass. 0028 num_results: 01 002c result : 0000 002e reason : 0000 0030 data : 8a885d04 0034 data : 1ceb 0036 data : 11c9 0038 data : 9f e8 08 00 2b 10 48 60 0040 version: 00000002 bind_rpc_pipe: server pipe_name found: \PIPE\lsass bind_rpc_pipe: accepted! init_samr_q_connect 000000 samr_io_q_connect 0000 ptr_srv_name: 00000001 0004 uni_max_len: 00000008 0008 undoc : 00000000 000c uni_str_len: 00000008 0010 buffer : F.I.L.E.S.R.V... 0020 access_mask: 02000000 rpc_api_pipe_req: Outgoing data not a multiple of 8 bytes.... create_rpc_request: opnum: 0x39 data_len: 0x3c 000000 smb_io_rpc_hdr hdr 0000 major : 05 0001 minor : 00 0002 pkt_type : 00 0003 flags : 03 0004 pack_type0: 10 0005 pack_type1: 00 0006 pack_type2: 00 0007 pack_type3: 00 0008 frag_len : 003c 000a auth_len : 0000 000c call_id : 00000006 000010 smb_io_rpc_hdr_req hdr_req 0010 alloc_hint: 0000002c 0014 context_id: 0000 0016 opnum : 0039 rpc_api_pipe: cmd:26 fnum:8007 size=142 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=32769 smb_tid=4103 smb_pid=2653 smb_uid=8194 smb_mid=1 smt_wct=16 smb_vwv[0]=0 (0x0) smb_vwv[1]=60 (0x3C) smb_vwv[2]=0 (0x0) smb_vwv[3]=60 (0x3C) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_vwv[10]=82 (0x52) smb_vwv[11]=60 (0x3C) smb_vwv[12]=82 (0x52) smb_vwv[13]=2 (0x2) smb_vwv[14]=38 (0x26) smb_vwv[15]=32775 (0x8007) smb_bcc=75 size=104 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=32769 smb_tid=4103 smb_pid=2653 smb_uid=8194 smb_mid=1 smt_wct=10 smb_vwv[0]=0 (0x0) smb_vwv[1]=48 (0x30) smb_vwv[2]=0 (0x0) smb_vwv[3]=0 (0x0) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=48 (0x30) smb_vwv[7]=56 (0x38) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=49 size=104 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=32769 smb_tid=4103 smb_pid=2653 smb_uid=8194 smb_mid=1 smt_wct=10 smb_vwv[0]=0 (0x0) smb_vwv[1]=48 (0x30) smb_vwv[2]=0 (0x0) smb_vwv[3]=0 (0x0) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=48 (0x30) smb_vwv[7]=56 (0x38) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=49 rpc_check_hdr: rdata->data_size = 48 000000 smb_io_rpc_hdr rpc_hdr 0000 major : 05 0001 minor : 00 0002 pkt_type : 02 0003 flags : 03 0004 pack_type0: 10 0005 pack_type1: 00 0006 pack_type2: 00 0007 pack_type3: 00 0008 frag_len : 0030 000a auth_len : 0000 000c call_id : 00000006 000010 smb_io_rpc_hdr_resp rpc_hdr_resp 0010 alloc_hint: 00000018 0014 context_id: 0000 0016 cancel_ct : 00 0017 reserved : 00 rpc_api_pipe: len left: 0 smbtrans read: 48 000018 samr_io_r_connect 0018 data1: 00000000 001c data2: 00000000 0020 data3: 0000 0022 data4: 0000 0024 data5: 00 00 00 00 00 00 00 00 002c status: c0000022 read failed on sock 10, pid 2654: EOF