diff options
| author | David Disseldorp <ddiss@samba.org> | 2014-10-27 20:13:59 +0100 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-10-28 03:05:35 +0100 |
| commit | d4f233a746d89e13aae78008b499c71b695ff882 (patch) | |
| tree | ab47025f5399fbd95a0b87201b5478b9249a7df2 /python/samba | |
| parent | 814b0ade8c1aa62a15f896d2dc7091403a582968 (diff) | |
spoolss: fix handling of bad EnumJobs levels
Currently Samba is inconsistent when returning WERR_UNKNOWN_LEVEL
errors for spoolss EnumJobs requests - if no print jobs are present,
then WERR_OK will be returned, regardless of whether the EnumJobs level
is supported or not.
This change fixes this behaviour, by catching invalid or unsupported
levels prior to the no-jobs response fast-path.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10898
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct 28 03:05:35 CET 2014 on sn-devel-104
Diffstat (limited to 'python/samba')
0 files changed, 0 insertions, 0 deletions
