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

2006-10-12 Thread James Peach

On 11/10/06, Dan [EMAIL PROTECTED] wrote:

I was able to get things to compile but with warnings of unrecognized
option '--pie'.


Add --disable-pie to your configure line. Unfortunately configure
tests generally
can't detect warnings, so -pie gets enabled when it probably shouldn't be.


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:


This smells like a bug. When this happens, smbclient should drop a
core file in /cores. It will be called /cores/core.$pid. Can you use
gdb to get a stack trace of where it crashes?

--
James Peach | [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2006-10-12 Thread Dan
Unfortunately I can not find a core file any where on the system.  There 
is a directory /private/var/log/cores with smbd and nmbd folders but all 
are empty.  Any thing else I can do to get the core file or needed info?


James Peach wrote:

On 11/10/06, Dan [EMAIL PROTECTED] wrote:

I was able to get things to compile but with warnings of unrecognized
option '--pie'.


Add --disable-pie to your configure line. Unfortunately configure
tests generally
can't detect warnings, so -pie gets enabled when it probably shouldn't 
be.



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:


This smells like a bug. When this happens, smbclient should drop a
core file in /cores. It will be called /cores/core.$pid. Can you use
gdb to get a stack trace of where it crashes?



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2006-10-12 Thread James Peach

On 12/10/06, Dan [EMAIL PROTECTED] wrote:

Unfortunately I can not find a core file any where on the system.  There
is a directory /private/var/log/cores with smbd and nmbd folders but all
are empty.  Any thing else I can do to get the core file or needed info?


try running smbclient under gdb

gdb /path/to/smbclient
(gdb)  run -with -whatever -args

--
James Peach | [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2006-10-12 Thread Dan

Here is what I got:
(gdb) run -U administrator%MYPASS -I 10.1.0.11 -L 10.2.0.9
Starting program: /usr/bin/smbclient -U administrator%MYPASS -I 
10.1.0.11 -L 10.2.0.9

Reading symbols for shared libraries . done
Domain=[MY_DOMAIN] OS=[Unix] Server=[Samba 3.0.23c]

   Sharename   Type  Comment
   -     ---

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x
0x000a11fd in rpccli_srvsvc_NetShareEnum ()

James Peach wrote:

On 12/10/06, Dan [EMAIL PROTECTED] wrote:

Unfortunately I can not find a core file any where on the system.  There
is a directory /private/var/log/cores with smbd and nmbd folders but all
are empty.  Any thing else I can do to get the core file or needed info?


try running smbclient under gdb

gdb /path/to/smbclient
(gdb)  run -with -whatever -args



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2006-10-12 Thread James Peach

On 12/10/06, Dan [EMAIL PROTECTED] wrote:

Here is what I got:
(gdb) run -U administrator%MYPASS -I 10.1.0.11 -L 10.2.0.9
Starting program: /usr/bin/smbclient -U administrator%MYPASS -I
10.1.0.11 -L 10.2.0.9
Reading symbols for shared libraries . done
Domain=[MY_DOMAIN] OS=[Unix] Server=[Samba 3.0.23c]

Sharename   Type  Comment
-     ---

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x
0x000a11fd in rpccli_srvsvc_NetShareEnum ()


ooh! null pointer dereference!

Can you please open a bug at bugzilla.samba.org? Assign it to
[EMAIL PROTECTED] and hopefully I'll be able to do something about it
in the next few days.

--
James Peach | [EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2006-10-11 Thread Dan
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`
00 smb_io_rpc_hdr rpc_hdr  
    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  : 
   000c call_id   : 0001
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.

00 smb_io_rpc_hdr hdr
    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  : 
   000c call_id   : 0001
10 smb_io_rpc_hdr_ba
   10 smb_io_rpc_hdr_bba
   0010 max_tsize: 10b8
   0012 max_rsize: 10b8
   0014 assoc_gid: 53f0
   18 smb_io_rpc_addr_str
   0018 len: 000d
   001a str: \PIPE\ntsvcs.
   27 smb_io_rpc_results
   0028 num_results: 01
   002c result : 
   002e reason : 
   30 smb_io_rpc_iface
   30 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: 0002
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: 0x0001 (1)
   ctr  : *
   ctr  : union srvsvc_NetShareCtr(case 1)
   ctr1 : *
   ctr1: struct srvsvc_NetShareCtr1
   count: 0x (0)
   array: NULL
   max_buffer   : 0x (4294967295)
   resume_handle: *
   resume_handle: 0x (0)
00 smb_io_rpc_hdr hdr   
    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  : 
   000c call_id   : 0002
10 smb_io_rpc_hdr_req hdr_req
   0010 alloc_hint: 0034
   0014 context_id: 
   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  .$..