Purpose
Authenticates to the DCE Security Service
Synopsis
dlog [-principal <user name>] [-cell <cell name>] [-password <user's password>] [-servers <explicit list of servers>+] [-lifetime <ticket lifetime in hh[:mm[:ss]]>] [-setpag] [-pipe] [-help] dlog [-pr <user name>] [-c <cell name>] [-pw <user's password>] [-ser <explicit list of servers>+] [-l <ticket lifetime in hh[:mm[:ss]]>] [-set] [-pi] [-h]
Description
The dlog command obtains DCE credentials for the issuer from the DCE Security Service in the cell named by the -cell argument, and stores them on the AFS client machine on which the user issues the command. The AFS/DFS Migration Toolkit Protocol Translator processes running on machines in the DCE cell accept the credentials, which enables the user to access the DCE cell's filespace from the AFS client. The user's identity in the local file system is unchanged.
If the issuer does not provide the -principal argument, the dlog command interpreter uses the user name under which the issuer is logged into the local file system. Provide the DCE password for the appropriate user name. As with the klog command, the password does not cross the network in clear text (unless the issuer is logged into the AFS client from a remote machine).
The credentials are valid for a lifetime equivalent to the smallest of the following, all but the last of which is defined by the DCE cell's Security Server:
If the previous maximum certificate lifetime values are set to default-policy, the maximum possible ticket lifetime is defined by the default certificate lifetime. Refer to the DCE vendor's administration guide for more information before setting any of these values.
The AFS Cache Manager stores the ticket in a credential structure associated with the name of the issuer (or the user named by the -principal argument. If the user already has a ticket for the DCE cell, the ticket resulting from this command replaces it in the credential structure.
The AFS tokens command displays the ticket obtained by the dlog command for the server principal afs, regardless of the principal to which it is actually granted. Note that the tokens command does not distinguish tickets for a DFSTM File Server from tickets for an AFS File Server.
Options
If the issuer does not provide the -cell argument, the dlog command attempts to authenticate with the DCE Security Server for the cell defined by
The requested lifetime must be smaller than any of the DCE cell's determinants for ticket lifetime; see the discussion in the preceding Description section.
Output
If the dlog command interpreter cannot contact a Translator Server, it produces a message similar to the following:
dlog: server or network not responding -- failed to contact authentication service
Examples
The following command authenticates the issuer as cell_admin in the dce.abc.com cell.
% dlog -principal cell_admin -cell dce.abc.com Password: cell_admin's password
In the following example, the issuer authenticates as cell_admin to the dce.abc.com cell and request a ticket lifetime of 100 hours. The tokens command confirms that the user obtained DCE credentials as the user cell_admin: the AFS ID is equivalent to the UNIX ID of 1 assigned to cell_admin in dce.abc.com cell's DCE registry.
% dlog -principal cell_admin -cell dce.abc.com -lifetime 100 Password: cell_admin's password % tokens Tokens held by the Cache Manager: User's (AFS ID 1) tokens for afs@dce.abc.com [Expires Jul 6 14:12] User's (AFS ID 4758) tokens for afs@abc.com [Expires Jul 2 13:14] --End of list--
Privilege Required
None
Related Information