[Samba] Restrict access to printers

Joel Hammer Joel at HammersHome.com
Fri Apr 19 09:10:02 GMT 2002


force group (S)
              This  specifies  a  UNIX  group  name  that will be
              assigned as the default primary group for all users
              connecting  to  this  service.
Are you sure you want to be doing this?

Joel


 On Fri, Apr 19, 2002 at 04:52:37PM +0100, Paul McAtasney wrote:
> 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--
> 
> 
> 
> 
> 
> -- 
> 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