MLUG: Re: [MLUG] Restricting Printer Access with Samba
Re: [MLUG] Restricting Printer Access with Samba
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bob wrote:
> Hey All, 
> 
> I'm playing with Samba right now. I have two printers that I want to share and restrict access to. 
> The first printer is an IP based, networkable printer, so that one will be easy to set up. 
> The second printer is a HP laserprinter that is attached via a parallel port to a win98 workstation. 
> I know how to share the IP based printer with Samba, but not the parallel port based printer. I know I can "share" the printer with settings on the workstation, but is there any way to link that in with a Samba share?

If you have CUPS installed, it can connect to printers using the "Windows 
Printer via SAMBA" device option. If you use LPR, AFAIK, your only option is 
IP-based access which would not work in DHCP environment.

> Also, is there an easy way to restrict access to both of these printers by username? 

Add "guest ok = no" option under [printers] in /etc/samba/smb.conf and set up 
Samba users (smbadduser).

-- 
MK

--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/