HP CIFS Server 3.0f Administrator's Guide verison A.02.03

Configuring Print Services for HP CIFS Version A.02.02
This section provides information about configuring Print Services on systems running HP CIFS version
A.02.02. The HP CIFS Server now provides the following NT printing functionality:
Printer driver files may be downloaded to Windows NT, 2000 and XP clients that do not have them
Printer driver files may be uploaded using the Windows NT/XP/2000 Add Printer wizard
Support for Windows Access Control Lists (ACL) on printer objects
Information about setting up and configuring each of the Print Services (except ACLs) is shown in the following
sections. Information about configuring ACL Support is discussed in a previous section.
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.02.01 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
30 Installing and Configuring the HP CIFS Server