Bug 9154 - Checking the printing queue with smbclient always returns ACCESS_DENIED.
Checking the printing queue with smbclient always returns ACCESS_DENIED.
Status: RESOLVED FIXED
Product: Samba 3.6
Classification: Unclassified
Component: Printing
3.6.7
All All
: P5 normal
: ---
Assigned To: Karolin Seeger
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-12 14:07 UTC by Andreas Schneider
Modified: 2012-09-17 09:53 UTC (History)
1 user (show)

See Also:


Attachments
v3-6-test patch (1.44 KB, patch)
2012-09-12 14:08 UTC, Andreas Schneider
gd: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2012-09-12 14:07:50 UTC
Checking the printing queue with smbclient always returns ACCESS_DENIED cause we use the wrong access flags to open the spoolss pipe.

Reproducer:
smbclient //localhost/printer -U me%secret -c queue
Comment 1 Andreas Schneider 2012-09-12 14:08:34 UTC
Created attachment 7886 [details]
v3-6-test patch
Comment 2 Guenther Deschner 2012-09-12 14:20:59 UTC
Comment on attachment 7886 [details]
v3-6-test patch

looks very good, thanks!
Comment 3 Guenther Deschner 2012-09-12 14:21:37 UTC
Karolin, please add to 3.6.x.

THanks.
Comment 4 Karolin Seeger 2012-09-17 09:53:53 UTC
Pushed to v3-6-test.
Will be included in the next bugfix release.
Closing out bug report.

Thanks!