[Samba] APW print problems with Samba 2.2.7a & CUPS, enumprinters, setdriver fail.

Jason Jeremias jasonj at uui-alaska.com
Fri Dec 13 18:34:20 GMT 2002


I'm trying to add print drivers to printers on a Samba server using a 
NT4 workstations in the past this has worked.  I'm currently running 
Samba 2.2.7a & CUPS 1.1.17, when I attempt to add drivers to the new 
printer it crashes the NT4 workstation.  Prior to the workstation 
crashing however it does copy the driver files to the server, it then 
pauses as if the workstation is waiting for some information from the 
server.  This pause last 1 to 2 minutes the the workstation crashes.  In 
troubleshooting the problem I've found this much out.

With the following settings in my smb.conf file:
printcap name = cups
load printers = yes
printing = cups

enumdrivers works as expected it even lists the driver I attempted to 
add from the NT4 workstations.

enumprinters however does this:
rpcclient $> enumprinters
rpc_api_pipe: cmd 26 on pipe 7679 failed to return data.
result was NT_STATUS_UNSUCCESSFUL

setdriver also fails as seen here:
rpcclient $> setdriver A_CC_HP4300 "HP LaserJet 4300 PCL6"
SetPrinter call failed!
result was NT_STATUS_UNSUCCESSFUL

--------------------------------------------------------
Change of settings
--------------------------------------------------------

If I change the settings in my smb.conf file to look like this.

printcap name = lpstat
        or
printcap name = /etc/printcap
load printers = yes
printing = cups


enumdrivers again works as expected and displays all the drivers 
including the one I added with the NT4 workstation that crashed.

enumprinters also works and displays all the printers on this box.

setdriver still failes with the same message as above.


I can provide any files/debug info needed to help solve the problem, any 
help is greatly appreciated.

Thanks!

-Jason







More information about the samba mailing list