[Samba] Restrict access to printers

Dirk Allaert da at schaubroeck.be
Thu Apr 11 09:19:03 GMT 2002


[floor2]
printer = floor2
printable = yes
...

would probably be an improvement.
path=/var/spool/samba means you are sharing the directory !

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?
> 
> Thanks.
> 
> 
> 
> 
> 






More information about the samba mailing list