[Samba] Restricting Access to Samba Shared Printers?

Tom.Klopf at mms.gov Tom.Klopf at mms.gov
Fri Jul 12 20:22:28 GMT 2002

Generally, I think the answer is "yes" :). 

The smb.conf doc file gives the following example of a printer share:

path = /usr/spool/public
writeable = false
printable = true
guest ok = true

I would try changing this to the following as an example of allowing only
certain users/groups:

path = /usr/spool/public
writeable = false
printable = true
guest ok = false
valid users = you, me, @their_group, @our_group

You'll have to test that, though - I don't have the time myself :).  This
example assumes, of course, that all of your users/groups are set up

Hope it works,
-tom klopf

-----Original Message-----
From: Ken McCord [mailto:ken at themccords.com] 
Sent: Friday, July 12, 2002 9:24 AM
To: samba at lists.samba.org
Subject: [Samba] Restricting Access to Samba Shared Printers?

Is it possible (and if so, how) within Samba to restrict printers to be 
using by only certain users/groups?  We have a printer dedicated to 
printing our checks that was using one of those '4 PCs -> 1 printer' 
devices.  We've been constantly having problems with transmissions 
getting garbled when using the printer sharer (everything's fine if a PC 
is directly connected), and with Samba running like a top, I'd rather 
move it to the network.

We're using version 2.2.4 of Samba.


Ken McCord
MIS Manager
A.C. Coin and Slot

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 mailing list