[Samba] PLEASE HELP - MAC NEWBIE - MAC OS X 10.4.8 (Intel) - Bus Error

Dan samba at the-rusty-nail.com
Wed Oct 11 19:19:54 GMT 2006


I was able to get things to compile but with warnings of "unrecognized 
option '--pie'".  When I run things I still can not login to shares and 
when I run smbclient I get a "Bus Error".  Could this be related to the 
compile warnings?  Maybe a gcc thing? I don't see any glibc files on the 
system.  Any help is greatly appreciated.  Here is the output from the 
smbclient:


[000] 00 05 00 0C 03 10 00 00  00 44 00 00 00 01 00 00  ........ .D......
[010] 00 B8 10 B8 10 F0 53 00  00 0D 00 5C 50 49 50 45  ......S. ...\PIPE
[020] 5C 6E 74 73 76 63 73 00  00 01 00 00 00 00 00 00  \ntsvcs. ........
[030] 00 04 5D 88 8A EB 1C C9  11 9F E8 08 00 2B 10 48  ..]..... .....+.H
[040] 60 02 00 00 00                                    `....
size=124
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=6116
smb_uid=101
smb_mid=6
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
[000] 00 05 00 0C 03 10 00 00  00 44 00 00 00 01 00 00  ........ .D......
[010] 00 B8 10 B8 10 F0 53 00  00 0D 00 5C 50 49 50 45  ......S. ...\PIPE
[020] 5C 6E 74 73 76 63 73 00  00 01 00 00 00 00 00 00  \ntsvcs. ........
[030] 00 04 5D 88 8A EB 1C C9  11 9F E8 08 00 2B 10 48  ..]..... .....+.H
[040] 60 02 00 00 00                                    `....
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   : 00000001
rpc_api_pipe: got PDU len of 68 at offset 0
rpc_api_pipe: Remote machine 10.2.0.9 pipe \srvsvc fnum 0x775d returned 
68 bytes.
rpc_pipe_bind: Remote machine 10.2.0.9 pipe \srvsvc fnum 0x775d bind 
request returned ok.
000000 smb_io_rpc_hdr 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   : 00000001
000010 smb_io_rpc_hdr_ba
    000010 smb_io_rpc_hdr_bba
        0010 max_tsize: 10b8
        0012 max_rsize: 10b8
        0014 assoc_gid: 000053f0
    000018 smb_io_rpc_addr_str
        0018 len: 000d
        001a str: \PIPE\ntsvcs.
    000027 smb_io_rpc_results
        0028 num_results: 01
        002c result     : 0000
        002e reason     : 0000
    000030 smb_io_rpc_iface
        000030 smb_io_uuid uuid
            0030 data   : 8a885d04
            0034 data   : 1ceb
            0036 data   : 11c9
            0038 data   : 9f e8
            003a data   : 08 00 2b 10 48 60
        0040 version: 00000002
check_bind_response: accepted!
cli_rpc_pipe_open_noauth: opened pipe \srvsvc to machine 10.2.0.9 and 
bound anonymously.
    srvsvc_NetShareEnum: struct srvsvc_NetShareEnum
        in: struct srvsvc_NetShareEnum
            server_unc               : *
                server_unc               : ''
            level                    : *
                level                    : 0x00000001 (1)
            ctr                      : *
                ctr                      : union srvsvc_NetShareCtr(case 1)
                ctr1                     : *
                    ctr1: struct srvsvc_NetShareCtr1
                        count                    : 0x00000000 (0)
                        array                    : NULL
            max_buffer               : 0xffffffff (4294967295)
            resume_handle            : *
                resume_handle            : 0x00000000 (0)
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  : 004c
    000a auth_len  : 0000
    000c call_id   : 00000002
000010 smb_io_rpc_hdr_req hdr_req
    0010 alloc_hint: 00000034
    0014 context_id: 0000
    0016 opnum     : 0024
