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:
@@ -31,26 +31,54 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd May 12, 2003
|
.Dd June 2, 2004
|
||||||
.Dt KRB5_SET_PASSWORD 3
|
.Dt KRB5_SET_PASSWORD 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm krb5_change_password ,
|
.Nm krb5_change_password ,
|
||||||
.Nm krb5_set_password
|
.Nm krb5_set_password ,
|
||||||
|
.Nm krb5_set_password_using_ccache
|
||||||
.Nd change password functions
|
.Nd change password functions
|
||||||
.Sh LIBRARY
|
.Sh LIBRARY
|
||||||
Kerberos 5 Library (libkrb5, -lkrb5)
|
Kerberos 5 Library (libkrb5, -lkrb5)
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.In krb5.h
|
.In krb5.h
|
||||||
.Ft krb5_error_code
|
.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
|
.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
|
.Sh DESCRIPTION
|
||||||
These functions change the password for a given principal.
|
These functions change the password for a given principal.
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_set_password
|
.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).
|
protocol (and falls back to the older when the newer doesn't work).
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_change_password
|
.Fn krb5_change_password
|
||||||
|
Reference in New Issue
Block a user