Rob Tanner
2003-Aug-07 17:05 UTC
[Samba] I'm confused about W2K rpcclient "getdriver" response
Hi, I'm trying to query a W2K PDC for printer driver information in order to install those same drivers on a SAMBA 2.2.7 server. I executed an enumdrivers ms-rpc call to get the list of drivers, but the getdriver command fails for all but a couple of the drivers. I've included a representative instance below:> cmd = getdriver "HP LaserJet 4050 Series PCL" > Error opening printer handle for HP LaserJet 4050 Series PCL! > result was NT_STATUS_UNSUCCESSFULThe question is, who's generating the error? Is it the samba rpcclient program or is it the W2K server? Or can one even tell at all from the response? At this point I'm not sure where to start looking. -- Rob _ _ _ _ _ _ _ _ _ _ /\_\_\_\_\ /\_\ /\_\_\_\_\_\ /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT, /\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR /\/_/_/_/_/ /\_\ /\/_/ /\/_/ /\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound) Rob Tanner UNIX Services Manager Linfield College, McMinnville OR (503) 434-2558 <rtanner@linfield.edu>
Rob Tanner
2003-Aug-07 17:06 UTC
[Samba] I'm confused about W2K rpcclient "getdriver" response
Hi, I'm trying to query a W2K PDC for printer driver information in order to install those same drivers on a SAMBA 2.2.7 server. I executed an enumdrivers ms-rpc call to get the list of drivers, but the getdriver command fails for all but a couple of the drivers. I've included a representative instance below:> cmd = getdriver "HP LaserJet 4050 Series PCL" > Error opening printer handle for HP LaserJet 4050 Series PCL! > result was NT_STATUS_UNSUCCESSFULThe question is, who's generating the error? Is it the samba rpcclient program or is it the W2K server? Or can one even tell at all from the response? At this point I'm not sure where to start looking. -- Rob Rob Tanner UNIX Services Manager Linfield College, McMinnville OR