[Samba] Problem with rpcclient and installing PS-Driver

Andreas Pakulat ap125 at informatik.uni-rostock.de
Wed Jan 8 19:09:00 GMT 2003


Hi,

i want to install the Adobe-PS Drivers into samba, so that the Clients
can download them.

I first had Samba 2.2.3 from debian woody, where the cupsaddsmb program
did'nt work at all.

I the upgraded to samba 2.2.7 and tried to install all the drivers by
hand using rpcclient.

Now I've got 2 problems: First one is that I cannot deinstall the
various drivers from the servers list. When I do a 'rpcclient -U root
localhost -c "deldriver HPDeskjet"' I get the following Output:
| cmd = deldriver HPDeskjet
| Failed to remove driver HPDeskjet for arch [Windows 4.0] - error 0xbb9!
| Failed to remove driver HPDeskjet for arch [Windows NT x86] - error
| 0xbb9!

But the driver is in the list:
| cmd = enumdrivers
| 
| [Windows 4.0]
| Printer Driver Info 1:
|         Driver Name: [HPDeskjet]
| Printer Driver Info 1:
|         Driver Name: [HPDeskJet]
| Printer Driver Info 1:
|         Driver Name: [HPDeskJetGray]
| 
| [Windows NT x86]
| Printer Driver Info 1:
|         Driver Name: [HPDeskjet]
| Printer Driver Info 1:
|         Driver Name: [HPDeskJetGray]
| Printer Driver Info 1:
| 	Driver Name: [HPDeskJet]
						
The second problem is that I also cannot use the above mentioned driver
to set it to a printer with 'rpcclient -U root localhost -c "setdriver
HPDeskjet HPDeskjet"'. It stops with the following error:
| cmd = setdriver HPDeskjet HPDeskjet
| Unable to retrieve printer information!
| result was NT_STATUS_UNSUCCESSFUL

But a printer with exactly that name exists under cups and works fine
for local printing. BTW I use cups 1.1.15 from debian.

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20030108/2aab419b/attachment.bin


More information about the samba mailing list