Bug 805562

Summary: Unable to share print queues
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: sambaAssignee: Guenther Deschner <gdeschner>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: asn, gdeschner, lav, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-15 16:49:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tim Waugh 2012-03-21 15:29:06 UTC
Description of problem:
I am trying to use samba to share a CUPS print queue over SMB.

Version-Release number of selected component (if applicable):
samba-3.6.3-78.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1.First, connect a printer and print a test page.
2.Install samba.
3.smbpasswd -a twaugh (and set a password)
4.Now test whether samba can accept jobs. From the command line:

$ smbclient //mymachine/Epson-Stylus-D78 -U twaugh
(enter password)
smb: \> print /etc/fstab
  
Actual results:
NT_STATUS_ACCESS_DENIED opening remote file fstab-6144

Expected results:
File sent to print queue.

Additional info:
Also fails if "guest ok = yes" is set in [printers], and when connecting as a guest i.e. using -N.

Comment 1 Vitaly Lipatov 2012-10-15 18:03:16 UTC
Resolved by Andreas Schneider since 2012-10-08 11:46:16 UTC 
See https://bugzilla.samba.org/show_bug.cgi?id=8769