[Samba] Removing printer drivers?

Gerald (Jerry) Carter jerry at samba.org
Thu Feb 3 15:09:42 GMT 2005

Hash: SHA1

Bruno Guerreiro wrote:
| Hi,
| Like Gerald said, using the tdbtool is the way to go.
| Something like this.
| tdbtool /var/lib/samba/ntdrivers.tdb
| Then with dump find the keys for your printers.
| The ones with W32X86 are for W2K/XP
| The ones with WIN40 are for WNT/9x/Me
| Example:
| If you wish to remove the win98 drivers for the printer prn1, you
would have
| to look for something like DRIVERS/WIN40/0/prn1
| and then
| delete DRIVERS/WIN40/0/HPLJ022
| Note: If the printer names has spaces you must escape it with \

no. actually that was not what I was saying :-)
I was saying to remove the printer entries that
had the driver assigned and then you can use rpcclient'
deldriverex command to remove the driver from the server.

The deldriverex command will remove the driver files from
[print$] as well.

But either way.

cheers, jerry
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the samba mailing list