blob: 0a472d7d83159ec0e77692b0e9ff4f224ac9cb5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
.\" $OpenBSD: afslog.1,v 1.2 2003/01/06 06:43:10 cloder Exp $
.\"
.Dd June 10, 2002
.Dt AFSLOG 1
.Os HEIMDAL
.Sh NAME
.Nm afslog
.Nd "obtains AFS tokens"
.Sh SYNOPSIS
.Nm
.Op Fl uvh
.Op Fl -cells Ns = Ns Ar cell
.Op Fl c Ar cell
.Op Fl k Ar realm
.Op Fl -realm Ns = Ns Ar realm
.Op Fl p Pa path
.Op Fl -paths Ns = Ns Ar path
.Op Fl -unlog
.Op Ar args
.Sh DESCRIPTION
The
.Nm
command obtains AFS tokens for the cell or path
.Ar args Ns .
.Ar args
is treated as a path
if it contains the characters
.Li . Ns , Li .. Ns ,
or
.Li / Ns .
If not, it is treated as a cellname or the beginning of a cellname.
.Pp
The
.Fl c Ns , Fl -cells Ns , Fl p
and
.Fl -path
flags can be used to resolve ambiguities between cells and paths.
.Pp
If
.Nm
fails to guess the Kerberos realm to get tickets for,
.Fl k Ar realm
can be specified.
.Pp
If the
.Fl u
or
.Fl -unlog
flag is given any tokens are removed and all other arguments are ignored.
.Sh SEE ALSO
.Xr kauth 1 ,
.Xr kafs 3
.Sh CAVEATS
.Nm
might fail to guess the Kerberos realm to get tickets for (for
instance if the volume location servers of the cell does not reside in
the kerberos realm that holds the AFS service key, and the correct
realm isn't the same as the cell name or the local realm
(this is not a common problem)).
The flag
.Fl k
can be used to give a hint. It should not be used unless there is a
problem, since all tickets will be taken from the specified realm and
this is not (usually) preferred.
|