2 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
8 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
10 * Openvision retains the copyright to derivative works of
11 * this source code. Do *NOT* create a derivative of this
12 * source code before consulting with your legal department.
13 * Do *NOT* integrate *ANY* of this source code into another
14 * product before consulting with your legal department.
16 * For further information, read the top-level Openvision
17 * copyright which is contained in the top-level MIT Kerberos
20 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
24 #include "server_internal.h"
25 #include <kadm5/admin.h>
27 kadm5_ret_t
kadm5_chpass_principal_util(void *server_handle
,
34 kadm5_server_handle_t handle
= server_handle
;
36 CHECK_HANDLE(server_handle
);
37 return _kadm5_chpass_principal_util(handle
, handle
->lhandle
, princ
,
38 new_pw
, ret_pw
, msg_ret
, msg_len
);
42 kadm5_chpass_principal_v2(void *server_handle
,
45 kadm5_ret_t
*srvr_rsp_code
,
48 /* This method of password changing is not supported by the server */
49 return (KADM5_FAILURE
);
53 _kadm5_get_kpasswd_protocol(void *handle
)
56 * This has to be here because the higher level doesnt know
57 * the details of the handle structure
59 kadm5_server_handle_t srvrhdl
= (kadm5_server_handle_t
)handle
;
61 return (srvrhdl
->params
.kpasswd_protocol
);