[Samba] Another question about viewing shares (printers in this case)

Xavi León Javier.Leon-Gutierrez at upc.edu
Mon Jan 3 17:42:34 GMT 2005


Hi again,
after the thread "a question about acl's..." here is another tunning 
question... there is a way to hide the printers for specified users/groups?

I have 2 printers, one for users and the other for the administrative 
personel. So, i have restricted the access of one printer to users and the 
other for the admins. There's no problem...

But, when i see what there are in \\server (file and print server) i see
the two printers and i want to see only one (the admin one). Anyway, i 
cannot access the users printer. It's an example of course.

The printer section of my smb.conf:
[ Samba 3.0.10 ]

[printer1]
         comment = printer1
         path = /var/spool/samba
         valid users = @admins
         printable = Yes
	browseable = yes
         guest ok = no

[printer2]
         comment = printer2
         path = /var/spool/samba
         valid users = @users
         printable = Yes
         browseable = yes
         guest ok = no

Well, it's for tunning better the configuration of the server.

Thnx!!



More information about the samba mailing list