Home
last modified time | relevance | path

Searched refs:server_handle (Results 1 – 25 of 32) sorted by relevance

12

/titanic_44/usr/src/lib/krb5/kadm5/
H A Dadmin.h396 void **server_handle);
408 void **server_handle);
420 void **server_handle);
429 void **server_handle);
431 kadm5_ret_t kadm5_lock(void *server_handle);
432 kadm5_ret_t kadm5_unlock(void *server_handle);
433 kadm5_ret_t kadm5_flush(void *server_handle);
434 kadm5_ret_t kadm5_destroy(void *server_handle);
435 kadm5_ret_t kadm5_check_min_life(void *server_handle, /* Solaris Kerberos */
439 kadm5_ret_t kadm5_create_principal(void *server_handle,
[all …]
H A Dmisc_free.c33 kadm5_free_policy_ent(void *server_handle, kadm5_policy_ent_t val) in kadm5_free_policy_ent() argument
35 kadm5_server_handle_t handle = server_handle; in kadm5_free_policy_ent()
37 _KADM5_CHECK_HANDLE(server_handle); in kadm5_free_policy_ent()
49 kadm5_free_name_list(void *server_handle, char **names, int count) in kadm5_free_name_list() argument
51 _KADM5_CHECK_HANDLE(server_handle); in kadm5_free_name_list()
76 kadm5_ret_t kadm5_free_key_data(void *server_handle, in kadm5_free_key_data() argument
80 kadm5_server_handle_t handle = server_handle; in kadm5_free_key_data()
83 _KADM5_CHECK_HANDLE(server_handle); in kadm5_free_key_data()
95 kadm5_free_principal_ent(void *server_handle, in kadm5_free_principal_ent() argument
98 kadm5_server_handle_t handle = server_handle; in kadm5_free_principal_ent()
[all …]
H A Dchpass_util.c85 kadm5_ret_t _kadm5_chpass_principal_util(void *server_handle, in _kadm5_chpass_principal_util() argument
101 _KADM5_CHECK_HANDLE(server_handle); in _kadm5_chpass_principal_util()
154 passwd_protocol = _kadm5_get_kpasswd_protocol(server_handle); in _kadm5_chpass_principal_util()
162 code = kadm5_chpass_principal_v2(server_handle, princ, in _kadm5_chpass_principal_util()
178 code = kadm5_chpass_principal(server_handle, princ, in _kadm5_chpass_principal_util()
/titanic_44/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_principal.c51 kadm5_create_principal(void *server_handle, in kadm5_create_principal() argument
57 kadm5_server_handle_t handle = server_handle; in kadm5_create_principal()
59 CHECK_HANDLE(server_handle); in kadm5_create_principal()
109 kadm5_create_principal_3(void *server_handle, in kadm5_create_principal_3() argument
117 kadm5_server_handle_t handle = server_handle; in kadm5_create_principal_3()
119 CHECK_HANDLE(server_handle); in kadm5_create_principal_3()
170 kadm5_delete_principal(void *server_handle, krb5_principal principal) in kadm5_delete_principal() argument
174 kadm5_server_handle_t handle = server_handle; in kadm5_delete_principal()
176 CHECK_HANDLE(server_handle); in kadm5_delete_principal()
189 kadm5_modify_principal(void *server_handle, in kadm5_modify_principal() argument
[all …]
H A Dclnt_policy.c44 kadm5_create_policy(void *server_handle, in kadm5_create_policy() argument
49 kadm5_server_handle_t handle = server_handle; in kadm5_create_policy()
51 CHECK_HANDLE(server_handle); in kadm5_create_policy()
67 kadm5_delete_policy(void *server_handle, char *name) in kadm5_delete_policy() argument
71 kadm5_server_handle_t handle = server_handle; in kadm5_delete_policy()
73 CHECK_HANDLE(server_handle); in kadm5_delete_policy()
89 kadm5_modify_policy(void *server_handle, in kadm5_modify_policy() argument
94 kadm5_server_handle_t handle = server_handle; in kadm5_modify_policy()
96 CHECK_HANDLE(server_handle); in kadm5_modify_policy()
113 kadm5_get_policy(void *server_handle, char *name, kadm5_policy_ent_t ent) in kadm5_get_policy() argument
[all …]
H A Dclnt_chpass_util.c24 kadm5_ret_t kadm5_chpass_principal_util(void *server_handle, in kadm5_chpass_principal_util() argument
31 kadm5_server_handle_t handle = server_handle; in kadm5_chpass_principal_util()
33 CHECK_HANDLE(server_handle); in kadm5_chpass_principal_util()
H A Dclient_init.c88 void **server_handle);
97 void **server_handle) in kadm5_init_with_creds() argument
102 server_handle); in kadm5_init_with_creds()
112 void **server_handle) in kadm5_init_with_password() argument
116 api_version, db_args, server_handle); in kadm5_init_with_password()
125 void **server_handle) in kadm5_init() argument
129 api_version, db_args, server_handle); in kadm5_init()
138 void **server_handle) in kadm5_init_with_skey() argument
142 api_version, db_args, server_handle); in kadm5_init_with_skey()
585 void **server_handle) in _kadm5_init_any() argument
[all …]
H A Dclnt_privs.c42 kadm5_ret_t kadm5_get_privs(void *server_handle, long *privs) in kadm5_get_privs() argument
45 kadm5_server_handle_t handle = server_handle; in kadm5_get_privs()
/titanic_44/usr/src/cmd/krb5/kadmin/server/
H A Dmisc.c59 chpass_principal_wrapper_3(void *server_handle, in chpass_principal_wrapper_3() argument
69 ret = kadm5_check_min_life(server_handle, principal, NULL, 0); in chpass_principal_wrapper_3()
73 return kadm5_chpass_principal_3(server_handle, principal, in chpass_principal_wrapper_3()
103 randkey_principal_wrapper_3(void *server_handle, in randkey_principal_wrapper_3() argument
113 ret = kadm5_check_min_life(server_handle, principal, NULL, 0); in randkey_principal_wrapper_3()
116 return kadm5_randkey_principal_3(server_handle, principal, in randkey_principal_wrapper_3()
122 schpw_util_wrapper(void *server_handle, krb5_principal princ, in schpw_util_wrapper() argument
129 ret = kadm5_check_min_life(server_handle, princ, msg_ret, msg_len); in schpw_util_wrapper()
133 return kadm5_chpass_principal_util(server_handle, princ, in schpw_util_wrapper()
139 randkey_principal_wrapper(void *server_handle, krb5_principal princ, in randkey_principal_wrapper() argument
[all …]
H A Dmisc.h37 chpass_principal_wrapper_3(void *server_handle,
45 randkey_principal_wrapper_3(void *server_handle,
53 schpw_util_wrapper(void *server_handle, krb5_principal princ,
57 kadm5_ret_t kadm5_get_principal_v1(void *server_handle,
61 kadm5_ret_t kadm5_get_policy_v1(void *server_handle, kadm5_policy_t name,
66 void *server_handle,
H A Dserver_glue_v1.c40 kadm5_ret_t kadm5_get_principal_v1(void *server_handle, in kadm5_get_principal_v1() argument
44 return kadm5_get_principal(server_handle, principal,(kadm5_principal_ent_t) ent, 0); in kadm5_get_principal_v1()
47 kadm5_ret_t kadm5_get_policy_v1(void *server_handle, kadm5_policy_t name, in kadm5_get_policy_v1() argument
50 return kadm5_get_policy(server_handle, name,(kadm5_policy_ent_t) ent); in kadm5_get_policy_v1()
/titanic_44/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_policy.c63 kadm5_create_policy(void *server_handle, in kadm5_create_policy() argument
66 CHECK_HANDLE(server_handle); in kadm5_create_policy()
68 krb5_clear_error_message(((kadm5_server_handle_t)server_handle)->context); in kadm5_create_policy()
73 return kadm5_create_policy_internal(server_handle, entry, mask); in kadm5_create_policy()
97 kadm5_create_policy_internal(void *server_handle, in kadm5_create_policy_internal() argument
100 kadm5_server_handle_t handle = server_handle; in kadm5_create_policy_internal()
105 CHECK_HANDLE(server_handle); in kadm5_create_policy_internal()
169 kadm5_delete_policy(void *server_handle, kadm5_policy_t name) in kadm5_delete_policy() argument
171 kadm5_server_handle_t handle = server_handle; in kadm5_delete_policy()
176 CHECK_HANDLE(server_handle); in kadm5_delete_policy()
[all …]
H A Dserver_init.c117 void **server_handle) in kadm5_init_with_password() argument
121 server_handle); in kadm5_init_with_password()
131 void **server_handle) in kadm5_init_with_creds() argument
145 server_handle); in kadm5_init_with_creds()
155 void **server_handle) in kadm5_init_with_skey() argument
169 server_handle); in kadm5_init_with_skey()
183 void **server_handle, in kadm5_init2() argument
193 if (! server_handle) in kadm5_init2()
403 *server_handle = (void *) handle; in kadm5_init2()
414 void **server_handle) { in kadm5_init() argument
[all …]
H A Dsvr_chpass_util.c27 kadm5_ret_t kadm5_chpass_principal_util(void *server_handle, in kadm5_chpass_principal_util() argument
34 kadm5_server_handle_t handle = server_handle; in kadm5_chpass_principal_util()
36 CHECK_HANDLE(server_handle); in kadm5_chpass_principal_util()
42 kadm5_chpass_principal_v2(void *server_handle, in kadm5_chpass_principal_v2() argument
H A Dsvr_iters.c201 void *server_handle, in kadm5_get_either() argument
212 kadm5_server_handle_t handle = server_handle; in kadm5_get_either()
218 CHECK_HANDLE(server_handle); in kadm5_get_either()
275 kadm5_ret_t kadm5_get_principals(void *server_handle, in kadm5_get_principals() argument
280 return kadm5_get_either(1, server_handle, exp, princs, count); in kadm5_get_principals()
283 kadm5_ret_t kadm5_get_policies(void *server_handle, in kadm5_get_policies() argument
288 return kadm5_get_either(0, server_handle, exp, pols, count); in kadm5_get_policies()
H A Dsvr_misc_free.c34 kadm5_free_principal_ent(void *server_handle, in kadm5_free_principal_ent() argument
37 kadm5_server_handle_t handle = server_handle; in kadm5_free_principal_ent()
39 CHECK_HANDLE(server_handle); in kadm5_free_principal_ent()
H A Dsvr_principal.c201 kadm5_create_principal(void *server_handle, in kadm5_create_principal() argument
206 kadm5_create_principal_3(server_handle, entry, mask, in kadm5_create_principal()
210 kadm5_create_principal_3(void *server_handle, in kadm5_create_principal_3() argument
221 kadm5_server_handle_t handle = server_handle; in kadm5_create_principal_3()
223 CHECK_HANDLE(server_handle); in kadm5_create_principal_3()
465 kadm5_delete_principal(void *server_handle, krb5_principal principal) in kadm5_delete_principal() argument
471 kadm5_server_handle_t handle = server_handle; in kadm5_delete_principal()
473 CHECK_HANDLE(server_handle); in kadm5_delete_principal()
510 kadm5_modify_principal(void *server_handle, in kadm5_modify_principal() argument
519 kadm5_server_handle_t handle = server_handle; in kadm5_modify_principal()
[all …]
H A Dserver_acl.c834 kadm5_get_privs(void *server_handle, long *privs) in kadm5_get_privs() argument
836 CHECK_HANDLE(server_handle); in kadm5_get_privs()
849 __kadm5_get_priv(void *server_handle, long *privs, gss_name_t client) in __kadm5_get_priv() argument
860 kadm5_server_handle_t handle = server_handle; in __kadm5_get_priv()
862 CHECK_HANDLE(server_handle); in __kadm5_get_priv()
/titanic_44/usr/src/cmd/krb5/kadmin/kpasswd/
H A Dkpasswd.c117 void *server_handle; local
227 &server_handle);
247 if (_kadm5_get_kpasswd_protocol(server_handle) == KRB5_CHGPWD_RPCSEC) {
254 code = kadm5_get_principal(server_handle, princ,
265 (void) kadm5_destroy(server_handle);
270 code = kadm5_get_policy(server_handle,
282 (void) kadm5_free_principal_ent(server_handle,
287 (void) kadm5_destroy(server_handle);
295 if (code = kadm5_free_principal_ent(server_handle,
297 (void) kadm5_free_policy_ent(server_handle,
[all …]
H A Dtty_kpasswd.c69 long read_new_password(server_handle, password, pwsize, msg_ret, msg_len, princ) in read_new_password() argument
70 void *server_handle; in read_new_password()
77 return (kadm5_chpass_principal_util(server_handle, princ, NULL,
H A Dkpasswd.h41 long read_new_password(void *server_handle, char *password,
/titanic_44/usr/src/lib/pam_modules/krb5/
H A Dkrb5_acct_mgmt.c66 void *server_handle; in fetch_princ_entry() local
111 &server_handle); in fetch_princ_entry()
122 if (_kadm5_get_kpasswd_protocol(server_handle) != KRB5_CHGPWD_RPCSEC) { in fetch_princ_entry()
128 (void) kadm5_destroy(server_handle); in fetch_princ_entry()
133 code = kadm5_get_principal(server_handle, princ, prent, in fetch_princ_entry()
137 (void) kadm5_destroy(server_handle); in fetch_princ_entry()
143 (void) kadm5_destroy(server_handle); in fetch_princ_entry()
H A Dkrb5_password.c332 void *server_handle; in krb5_verifypw() local
379 &server_handle); in krb5_verifypw()
391 (void) kadm5_destroy(server_handle); in krb5_verifypw()
432 void *server_handle; in krb5_changepw() local
474 &server_handle); in krb5_changepw()
486 code = kadm5_chpass_principal_util(server_handle, princ, in krb5_changepw()
505 (void) kadm5_destroy(server_handle); in krb5_changepw()
/titanic_44/usr/src/cmd/krb5/kadmin/gui/native/
H A DKadmin.c51 static void *server_handle = NULL; variable
93 if (server_handle != NULL) in Java_Kadmin_sessionInit()
94 kadm5_destroy(server_handle); in Java_Kadmin_sessionInit()
164 NULL, &server_handle); in Java_Kadmin_sessionInit()
202 ret = kadm5_destroy(server_handle); in Java_Kadmin_sessionExit()
205 server_handle = NULL; in Java_Kadmin_sessionExit()
227 ret = kadm5_get_privs(server_handle, &privs); in Java_Kadmin_getPrivs()
281 handle = server_handle; in Java_Kadmin_getEncList()
365 ret = kadm5_get_principals(server_handle, NULL, &princs, &count); in Java_Kadmin_getPrincipalList()
393 kadm5_free_name_list(server_handle, princs, count); in Java_Kadmin_getPrincipalList()
[all …]
/titanic_44/usr/src/cmd/krb5/slave/
H A Dkpropd.c730 void *server_handle = NULL; in do_iprop() local
874 &server_handle); in do_iprop()
879 if (server_handle) in do_iprop()
880 kadm5_destroy((void *) server_handle); in do_iprop()
881 server_handle = (void *)NULL; in do_iprop()
910 handle = server_handle; in do_iprop()
949 if (server_handle) in do_iprop()
950 kadm5_destroy((void *)server_handle); in do_iprop()
951 server_handle = (void *)NULL; in do_iprop()
976 if (server_handle) in do_iprop()
[all …]

12