2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
dlog - Authenticates to the DCE Security Service
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
|
|
|
B<dlog> S<<< [B<-principal> <I<user name>>] >>> S<<< [B<-cell> <I<cell name>>] >>>
|
|
|
|
S<<< [B<-password> <I<user's password>>] >>>
|
|
|
|
S<<< [B<-servers> <I<explicit list of servers>>+] >>>
|
|
|
|
S<<< [B<-lifetime> <I<ticket lifetime in hh[:mm[:ss]]>>] >>>
|
2005-12-09 14:48:56 +00:00
|
|
|
[B<-setpag>] [B<-pipe>] [B<-help>]
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<dlog> S<<< [B<-pr> <I<user name>>] >>> S<<< [B<-c> <I<cell name>>] >>>
|
|
|
|
S<<< [B<-pw> <I<user's password>>] >>>
|
|
|
|
S<<< [B<-ser> <I<explicit list of servers>>+] >>>
|
|
|
|
S<<< [B<-l> <I<ticket lifetime in hh[:mm[:ss]]>>] >>>
|
2005-12-09 14:48:56 +00:00
|
|
|
[B<-set>] [B<-pi>] [B<-h>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
</div>
|
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The B<dlog> command obtains DCE credentials for the issuer from the DCE
|
|
|
|
Security Service in the cell named by the B<-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 B<-principal> argument, the B<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 B<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).
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
The credentials are valid for a lifetime equivalent to the smallest of the
|
2005-12-09 14:48:56 +00:00
|
|
|
following, all but the last of which is defined by the DCE cell's Security
|
|
|
|
Server:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The maximum certificate lifetime for the issuer's DCE account.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The maximum certificate lifetime for the AFS principal's DCE account.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The registry-wide maximum certificate lifetime.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The registry-wide default certificate lifetime.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The lifetime requested using the B<-lifetime> argument.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
If the previous maximum certificate lifetime values are set to
|
2005-12-09 14:48:56 +00:00
|
|
|
C<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.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
The AFS Cache Manager stores the ticket in a credential structure
|
|
|
|
associated with the name of the issuer (or the user named by the
|
2005-12-09 14:48:56 +00:00
|
|
|
B<-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.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The AFS tokens command displays the ticket obtained by the B<dlog> command
|
|
|
|
for the server principal C<afs>, regardless of the principal to which it
|
|
|
|
is actually granted. Note that the B<tokens> command does not distinguish
|
|
|
|
tickets for a DFSTM File Server from tickets for an AFS File Server.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-principal> <I<user name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Specifies the DCE user name for which to obtain DCE credentials. If this
|
|
|
|
option is omitted, the B<dlog> command interpreter uses the name under
|
|
|
|
which the issuer is logged into the local file system.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-cell> <I<cell name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Specifies the DCE cell in which to authenticate. During a single login
|
|
|
|
session on a given machine, a user can authenticate in multiple cells
|
|
|
|
simultaneously, but can have only one ticket at a time for each cell (that
|
|
|
|
is, it is possible to authenticate under only one identity per cell per
|
2005-12-08 12:14:33 +00:00
|
|
|
machine). It is legal to abbreviate the cell name to the shortest form
|
|
|
|
that distinguishes it from the other cells listed in the
|
2005-12-09 14:48:56 +00:00
|
|
|
F</usr/vice/etc/CellServDB> file on the local client machine.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
If the issuer does not provide the B<-cell> argument, the B<dlog> command
|
|
|
|
attempts to authenticate with the DCE Security Server for the cell defined
|
|
|
|
by
|
|
|
|
|
|
|
|
=over 4
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
The value of the environment variable AFSCELL on the local AFS client
|
2005-12-09 14:48:56 +00:00
|
|
|
machine, if defined. The issuer can set the AFSCELL environment variable
|
|
|
|
to name the desired DCE cell.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The cell name in the F</usr/vice/etc/ThisCell> file on the local AFS
|
|
|
|
client machine. The machine's administrator can place the desired DCE
|
|
|
|
cell's name in the file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=back
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-password> <I<user's password>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the password for the issuer (or for the user named by the
|
2005-12-09 14:48:56 +00:00
|
|
|
B<-principal> argument). Using this argument is not recommended, because
|
|
|
|
it makes the password visible on the command line. If this argument is
|
|
|
|
omitted, the command prompts for the password and does not echo it
|
|
|
|
visibly.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-servers> <I<list of servers>>+
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies a list of DFS database server machines running the Translator
|
|
|
|
Server through which the AFS client machine can attempt to
|
2005-12-09 14:48:56 +00:00
|
|
|
authenticate. Specify each server by hostname, shortened machine name, or
|
|
|
|
IP address. If this argument is omitted, the B<dlog> command interpreter
|
|
|
|
randomly selects a machine from the list of DFS Fileset Location (FL)
|
|
|
|
Servers in the F</usr/vice/etc/CellServDB> file for the DCE cell specified
|
|
|
|
by the B<-cell> argument. This argument is useful for testing when
|
|
|
|
authentication seems to be failing on certain server machines.
|
|
|
|
|
|
|
|
=item B<-lifetime> <I<ticket lifetime>>
|
|
|
|
|
|
|
|
Requests a ticket lifetime using the format I<hh>B<:>I<mm>[B<:>I<ss>]
|
|
|
|
(hours, minutes, and optionally a number seconds between 00 and 59). For
|
|
|
|
example, the value C<168:30> requests a ticket lifetime of 7 days and 30
|
|
|
|
minutes, and C<96:00> requests a lifetime of 4 days. Acceptable values
|
|
|
|
range from C<00:05> (5 minutes) to C<720:00> (30 days). If this argument
|
|
|
|
is not provided and no other determinants of ticket lifetime have been
|
|
|
|
changed from their defaults, ticket lifetime is 10 hours.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
The requested lifetime must be smaller than any of the DCE cell's
|
|
|
|
determinants for ticket lifetime; see the discussion in the preceding
|
|
|
|
B<Description> section.
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-setpag>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Creates a process authentication group (PAG) in which the newly created
|
|
|
|
ticket is placed. If this flag is omitted, the ticket is instead
|
|
|
|
associated with the issuers' local user ID (UID).
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-pipe>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Suppresses any prompts that the command interpreter otherwise produces,
|
2005-12-09 14:48:56 +00:00
|
|
|
including the prompt for the issuer's password. Instead, the command
|
|
|
|
interpreter accepts the password via the standard input stream.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 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
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The following command authenticates the issuer as cell_admin in the
|
|
|
|
C<dce.abc.com> cell.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
% dlog -principal cell_admin -cell dce.abc.com
|
2005-12-09 14:48:56 +00:00
|
|
|
Password: <cell_admin's password>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
In the following example, the issuer authenticates as cell_admin to the
|
|
|
|
C<dce.abc.com> cell and request a ticket lifetime of 100 hours. The
|
|
|
|
B<tokens> command confirms that the user obtained DCE credentials as the
|
|
|
|
user C<cell_admin>: the AFS ID is equivalent to the UNIX ID of C<1>
|
|
|
|
assigned to C<cell_admin> in C<dce.abc.com> cell's DCE registry.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
% dlog -principal cell_admin -cell dce.abc.com -lifetime 100
|
2005-12-09 14:48:56 +00:00
|
|
|
Password: <cell_admin's password>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
% tokens
|
|
|
|
Tokens held by the Cache Manager:
|
2005-12-21 00:41:17 +00:00
|
|
|
|
|
|
|
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]
|
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
--End of list--
|
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<dpass(1)>,
|
|
|
|
L<klog(1)>,
|
|
|
|
L<tokens(1)>,
|
|
|
|
L<unlog(1)>
|
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|