spelling, from Björn Sandell <biorn@dce.chalmers.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14905 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
.\" Copyright (c) 2003 Kungliga Tekniska H<>gskolan
|
.\" Copyright (c) 2003, 2005 Kungliga Tekniska H<>gskolan
|
||||||
.\" (Royal Institute of Technology, Stockholm, Sweden).
|
.\" (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 11, 2002
|
.Dd April 24, 2005
|
||||||
.Dt KRB5_ADDRESS 3
|
.Dt KRB5_ADDRESS 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -244,11 +244,9 @@ and the
|
|||||||
.Fa h_addr_list
|
.Fa h_addr_list
|
||||||
component.
|
component.
|
||||||
.Fa Sa_size
|
.Fa Sa_size
|
||||||
should be initially contain the size of the
|
should initially contain the size of the
|
||||||
.Fa sa ,
|
.Fa sa ,
|
||||||
and after the call, it will contain the actual length of the address.
|
and after the call, it will contain the actual length of the address.
|
||||||
.Fa sa
|
|
||||||
argument.
|
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_h_addr2addr
|
.Fn krb5_h_addr2addr
|
||||||
works like
|
works like
|
||||||
@@ -256,14 +254,14 @@ works like
|
|||||||
with the exception that it operates on a
|
with the exception that it operates on a
|
||||||
.Li krb5_address
|
.Li krb5_address
|
||||||
instead of a
|
instead of a
|
||||||
.Li struct sockaddr
|
.Li struct sockaddr .
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_anyaddr
|
.Fn krb5_anyaddr
|
||||||
fills in a
|
fills in a
|
||||||
.Li "struct sockaddr"
|
.Li "struct sockaddr"
|
||||||
.Fa sa
|
.Fa sa
|
||||||
that can be used to
|
that can be used to
|
||||||
.Xf bind 3
|
.Xf bind 2
|
||||||
to.
|
to.
|
||||||
.Fa Sa_size
|
.Fa Sa_size
|
||||||
should be initially contain the size of the
|
should be initially contain the size of the
|
||||||
@@ -273,27 +271,27 @@ and after the call, it will contain the actual length of the address.
|
|||||||
.Fn krb5_print_address
|
.Fn krb5_print_address
|
||||||
prints the address in
|
prints the address in
|
||||||
.Fa addr
|
.Fa addr
|
||||||
to the a string
|
to the string
|
||||||
.Fa string
|
.Fa string
|
||||||
that have the length
|
that have the length
|
||||||
.Fa len .
|
.Fa len .
|
||||||
If
|
If
|
||||||
.Fa ret_len
|
.Fa ret_len
|
||||||
if not
|
is not
|
||||||
.Dv NULL ,
|
.Dv NULL ,
|
||||||
it will be filled in length of the string if size where unlimited (not
|
it will be filled with the length of the string if size where unlimited (not
|
||||||
included the final
|
included the final
|
||||||
.Ql \e0 ) .
|
.Ql \e0 ) .
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_parse_address
|
.Fn krb5_parse_address
|
||||||
Returns the resolving a hostname in
|
Returns the resolved a hostname in
|
||||||
.Fa string
|
.Fa string
|
||||||
to the
|
to the
|
||||||
.Li krb5_addresses
|
.Li krb5_addresses
|
||||||
.Fa addresses .
|
.Fa addresses .
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_address_order
|
.Fn krb5_address_order
|
||||||
compares to addresses
|
compares the addresses
|
||||||
.Fa addr1
|
.Fa addr1
|
||||||
and
|
and
|
||||||
.Fa addr2
|
.Fa addr2
|
||||||
@@ -307,7 +305,7 @@ compares the addresses
|
|||||||
.Fa addr1
|
.Fa addr1
|
||||||
and
|
and
|
||||||
.Fa addr2 .
|
.Fa addr2 .
|
||||||
returns
|
Returns
|
||||||
.Dv TRUE
|
.Dv TRUE
|
||||||
if the two addresses are the same.
|
if the two addresses are the same.
|
||||||
.Pp
|
.Pp
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 17, 2003
|
.Dd April 24, 2005
|
||||||
.Dt KRB5_ANAME_TO_LOCALNAME 3
|
.Dt KRB5_ANAME_TO_LOCALNAME 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -57,9 +57,9 @@ and then returns the local name of the principal.
|
|||||||
.Pp
|
.Pp
|
||||||
If
|
If
|
||||||
.Fa name
|
.Fa name
|
||||||
isn't in one of the local realms and error is returned.
|
isn't in one of the local realms an error is returned.
|
||||||
.Pp
|
.Pp
|
||||||
If size
|
If the size
|
||||||
.Fa ( lnsize )
|
.Fa ( lnsize )
|
||||||
of the local name
|
of the local name
|
||||||
.Fa ( lname )
|
.Fa ( lname )
|
||||||
|
@@ -31,18 +31,18 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 20, 2003
|
.Dd April 24, 2005
|
||||||
.Dt KRB5_DATA 3
|
.Dt KRB5_DATA 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm krb5_data
|
.Nm krb5_data ,
|
||||||
.Nm krb5_data_zero
|
.Nm krb5_data_zero ,
|
||||||
.Nm krb5_data_free
|
.Nm krb5_data_free ,
|
||||||
.Nm krb5_free_data_contents
|
.Nm krb5_free_data_contents ,
|
||||||
.Nm krb5_free_data
|
.Nm krb5_free_data ,
|
||||||
.Nm krb5_data_alloc
|
.Nm krb5_data_alloc ,
|
||||||
.Nm krb5_data_realloc
|
.Nm krb5_data_realloc ,
|
||||||
.Nm krb5_data_copy
|
.Nm krb5_data_copy ,
|
||||||
.Nm krb5_copy_data
|
.Nm krb5_copy_data
|
||||||
.Nd operates on the Kerberos datatype krb5_data
|
.Nd operates on the Kerberos datatype krb5_data
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
@@ -101,13 +101,13 @@ frees the data in
|
|||||||
.Fa p
|
.Fa p
|
||||||
and
|
and
|
||||||
.Fa p
|
.Fa p
|
||||||
itself .
|
itself.
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_data_alloc
|
.Fn krb5_data_alloc
|
||||||
allocates
|
allocates
|
||||||
.Fa len
|
.Fa len
|
||||||
bytes in
|
bytes in
|
||||||
.Fa p
|
.Fa p .
|
||||||
Returns 0 or an error.
|
Returns 0 or an error.
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_data_realloc
|
.Fn krb5_data_realloc
|
||||||
|
@@ -31,14 +31,14 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 17, 2001
|
.Dd April 24, 2005
|
||||||
.Dt KRB5_GET_KRBHST 3
|
.Dt KRB5_GET_KRBHST 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm krb5_get_krbhst
|
.Nm krb5_get_krbhst ,
|
||||||
.Nm krb5_get_krb_admin_hst
|
.Nm krb5_get_krb_admin_hst ,
|
||||||
.Nm krb5_get_krb_changepw_hst
|
.Nm krb5_get_krb_changepw_hst ,
|
||||||
.Nm krb5_get_krb524hst
|
.Nm krb5_get_krb524hst ,
|
||||||
.Nm krb5_free_krbhst
|
.Nm krb5_free_krbhst
|
||||||
.Nd lookup Kerberos KDC hosts
|
.Nd lookup Kerberos KDC hosts
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.\" Copyright (c) 2001 Kungliga Tekniska H<>gskolan
|
.\" Copyright (c) 2001-2005 Kungliga Tekniska H<>gskolan
|
||||||
.\" (Royal Institute of Technology, Stockholm, Sweden).
|
.\" (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 17, 2001
|
.Dd April 24, 2005
|
||||||
.Dt KRB5_KRBHST_INIT 3
|
.Dt KRB5_KRBHST_INIT 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -110,7 +110,7 @@ this is a large message, so use transport that can handle that.
|
|||||||
.Pp
|
.Pp
|
||||||
For each call to
|
For each call to
|
||||||
.Fn krb5_krbhst_next
|
.Fn krb5_krbhst_next
|
||||||
information a new host is returned. The former function returns in
|
information on a new host is returned. The former function returns in
|
||||||
.Fa host
|
.Fa host
|
||||||
a pointer to a structure containing information about the host, such
|
a pointer to a structure containing information about the host, such
|
||||||
as protocol, hostname, and port:
|
as protocol, hostname, and port:
|
||||||
@@ -155,7 +155,7 @@ that will return a
|
|||||||
that can then be used for communicating with the server mentioned.
|
that can then be used for communicating with the server mentioned.
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
The following code will print the KDCs of the realm
|
The following code will print the KDCs of the realm
|
||||||
.Dq MY.REALM .
|
.Dq MY.REALM :
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
krb5_krbhst_handle handle;
|
krb5_krbhst_handle handle;
|
||||||
char host[MAXHOSTNAMELEN];
|
char host[MAXHOSTNAMELEN];
|
||||||
|
@@ -94,7 +94,7 @@ frees all memory allocated by
|
|||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_get_default_realm
|
.Fn krb5_get_default_realm
|
||||||
returns the first default realm for this host.
|
returns the first default realm for this host.
|
||||||
The realm returned should be free with
|
The realm returned should be freed with
|
||||||
.Fn free .
|
.Fn free .
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_get_default_realms
|
.Fn krb5_get_default_realms
|
||||||
|
Reference in New Issue
Block a user