[Samba] smbclient queue command issue
erowell at gmail.com
Wed Jun 23 05:36:41 MDT 2010
I would agree with the thoughts on the suggests changes. But I also
understand the limited resources on making these changes. At least if
we can get these in the "net" command so they are in one common place.
I would suggest that the cancel should also go into the "net" command.
Just to have a common set of tools compared to the windows "net"
command. Makes it easier to have people find. But if it is in the
rpcclient command I'm OK with that too.
On Tue, Jun 22, 2010 at 5:37 PM, Jeremy Allison <jra at samba.org> wrote:
> On Tue, Jun 22, 2010 at 05:21:22PM -0400, Eric Rowell wrote:
>> WoW. It worked just as expected;
>> rpcclient -c "enumjobs printer" -U user printserver
>> This worked great to get the list of the jobs on the print queue.
>> (too bad the "net" command doesn't support this)
> Ok, I should fix the smbclient and net binaries to use
> this instead.. Internally it's the cli_print_queue()
> function. Maybe I should add a cli_print_queue2()
> to keep backwards compatibility with old servers
> that only support RAP printing, and change smbclient
> and net to use cli_print_queue2() by default, and
> then fall back to cli_print_queue() if that fails...
>> Now if I could just get the delete/cancel job command I would be
>> golden. I didn't see a command equivalent on the list of options for
>> the rpcclient command. Since the option from "net" and smbclient
>> don't work for the same reason.
> Adding delete and cancel to rpcclient shouldn't
> be too hard. We have all the infrastructure
> for this. Probably will be in 3.6.0 and above though.
Eric B. Rowell
More information about the samba