HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
Installing and Configuring the HP CIFS Server
Step 3: Modify the Configuration
Chapter 238
-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.01.08 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: