The Samba-Bugzilla – Bug 9149
Printing works for Administrator, but does not for Regular User
Last modified: 2012-09-14 20:19:37 UTC
Created attachment 7867 [details]
loglevel 10 for samba
When logged in as administrator, I can print fine to printers shared from samba4, using the print$ share to load point&print drivers. This works both with manually connecting, or connecting via a group policy.
Regular users also get the printer to show up via group policy, or manually connected (after entering administrator creds to install the driver) But all attempts to print seem to silently fail.
Samba 4 Version is git HEAD from a few days ago. Version 4.0.0beta9-GIT-9520b05
Created attachment 7868 [details]
loglevel 10 for smbd (part one)
Created attachment 7869 [details]
loglevel 10 for smbd (part two)
Created attachment 7870 [details]
I tested this with a user who is a member of domain admins, and I have the same result as with a regular user.
(In reply to comment #1)
> Created attachment 7868 [details]
> loglevel 10 for smbd (part one)
Spoolss is allowing OpenPrinterEx(\\larry\HP2300DTN, PRINTER_ACCESS_USE) requests from the user 'ARIAEBS\bspinelli'.
What seems to be causing problems are OpenPrinterEx requests with PRINTER_ACCESS_ADMINISTER specified, which is rejected by print_access_check().
After a reboot, I was able to use a user that was 'Member Of' 'Domain Admins' So, please ignore that symptom.
So could you please get us new clean log files and corresponding network traces?
After updating to the latest git, and changing a share setting or two, the problem seems to be fixed. Chalk it up to operator error.