HP CIFS Server 3.0g Administrator's Guide verison A.02.03.01
Configure DOS Attribute Mapping
map system, map hidden and map archive Attributes
There are three parameters, map system, map hidden, and map archive, that can be configured in
Samba to map DOS file attributes to owner, group, and other execute bits in the UNIX file system.
When using the CIFS Client, you may want to have all three of these parameters turned off. If
the map archive parameter is on, any time a user writes to a file, the owner execute permission
will be set. This is usually not desired behavior for HP CIFS clients or UNIX clients in general.
By default, map system and map hidden are off, and map archive is on.
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.
32 Installing and Configuring the HP CIFS Server