given for the dfs_login and dfs_logout commands can only be performed if your NFS vendor provides these commands. If these commands are not available, use the instructions for the dfsgw add and dfsgw delete commands, which work in a similar fashion. See your NFS vendor documentation for the availability and use of the dfs_login and dfs_logout commands.
The syntax of the dfs_login command follows:
dfs_login
where:
-h hostname
Specifies the hostname of the Gateway Server machine. By default, the command uses the hostname of the machine that exports /... to the NFS client. Use this option to contact a different Gateway Server.
-l hh[:mm]
Specifies the lifetime to assign to the service ticket obtained with the command. Enter the lifetime as a number of hours and, optionally, minutes. A value specified with this option is subject to the policies in effect in the registry database of the DCE cell. By default, the ticket is assigned the DCE cell’s default lifetime.
dce_principal
Specifies the DCE principal name of the user for whom to obtain a ticket. By default, the command uses the name of the issuer of the command.
dce_password
Provides the DCE password of the specified user. If you do not specify a password, the command prompts for a password if one of the following is true: You name a user other than yourself; you name yourself and you do not already have a valid TGT; or you do not name a user and you do not already have a valid TGT. The command does not prompt for a password if you do not name a different user and you already have a valid TGT.
For example, the user named ludwig issues the following dfs_login command to authenticate to DCE from an NFS client:
$dfs_login
Password for ludwig@abc.com: password
where password is the DCE password of the user ludwig. In the example, the user ludwig does not already have a valid TGT, so the command prompts for the user’s password and obtains a TGT for the user. If the login succeeds, the dfs_login command returns no messages.