[Samba] Restrict access to printers

Paul McAtasney paul.mcatasney at openwave.com
Fri Apr 19 08:55:02 GMT 2002

When I say it doesn't work, the printer is working fine. Unfortunately,
everyone can print to it, even those users not in the group grp1.

Regards Paul.

-----Original Message-----
From: Gerald Carter [mailto:jerry at samba.org]
Sent: 19 April 2002 14:56
To: Paul McAtasney
Cc: samba at lists.samba.org
Subject: Re: [Samba] Restrict access to printers

On Thu, 11 Apr 2002, Paul McAtasney wrote:

> I'm running samba 2.2.3a and want to add a printer so that it can only be
> used by certain users (or groups of users). This is the entry in the
> smb.conf file
> [floor2]
>         comment = Printer 2nd Floor
>         path = /var/spool/samba
>         printable = Yes
>         use client driver = Yes
>         valid users = @grp1
>         write list = @grp1
>         force group = grp1
>         public = no
> However, this doesn't appear to work. Can anyone enlighten me as to what's
> wrong?

Does work in what way?  Any error messages?  Have you looked at a level 10
debug log?  Any errors there?

cheers, jerry
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list