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

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

--On Wednesday, August 06, 2003 08:51:16 AM -0700 Rob Tanner
<rtanner+samba at> 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= bcast= nmask=
> 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 at port 445
> error connecting to (Connection refused)
> Connecting to 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