rpc_api_pipe: Remote machine 10.2.0.9 pipe \srvsvc fnum 0x775d
size=158
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=55297
smb_tid=1
smb_pid=6116
smb_uid=101
smb_mid=7
smt_wct=16
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=   76 (0x4C)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]= 4280 (0x10B8)
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]=   76 (0x4C)
smb_vwv[12]=   82 (0x52)
smb_vwv[13]=    2 (0x2)
smb_vwv[14]=   38 (0x26)
smb_vwv[15]=30557 (0x775D)
smb_bcc=91
[000] 00 5C 00 50 00 49 00 50  00 45 00 5C 00 00 00 05  .\.P.I.P .E.\....
[010] 00 00 03 10 00 00 00 4C  00 00 00 02 00 00 00 34  .......L .......4
[020] 00 00 00 00 00 24 00 00  00 02 00 01 00 00 00 00  .....$.. ........
[030] 00 00 00 01 00 00 00 00  00 00 00 01 00 00 00 01  ........ ........
[040] 00 00 00 04 00 02 00 00  00 00 00 00 00 00 00 FF  ........ ........
[050] FF FF FF 08 00 02 00 00  00 00 00                 ........ ...
write_socket(4,162)
write_socket(4,162) wrote 162
got smb length of 300
size=300
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=6116
smb_uid=101
smb_mid=7
smt_wct=10
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=  244 (0xF4)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  244 (0xF4)
smb_vwv[ 7]=   56 (0x38)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=245
[000] 00 05 00 02 03 10 00 00  00 F4 00 00 00 02 00 00  ........ ........
[010] 00 DC 00 00 00 00 00 00  00 01 00 00 00 01 00 00  ........ ........
[020] 00 01 00 00 00 02 00 00  00 01 00 00 00 02 00 00  ........ ........
[030] 00 01 00 00 00 00 00 00  00 01 00 00 00 01 00 00  ........ ........
[040] 00 00 00 00 00 01 00 00  00 06 00 00 00 00 00 00  ........ ........
[050] 00 06 00 00 00 6C 00 6F  00 67 00 6F 00 6E 00 00  .....l.o .g.o.n..
[060] 00 16 00 00 00 00 00 00  00 16 00 00 00 4E 00 65  ........ .....N.e
[070] 00 74 00 77 00 6F 00 72  00 6B 00 20 00 4C 00 6F  .t.w.o.r .k. .L.o
[080] 00 67 00 6F 00 6E 00 20  00 53 00 65 00 72 00 76  .g.o.n.  .S.e.r.v
[090] 00 69 00 63 00 65 00 00  00 09 00 00 00 00 00 00  .i.c.e.. ........
[0A0] 00 09 00 00 00 63 00 61  00 6D 00 70 00 62 00 65  .....c.a .m.p.b.e
[0B0] 00 6C 00 6C 00 00 00 00  00 11 00 00 00 00 00 00  .l.l.... ........
[0C0] 00 11 00 00 00 48 00 6F  00 6D 00 65 00 20 00 44  .....H.o .m.e. .D
[0D0] 00 69 00 72 00 65 00 63  00 74 00 6F 00 72 00 69  .i.r.e.c .t.o.r.i
[0E0] 00 65 00 73 00 00 00 00  00 02 00 00 00 00 00 00  .e.s.... ........
[0F0] 00 00 00 00 00                                    .....
size=300
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=1
smb_pid=6116
smb_uid=101
smb_mid=7
smt_wct=10
smb_vwv[ 0]=    0 (0x0)
smb_vwv[ 1]=  244 (0xF4)
smb_vwv[ 2]=    0 (0x0)
smb_vwv[ 3]=    0 (0x0)
smb_vwv[ 4]=   56 (0x38)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  244 (0xF4)
smb_vwv[ 7]=   56 (0x38)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_bcc=245
[000] 00 05 00 02 03 10 00 00  00 F4 00 00 00 02 00 00  ........ ........
[010] 00 DC 00 00 00 00 00 00  00 01 00 00 00 01 00 00  ........ ........
[020] 00 01 00 00 00 02 00 00  00 01 00 00 00 02 00 00  ........ ........
[030] 00 01 00 00 00 00 00 00  00 01 00 00 00 01 00 00  ........ ........
[040] 00 00 00 00 00 01 00 00  00 06 00 00 00 00 00 00  ........ ........
[050] 00 06 00 00 00 6C 00 6F  00 67 00 6F 00 6E 00 00  .....l.o .g.o.n..
[060] 00 16 00 00 00 00 00 00  00 16 00 00 00 4E 00 65  ........ .....N.e
[070] 00 74 00 77 00 6F 00 72  00 6B 00 20 00 4C 00 6F  .t.w.o.r .k. .L.o
[080] 00 67 00 6F 00 6E 00 20  00 53 00 65 00 72 00 76  .g.o.n.  .S.e.r.v
[090] 00 69 00 63 00 65 00 00  00 09 00 00 00 00 00 00  .i.c.e.. ........
[0A0] 00 09 00 00 00 63 00 61  00 6D 00 70 00 62 00 65  .....c.a .m.p.b.e
[0B0] 00 6C 00 6C 00 00 00 00  00 11 00 00 00 00 00 00  .l.l.... ........
[0C0] 00 11 00 00 00 48 00 6F  00 6D 00 65 00 20 00 44  .....H.o .m.e. .D
[0D0] 00 69 00 72 00 65 00 63  00 74 00 6F 00 72 00 69  .i.r.e.c .t.o.r.i
[0E0] 00 65 00 73 00 00 00 00  00 02 00 00 00 00 00 00  .e.s.... ........
[0F0] 00 00 00 00 00                                    .....
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  : 00f4
    000a auth_len  : 0000
    000c call_id   : 00000002
