SUSE Support

Here When You Need Us

Samba printjob Properties cannot be displayed

This document (7015986) is provided subject to the disclaimer at the end of this document.

Environment


SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)

Situation

On a Windows 7 or 8 client, trying to view the Properties of a printjob sent to a samba/cups print server result in the following error on the client:

Document properties cannot be displayed. Operation could not be completed (error 0x00000057).

The samba log shows the following error:

[<date> <time>,  5, pid=24832]
printing/printing.c:3404(get_stored_queue_info)
  get_stored_queue_info: total_count = 2
  count:[2], prt_status:[1], []
[<date> <time>, 10, pid=24039]
printing/print_cups.c:130(cups_connect)
[<date> <time>,  1, pid=24832]
../librpc/ndr/ndr.c:284(ndr_print_function_debug)
  connecting to cups server /var/run/cups/cups.sock:631
       spoolss_GetJob: struct spoolss_GetJob
          out: struct spoolss_GetJob
              info                     : NULL
              needed                   : *
                  needed                   : 0x00000000 (0)
              result                   : WERR_INVALID_PARAM

Resolution

The samba maintenance update: samba-3.6.3-0.56.1 released February 2015 includes the patch to correct the spoolss EnumJobs and GetJob responses. Please install the recommended update.

Cause

Incorrect spoolss EnumJobs and GetJob codepaths are causing the problem.
They use and return the printing backend job identifier (sysjob), rather than the one allocated and returned by Samba on job submission.

Additional Information


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7015986
  • Creation Date: 11-Dec-2014
  • Modified Date:28-Sep-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.