add krb5_set_password_using_ccache

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13909 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-06-02 19:24:58 +00:00
parent 36fc0ea221
commit ee217370b1

View File

@@ -31,26 +31,54 @@
.\"
.\" $Id$
.\"
.Dd May 12, 2003
.Dd June 2, 2004
.Dt KRB5_SET_PASSWORD 3
.Os HEIMDAL
.Sh NAME
.Nm krb5_change_password ,
.Nm krb5_set_password
.Nm krb5_set_password ,
.Nm krb5_set_password_using_ccache
.Nd change password functions
.Sh LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
.Sh SYNOPSIS
.In krb5.h
.Ft krb5_error_code
.Fn krb5_change_password "krb5_context context" "krb5_creds *creds" "char *newpw" "int *result_code" "krb5_data *result_code_string" "krb5_data *result_string"
.Fo krb5_change_password
.Fa "krb5_context context"
.Fa "krb5_creds *creds"
.Fa "char *newpw"
.Fa "int *result_code"
.Fa "krb5_data *result_code_string"
.Fa "krb5_data *result_string"
.Fc
.Ft krb5_error_code
.Fn krb5_set_password "krb5_context context" "krb5_ccache ccache" "char *newpw" "krb5_principal targprinc" "int *result_code" "krb5_data *result_code_string" "krb5_data *result_string"
.Fo krb5_set_password
.Fa "krb5_context context"
.Fa "krb5_creds *creds"
.Fa "char *newpw"
.Fa "krb5_principal targprinc",
.Fa "int *result_code"
.Fa "krb5_data *result_code_string"
.Fa "krb5_data *result_string"
.Fc
.Ft krb5_error_code
.Fo krb5_set_password_using_ccache
.Fa "krb5_context context"
.Fa "krb5_ccache ccache"
.Fa "char *newpw"
.Fa "krb5_principal targprinc"
.Fa "int *result_code"
.Fa "krb5_data *result_code_string"
.Fa "krb5_data *result_string"
.Fc
.Sh DESCRIPTION
These functions change the password for a given principal.
.Pp
.Fn krb5_set_password
is the newer of the two functions and uses a newer version of the
and
.Fa krb5_set_password_using_ccache
is the newer two of the three functions and uses a newer version of the
protocol (and falls back to the older when the newer doesn't work).
.Pp
.Fn krb5_change_password