z/OS Network File System Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Outbound owner and owner_group attributes processing

z/OS Network File System Guide and Reference
SC23-6883-00

Outbound owner and owner_group attributes may be present in:
  • GETATTR, READDIR NFSv4 operations
Owner and owner_group attributes can be sent to the client in the form of:
  • "user@dns_domain" strings
  • Special strings like anonymous user/group strings and superuser strings
  • Numeric string (for example, "100")

Translation of UID, GID to owner and owner_group attributes uses (in the following order):

  1. Internal z/OS NFS server cache of UIDs, GIDs
  2. RACF database

For invalid translation z/OS NFS server uses numeric string representation for outbound owner and owner_group attributes.

Special strings "nobody" and "root" generation :
  • If UID is equal to the stored uid of "nobody", z/OS NFS server maps it to anonymous owner string using the default "nobody" name.
  • If GID is equal to the stored gid of "nobody", z/OS NFS server maps it to anonymous owner_group string using the same default "nobody" name.
  • If UID is equal to 0, z/OS NFS server maps it to superuser owner string using default "root" name.
  • If GID is equal to 0, z/OS NFS server maps it from RACF cache and derives the group name from the RACF database.

z/OS NFS server uses internal z/OS NFS server uid and gid cache and RACF database to find user/group names and their UIDs/GIDs.

During mapping inbound owner and owner_group attributes to numeric identifiers:
  • The z/OS NFS server gets UID by user name from the RACF database.
  • The z/OS NFS server gets GID by group name from the RACF database.
During mapping numeric identifiers to outbound owner and owner_group attributes:
  • The z/OS NFS server searches for the numeric identifier (UID or GID) in internal z/OS NFS server cache.
  • If the numeric identifier is found in z/OS NFS server cache then there is no reason to obtain it from the RACF database (invalid translation uses numeric string representation).
  • Otherwise the z/OS NFS server attempts to obtain a name by numeric identifier from the RACF database.
  • If the name is not found in the RACF database, the z/OS NFS server puts numeric identifier into internal z/OS NFS server cache and uses the numeric string representation.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014