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


Procedure 13: perform user authentication

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

The input parameters are local host name, encoded user name, encoded password, and comments from the requestor. NFS ignores the local host name and comments from the requestor, and decodes the user name and password in the input parameters. NFS does authentication based on the user name and password.

The output parameters are:

Return codes
There are only two possible return codes that can be sent back to the caller:
  • Return code = 0 - Authentication successful
  • Return code = 2 - Authentication failed
UID and GID If user name and password are verified successfully (return code = 0), the corresponding UID and GID values are returned.
Number of alternate GIDs Because NFS does not support alternate GIDs, this field is set to zero.
Pointer to a list of the alternate GIDs Because NFS does not support alternate GIDs, this field is set to zero.
Logon Home Directory Because NFS does not support logon home directory, this field is zero.
Default umask Because NFS does not support default umask, this field is set to zero.
Comments sent to the requestor If the return code is 2, this comment field contains the reason why the request failed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014