SOLVED!! [Samba] adddriver rpc command generates segmentation fault

Rob Tanner rtanner+samba at linfield.edu
Wed Aug 6 22:37:57 GMT 2003


--On Wednesday, August 06, 2003 08:51:16 AM -0700 Rob Tanner
<rtanner+samba at linfield.edu> wrote:

> This is the adddriver command and its output:
> 
> rpcclient -Uroot%wDs1Tl0c -d3 -c 'adddriver "Windows NT x86" \
>                            "mhx lab hp  ps:PSCRIPT5.DLL: \
>                             HP8000_7.PPD:ps5ui.dll,pscript.hlp: \
>                             NULL:RAW:pscript.ntf"' socrates
> Initialising global parameters
> params.c:pm_process() - Processing configuration file
> "/etc/samba/smb.conf" Processing section "[global]"
> added interface ip=10.219.255.249 bcast=10.219.255.255 nmask=255.255.0.0
> resolve_lmhosts: Attempting lmhosts lookup for name socrates<0x20>
> resolve_hosts: Attempting host lookup for name socrates<0x20>
> Connecting to host=socrates share=IPC$
> Connecting to 10.171.255.11 at port 445
> error connecting to 10.171.255.11:445 (Connection refused)
> Connecting to 10.171.255.11 at port 139
> lsa_io_sec_qos: length c does not match size 8
> cmd = adddriver "Windows NT x86" "mhx lab hp ps:PSCRIPT5.DLL: \
> HP8000_7.PPD:ps5ui.dll,pscript.hlp:NULL:RAW:pscript.ntf"
> Segmentation fault
> 


One lousy comma where a colon ought to be.  It would be helpful if the
SAMBA system response came back as other than a segmentation fault.
Doesn't the program check syntax when us goofy admins goof it up?

-- Rob
  
Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR






More information about the samba mailing list