[Samba] Re: Howto delete printer driver for only one architecture?

Gerald (Jerry) Carter jerry at samba.org
Fri Feb 18 13:15:42 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christoph Peus wrote:
| Gerald (Jerry) Carter wrote:
|
|> | Therefore I would like to delete these old drivers, but
|> | I don't know how to achieve this without
|> | deleting the drivers for all architectures
|>
|> Use a windows 200 or later client.  Browse to the
|> server's 'printers and faxes' folder.
|>
|> Now File -> Server properties and got to the driver
|> tab.  You can select the specific driver and architectures
|> there.
|
| Thanks for your quick reply, but it doesn't solve
| the problem for me, because the "add" and "delete"
| buttons are grayed out (not usable) in
| this context, though I logged in with admin rigths. (I hope so)

If they are greyed out, you don't have admin rights.  You have to
defined the 'printer admin' option in [global] to get things to work
well.  And I realize that this is kind of a documentation bug.
Or you can use the SePrintOperatorPrivilege in Samba 3.0.11

| (Besides of that - a scriptable solution would
| be very helpfull, because I have to do this for
| about 90 printers...)

rpcclient $> deldriverex
Usage: deldriverex <driver> [arch] [version]







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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCFep9IR7qMdg1EfYRAl3tAJ4oV7B+Tj4uusrqPLeCrrL80n+j6wCg8Kc/
D6nDBCWxKBx7RKwMyctMB44=
=hTNX
-----END PGP SIGNATURE-----


More information about the samba mailing list