Problem printing from NT to printer attached to LInux box
Joel at HammersHome.com
Tue Nov 20 16:29:06 GMT 2001
A juicy permissions problem.
Try running checkpc -f and see if that fixes up permissions for you.
Below are the permissions on lpr, I assume your print command.
It needs to be suid.
rwsr-xr-x 1 root root 235672 Feb 17 2000 /usr/bin/lpr
On Tue, Nov 20, 2001 at 05:50:41PM -0500, Carlton Davis wrote:
> I installed Samba 2.2.2 on my Linux box. The smb.conf file is as shown
> below. The permission on /var/spool/lpd/lp is set to 755; ie, it is
> writable only by the owner, which is lp. With the setup as is, when I
> try to print from the NT machine, the smb log on the Linux box
> indicates the following error: " print_job_start: insufficient
> permissions to open spool file /var/spool/lpd/lp".
> If I set the permission on /var/spool/lpd/lp to 777, I can
> print; however, for obvious security concerns, this solution is
> Could someone inform me as to what is the correct way to set things up
> to allow printing from my NT machine without making /var/spool/lpd/lp
> writable by all. My smb.conf file is shown below.
> netbios name = bert
> workgroup = WORKGROUP
> hosts allow = 10.10.10. 127.
> load printers = yes
> max log size = 50
> security = server
> password server = 10.10.10.8
> socket options = TCP_NODELAY
> comment = All Printers
> path = /var/spool/lpd/lp
> browseable = yes
> guest ok = yes
> writable = no
> printable = yes
> public = yes
> write list = @administrators,root
> Thanks in advance.
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba