[Samba] Removing Printer Driver on Samba 2.2.5 using rpcclient

Jonathan Dean jon.dean at deanuk.net
Wed Aug 7 14:39:02 GMT 2002


Sorry to reply to my own message but i found the 'printers.tdb' (Well 
actually /var/lock/ntdrivers.tdb and /var/lock/ntprinters.tdb) deleted it 
and started again.
So, problem solved!

At 21:48 07/08/2002, Jonathan Dean wrote:
>Hi All.
>Can anyone give me a hand here?
>I'm trying to remove some printer drivers from my samba server running on 
>FreeBSD 4.6 using rpcclient.
>'enumdrivers' shows:
>
>rpcclient $> enumdrivers
>
>[Windows 4.0]
>Printer Driver Info 1:
>         Driver Name: [hp deskjet 930c series]
>
>
>[Windows NT x86]
>Printer Driver Info 1:
>         Driver Name: [HP DeskJet 930C Series]
>
>Printer Driver Info 1:
>         Driver Name: [AGFA-AccuSet v52.3]
>
>Printer Driver Info 1:
>         Driver Name: [hp deskjet 930c series]
>
>rpcclient $>
>
>But when i try to delete a driver it gives me an error:
>
>rpcclient $> deldriver "AGFA-AccuSet v52.3"
>Failed to remove driver AGFA-AccuSet v52.3 for arch [Windows 4.0] - error 
>0x705!
>Failed to remove driver AGFA-AccuSet v52.3 for arch [Windows NT x86] - 
>error 0x705!
>Failed to remove driver AGFA-AccuSet v52.3 for arch [Windows NT R4000] - 
>error 0x705!
>Failed to remove driver AGFA-AccuSet v52.3 for arch [Windows NT Alpha_AXP] 
>- error 0x705!
>Failed to remove driver AGFA-AccuSet v52.3 for arch [Windows NT PowerPC] - 
>error 0x705!
>result was NT_STATUS_UNSUCCESSFUL
>rpcclient $>
>
>The driver file's have themselves been removed from the print$ share but i 
>want to remove them properly.
>
>Also, where are the printer driver details stored? I read somewhere that 
>it was in printers.tbd but i can't find this file anywhere?
>
>Thanks in advance,
>
>Jon
>
>---
>Jonathan Dean
><mailto:jon.dean at deanuk.net>jon.dean at deanuk.net             www.jondean.com
>
>Dept. Computer Science, University of Exeter, UK.
><mailto:j.s.dean at ex.ac.uk>j.s.dean at ex.ac.uk 
>www.dcs.ex.ac.uk
>
>Network Manager, Dean UK Networks.
><mailto:root at deanuk.net>root at deanuk.net                      www.deanuk.net
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

---
Jonathan Dean
<mailto:jon.dean at deanuk.net>jon.dean at deanuk.net             www.jondean.com

Dept. Computer Science, University of Exeter, UK.
<mailto:j.s.dean at ex.ac.uk>j.s.dean at ex.ac.uk                    www.dcs.ex.ac.uk

Network Manager, Dean UK Networks.
<mailto:root at deanuk.net>root at deanuk.net                      www.deanuk.net





More information about the samba mailing list