summaryrefslogtreecommitdiff
path: root/kerberosV/usr.bin/afslog
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2002-06-11 15:28:05 +0000
committerHans Insulander <hin@cvs.openbsd.org>2002-06-11 15:28:05 +0000
commit549f0ba063d86b501e5e8fc8e9f0956bdca390e0 (patch)
tree43806830e14b9525a967c3378e3ad3eabdab75c5 /kerberosV/usr.bin/afslog
parent6be9dc1f54b32df351cb588a35189a5a9fcff808 (diff)
Heimdal lacks an afslog manpage. I created one based on the krb4 one.
Diffstat (limited to 'kerberosV/usr.bin/afslog')
-rw-r--r--kerberosV/usr.bin/afslog/afslog.164
1 files changed, 64 insertions, 0 deletions
diff --git a/kerberosV/usr.bin/afslog/afslog.1 b/kerberosV/usr.bin/afslog/afslog.1
new file mode 100644
index 00000000000..a9ee59f10b5
--- /dev/null
+++ b/kerberosV/usr.bin/afslog/afslog.1
@@ -0,0 +1,64 @@
+.\" $OpenBSD: afslog.1,v 1.1 2002/06/11 15:28:04 hin 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) prefered.