HP CIFS Server Administrator's Guide (5900-1282, April 2011)

Configuring a [printers] share
The following is a minimal printing setup. Use either one of the following two procedures to create
a [printers] share:
1. SWAT (Samba Administration Tool)
-or-
2. Create a [printers] share in the /etc/opt/samba/smb.conf file. Refer to the following example:
[hpdeskjet]
path = /tmp
printable = yes
Where "hpdeskjet" is the name of the printer to be added.
Creating a [printers] share
Configure a [printers] share in the /etc/opt/samba/smb.conf file. Refer to the following example:
[printers]
path = /tmp
printable = yes
browseable = no
This share is required if you want the printer's list to be displayed in SWAT, which is not defined
in the smb.conf file, but exists on the HP CIFS Server. If this share is not defined, the printer's list
will display only those printer shares which are defined in the smb.conf file.
Setup Server for automatically uploading printer driver files
In order to add a new driver to your Samba host using version A.03.01a of the software, one of
two conditions must hold true:
1. The account used to connect to the Samba host must have a uid of 0 (i.e. a root account),
or...
2. The account used to connect to the Samba host must be a member of the printer admin list.
This will require a [global] smb.conf parameter as follows:
printer admin = netadmin
The connected account must still possess access to add files to the subdirectories beneath [print$].
Keep in mind that all files are set to 'read only' by default, and that the printer admin parameter
must also contain the names of all users or groups that are going to be allowed to upload drivers
to the server, not just 'netadmin'.
The following is an example of the other parameters required:
1. Create a [print$] share in the smb.conf file that points to an empty directory named
"/etc/opt/samba/printers" on the HP CIFS Server. Refer to the following example:
[print$]
path = /etc/opt/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = netadmin
Step 3: Modify the Configuration 23