[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:\
| RINH7PS5.DLL:RICNH703.PPD:RINH7PSU.DLL:\
| RINH7PSU.HLP:NULL:RAW:RNH7kmUI.DLL,\
| RNH7PS.DLL,RNH7km.INI,RINH7PS5.NTF,\
| RNH7Help.HLP,TrackID.DLL,TIFmtA.DLL,\
| TIBase64.DLL,TISHMEM.DLL,TICMD.EXE"' LINPS1
| 
| 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:

   https://bugzilla.samba.org/show_bug.cgi?id=82

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.
http://r.hotbot.com/r/lmt_ad/http://mocda4.com/1/c/563632/102938/302214/302214
This offer applies to U.S. Residents Only



More information about the samba mailing list