[Samba] Re: rpcclient adddriver problems 2.2.8a and 3rc4

Dragan Krnic dkrnic at lycos.com
Tue Sep 23 16:27:08 GMT 2003

| The command:
| rpcclient -U jarboed -c 'adddriver \ 
| "Windows NT x86" "RICOH Aficio 700PS:\
| fails on 2.2.8a and 3rc4 (substituting server name 
| appropriately in the above command).
| .......................
| The 2.2.8a also seems to fail at the 
| spoolss_io_r_addprinterdriver part: rpc_api_pipe: 
| len left: 0 smbtrans read: 28
| 000018 spoolss_io_r_addprinterdriver 
| 0018 status: WERR_BADFILE
| Would smb.conf or anything else be helpful?  2.2.8a 
| is running on RH 7.2 platform with the samba rpm 
| rebuilt from the samba provided SRPM.  The 3rc4 is 
| running with default RH samba rpms for RH EL3 AS as 
| built by RedHat (samba, samba-client, samba-common, 
| etc).  Any ideas?

smb.conf won't help. Double-check the placement of
different components of the 2nd string. Wrong
sequence might be reponsible for both problems. I
would also definitely avoid blank char in naming, so
instead of "RICOH Aficio 700PS", I'd rather put
"RICOH700PS". There was a little bug in 2.2.x releases 
which is fixed and discussed at the following URL:


but it shouldn't apply to your problem with 3rc4, 
because it was fixed for good in 3 and it has a
little different diagnostic anyways, but once you've
squashed the primary problem it may strike you at
least in 2.2.8a, so take a look at it.

Diabetics: Click here for a Free Glucose Meter from Access Diabetic.
This offer applies to U.S. Residents Only

More information about the samba mailing list