Step 9: Let Guests Print

By default, Samba uses the standard Windows network logon accounts to control network security. However, for a print server on a small network, this can be overkill.

For small networks, you most likely want to let anyone on the network print. In such a situation, it’s kind of silly to create unique user accounts for everyone. Instead, you should just allow anyone to print on the shared printer.

Unfortunately, the Samba Configuration window doesn’t provide for setting this feature, so you’ll have to dive into the Samba configuration file and change it yourself. Here’s how to do that:

1.
Log in to the Fedora system as the root user. The Samba configuration file is protected so only the root user can edit it.
2.
Click ApplicationsAccessoriesText Editor.
3.
Click the Open icon and browse to the Samba configuration file, /etc/samba/smb.conf.
4.
In the configuration file, look for the [printers] section. The [printers] section contains all the Samba settings for controlling printer sharing. You should see the following entries:
 comment = All Printers                                              
								 path = /usr/spool/samba                                             
								 browseable = no                                                     
								 # Set public = yes to allow user 'guest account' to                 
								         print                                                       
								 ; guest ok = no                                                     
								 ; writeable = no                                                    
								 printable = yes                                                     
5.
Remove the semicolon in front of guest ok and change ...

Get Linux® For Dummies®, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.