HP CIFS Server Administrator Guide Version A.02.04.04 (5070-6710, October 2011)

To turn map archive off, modify /etc/opt/samba/smb.conf as follows:
map archive = no
map readonly Attriubte
The smb.conf parameter, map readonly, controls how the DOS read only attribute should be
mapped from a UNIX files system
Three valid settings for this parameter are:
yes The read only DOS attribute is mapped to the inverse of the user (owner) write
bit in the UNIX permission mode set. If the owner write bit is not set, the read
only attribute is reported as being set on the file.
permissions The read only DOS attribute is mapped to the effective permissions of the
connecting user, as evaluated by reading the UNIX permissions and POSIX ACL
(if present). If the connecting user does not have permission to modify the file,
the read only attribute is reported as being set on the file.
no The read only DOS attribute is unaffected by permissions.
By default, the map readonly attribute is set to yes. Samba uses user (owner) access permission
to determine whether a file is read only. The file access permission is determined by the POSIX
write access permission for user (owner). If the write permission on a file is not set for the user
(owner), then Samba treats that file as read-only. Once Samba identifies a file as read-only, any
write access attempting to that file would immediately result in access denied error. Group members
are unable to write to a file with UNIX write access permission disabled for the user (such as 070
or 060).
If you set this parameter to “permissions, the file access permissions for group members will
be evaluated by validating UNIX group permissions. Group members can write to files with UNIX
write permission enabled for the group (such as 060 or 070). The smb.conf parameter, store
dos attributes, must be set to No (default), otherwise, the map readonly parameter setting
will be ignored.
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.
Step 3: Modify the Configuration 23