000010 smb_io_rpc_hdr_resp rpc_hdr_resp
    0010 alloc_hint: 000000dc
    0014 context_id: 0000
    0016 cancel_ct : 00
    0017 reserved  : 00
cli_pipe_validate_current_pdu: got pdu len 244, data_len 220, ss_len 0
rpc_api_pipe: got PDU len of 244 at offset 0
rpc_api_pipe: Remote machine 10.2.0.9 pipe \srvsvc fnum 0x775d returned 
440 bytes.
    srvsvc_NetShareEnum: struct srvsvc_NetShareEnum
        out: struct srvsvc_NetShareEnum
            level                    : *
                level                    : 0x00000001 (1)
            ctr                      : *
                ctr                      : union srvsvc_NetShareCtr(case 1)
                ctr1                     : *
                    ctr1: struct srvsvc_NetShareCtr1
                        count                    : 0x00000002 (2)
                        array                    : *
                            array: ARRAY(2)
                                array: struct srvsvc_NetShareInfo1
                                    name                     : *
                                        name                     : 'logon'
                                    type                     : 
STYPE_DISKTREE (0x0)
                                    comment                  : *
                                        comment                  : 
'Network Logon Service'
                                array: struct srvsvc_NetShareInfo1
                                    name                     : *
                                        name                     : 
'campbell'
                                    type                     : 
STYPE_DISKTREE (0x0)
                                    comment                  : *
                                        comment                  : 'Home 
Directories'
            totalentries             : *
                totalentries             : 0x00000002 (2)
            resume_handle            : NULL
            result                   : WERR_OK
Bus error

James Peach wrote:
> On 11/10/06, Dan <samba at the-rusty-nail.com> wrote:
>> I figured out what I was doing wrong.  Obviously the old configure file
>> will not work.  I ran the make-tarball.sh script to reproduce the
>> configure and everything builds fine.
>
> yep :) I usually do a ./autogen.sh && ./configure --foo
>



More information about the samba mailing list