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.
[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. > > > > >
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--