[Samba] Samba printer: Access denied, unable to connect

Mark Liu markliu1989 at yahoo.com
Mon Sep 22 15:54:26 GMT 2003


I have Samba 2.2.8a on my Red Hat 9 as the Primary
Domain Controller. 
 
I can print everything pretty well from my Red Hat 9
box. 
 
I can logon to Samba-controlled domain METRAN from my
XP boxes, and I can also 
see the shared printer - smbLPR, which is a HP
LaserJet 4si.  But the status 
of the shared printer is "Access denied, unable to
connect". 
 
If I double click it, XP says: 
 
A policy is in effect on your computer which prevents
you from connecting to 
this print queue. Please contact your system
administrator. 
 
I followed the instructions at
http://support.microsoft.com/?kbid=319939 and 
enabled point and print.  But the problem remains. 
 
Here is the part of my smb.conf which has to do with
the printer setting.  
Please note that I have to use lpr.cups on my Red Hat
system to print 
anything. lpr does not work. 
 
[smbLPR] 
        path = /var/tmp 
        printable = Yes 
        printing = bsd 
        print command = lpr.cups -P%p -r %s 
        printer name = mySambaPrinter 
 
Any idea on how to fix this? 
 
 





More information about the samba mailing list