From 194c39c3d932c5a0f8844787f0bbf74870234ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 17 Feb 2007 23:49:54 +0000 Subject: [PATCH] Small fixes, from David Love. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20259 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kuser/kimpersonate.1 | 14 +++++++------- lib/krb5/krb5_aname_to_localname.3 | 16 ++++++++-------- lib/krb5/krb5_digest.3 | 6 +++--- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/kuser/kimpersonate.1 b/kuser/kimpersonate.1 index 982dbba22..35be1cad8 100644 --- a/kuser/kimpersonate.1 +++ b/kuser/kimpersonate.1 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2002 - 2004, 2006 Kungliga Tekniska Högskolan +.\" Copyright (c) 2002 - 2007 Kungliga Tekniska Högskolan .\" (Royal Institute of Technology, Stockholm, Sweden). .\" All rights reserved. .\" @@ -32,7 +32,7 @@ .\" $Id$ .\" .Dd September 18, 2006 -.Dt KERBEROS SECTION +.Dt KERBEROS 1 .Os Heimdal .Sh NAME .Nm kimpersonate @@ -68,8 +68,8 @@ impersonate a user when there exist a srvtab, keyfile or KeyFile .Sh DESCRIPTION The .Nm -program create a "fake" ticket using the service-key of the service, -the service key can be read from a Kerberos 5 keytab, AFS KeyFile or +program creates a "fake" ticket using the service-key of the service. +The service key can be read from a Kerberos 5 keytab, AFS KeyFile or (if compiled with support for Kerberos 4) a Kerberos 4 srvtab. Supported options: .Bl -tag -width Ds @@ -92,7 +92,7 @@ name of keytab file .Fl 5 Ns , .Fl -krb5 .Xc -create a kerberos 5 ticket +create a Kerberos 5 ticket .It Xo .Fl e Ar integer Ns , .Fl -expire-time= Ns Ar integer @@ -143,8 +143,8 @@ or for debugging. .Nm -s host/hummel.e.kth.se@E.KTH.SE -c lha@E.KTH.SE -5 will create a Kerberos 5 ticket for lha@E.KTH.SE for the host -hummel.e.kth.se if there exist a keytab entry for it in -.Pa /etc/krb5.keytab +hummel.e.kth.se if there exists a keytab entry for it in +.Pa /etc/krb5.keytab . .Sh SEE ALSO .Xr kinit 1 , .Xr klist 1 diff --git a/lib/krb5/krb5_aname_to_localname.3 b/lib/krb5/krb5_aname_to_localname.3 index 368459a39..1d6b5226b 100644 --- a/lib/krb5/krb5_aname_to_localname.3 +++ b/lib/krb5/krb5_aname_to_localname.3 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2003 Kungliga Tekniska Högskolan +.\" Copyright (c) 2003 - 2007 Kungliga Tekniska Högskolan .\" (Royal Institute of Technology, Stockholm, Sweden). .\" All rights reserved. .\" @@ -31,7 +31,7 @@ .\" .\" $Id$ .\" -.Dd April 24, 2005 +.Dd February 18, 2006 .Dt KRB5_ANAME_TO_LOCALNAME 3 .Os HEIMDAL .Sh NAME @@ -63,16 +63,16 @@ If the size .Fa ( lnsize ) of the local name .Fa ( lname ) -is to small, an error is returned. +is too small, an error is returned. .Pp .Fn krb5_aname_to_localname -should only be use by application that implements protocols that -doesn't transport the login name and thus needs to convert a principal +should only be use by an application that implements protocols that +don't transport the login name and thus needs to convert a principal to a local name. .Pp -Protocols should be designed so that the it autheticates using -Kerberos, send over the login name and then verifies in the principal -that authenticated is allowed to login and the login name. +Protocols should be designed so that they authenticate using +Kerberos, send over the login name and then verify the principal +that is authenticated is allowed to login and the login name. A way to check if a user is allowed to login is using the function .Fn krb5_kuserok . .Sh SEE ALSO diff --git a/lib/krb5/krb5_digest.3 b/lib/krb5/krb5_digest.3 index a467da4d8..aaba3d86f 100644 --- a/lib/krb5/krb5_digest.3 +++ b/lib/krb5/krb5_digest.3 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2006 Kungliga Tekniska Högskolan +.\" Copyright (c) 2006 - 2007 Kungliga Tekniska Högskolan .\" (Royal Institute of Technology, Stockholm, Sweden). .\" All rights reserved. .\" @@ -31,7 +31,7 @@ .\" .\" $Id$ .\" -.Dd October 3, 2006 +.Dd February 18, 2007 .Dt KRB5_DIGEST 3 .Os HEIMDAL .Sh NAME @@ -73,7 +73,7 @@ Kerberos 5 Library (libkrb5, -lkrb5) .Li "typedef struct krb5_digest *krb5_digest;" .Pp .Ft krb5_error_code -.Fa krb5_digest_alloc +.Fo krb5_digest_alloc .Fa "krb5_context context" .Fa "krb5_digest *digest" .Fc