1 /* This is a generated file */
2 #ifndef __kadm5_private_h__
3 #define __kadm5_private_h__
8 _kadm5_acl_check_permission (
9 kadm5_server_context */
*context*/
,
11 krb5_const_principal
/*princ*/);
14 _kadm5_acl_init (kadm5_server_context */
*context*/
);
17 _kadm5_bump_pw_expire (
18 kadm5_server_context */
*context*/
,
22 _kadm5_c_get_cred_cache (
23 krb5_context
/*context*/,
24 const char */
*client_name*/
,
25 const char */
*server_name*/
,
26 const char */
*password*/
,
27 krb5_prompter_fct
/*prompter*/,
28 const char */
*keytab*/
,
29 krb5_ccache
/*ccache*/,
30 krb5_ccache */
*ret_cache*/
);
33 _kadm5_c_init_context (
34 kadm5_client_context
**/
*ctx*/
,
35 kadm5_config_params */
*params*/
,
36 krb5_context
/*context*/);
40 kadm5_client_context */
*context*/
,
41 krb5_data */
*reply*/
);
45 kadm5_client_context */
*context*/
,
46 krb5_storage */
*sp*/
);
49 _kadm5_connect (void */
*handle*/
);
52 _kadm5_error_code (kadm5_ret_t
/*code*/);
63 krb5_context
/*context*/,
73 _kadm5_marshal_params (
74 krb5_context
/*context*/,
75 kadm5_config_params */
*params*/
,
79 _kadm5_privs_to_string (
85 _kadm5_s_get_db (void */
*server_handle*/
);
88 _kadm5_s_init_context (
89 kadm5_server_context
**/
*ctx*/
,
90 kadm5_config_params */
*params*/
,
91 krb5_context
/*context*/);
95 kadm5_server_context */
*context*/
,
97 const char */
*password*/
);
101 kadm5_server_context */
*context*/
,
103 int16_t /*n_key_data*/,
104 krb5_key_data */
*key_data*/
);
108 kadm5_server_context */
*context*/
,
111 krb5_keyblock */
*keyblocks*/
);
114 _kadm5_set_keys_randomly (
115 kadm5_server_context */
*context*/
,
117 krb5_keyblock
**/
*new_keys*/
,
121 _kadm5_set_modifier (
122 kadm5_server_context */
*context*/
,
127 kadm5_server_context */
*context*/
,
128 hdb_entry_ex */
*ent*/
,
130 kadm5_principal_ent_t
/*princ*/,
131 uint32_t /*princ_mask*/,
132 kadm5_principal_ent_t
/*def*/,
133 uint32_t /*def_mask*/);
136 _kadm5_string_to_privs (
138 uint32_t* /*privs*/);
141 _kadm5_unmarshal_params (
142 krb5_context
/*context*/,
144 kadm5_config_params */
*params*/
);
147 kadm5_c_chpass_principal (
148 void */
*server_handle*/
,
149 krb5_principal
/*princ*/,
150 const char */
*password*/
);
153 kadm5_c_chpass_principal_with_key (
154 void */
*server_handle*/
,
155 krb5_principal
/*princ*/,
157 krb5_key_data */
*key_data*/
);
160 kadm5_c_create_principal (
161 void */
*server_handle*/
,
162 kadm5_principal_ent_t
/*princ*/,
164 const char */
*password*/
);
167 kadm5_c_delete_principal (
168 void */
*server_handle*/
,
169 krb5_principal
/*princ*/);
172 kadm5_c_destroy (void */
*server_handle*/
);
175 kadm5_c_flush (void */
*server_handle*/
);
178 kadm5_c_get_principal (
179 void */
*server_handle*/
,
180 krb5_principal
/*princ*/,
181 kadm5_principal_ent_t
/*out*/,
185 kadm5_c_get_principals (
186 void */
*server_handle*/
,
187 const char */
*expression*/
,
193 void */
*server_handle*/
,
194 uint32_t */
*privs*/
);
197 kadm5_c_init_with_creds (
198 const char */
*client_name*/
,
199 krb5_ccache
/*ccache*/,
200 const char */
*service_name*/
,
201 kadm5_config_params */
*realm_params*/
,
202 unsigned long /*struct_version*/,
203 unsigned long /*api_version*/,
204 void **/
*server_handle*/
);
207 kadm5_c_init_with_creds_ctx (
208 krb5_context
/*context*/,
209 const char */
*client_name*/
,
210 krb5_ccache
/*ccache*/,
211 const char */
*service_name*/
,
212 kadm5_config_params */
*realm_params*/
,
213 unsigned long /*struct_version*/,
214 unsigned long /*api_version*/,
215 void **/
*server_handle*/
);
218 kadm5_c_init_with_password (
219 const char */
*client_name*/
,
220 const char */
*password*/
,
221 const char */
*service_name*/
,
222 kadm5_config_params */
*realm_params*/
,
223 unsigned long /*struct_version*/,
224 unsigned long /*api_version*/,
225 void **/
*server_handle*/
);
228 kadm5_c_init_with_password_ctx (
229 krb5_context
/*context*/,
230 const char */
*client_name*/
,
231 const char */
*password*/
,
232 const char */
*service_name*/
,
233 kadm5_config_params */
*realm_params*/
,
234 unsigned long /*struct_version*/,
235 unsigned long /*api_version*/,
236 void **/
*server_handle*/
);
239 kadm5_c_init_with_skey (
240 const char */
*client_name*/
,
241 const char */
*keytab*/
,
242 const char */
*service_name*/
,
243 kadm5_config_params */
*realm_params*/
,
244 unsigned long /*struct_version*/,
245 unsigned long /*api_version*/,
246 void **/
*server_handle*/
);
249 kadm5_c_init_with_skey_ctx (
250 krb5_context
/*context*/,
251 const char */
*client_name*/
,
252 const char */
*keytab*/
,
253 const char */
*service_name*/
,
254 kadm5_config_params */
*realm_params*/
,
255 unsigned long /*struct_version*/,
256 unsigned long /*api_version*/,
257 void **/
*server_handle*/
);
260 kadm5_c_modify_principal (
261 void */
*server_handle*/
,
262 kadm5_principal_ent_t
/*princ*/,
266 kadm5_c_randkey_principal (
267 void */
*server_handle*/
,
268 krb5_principal
/*princ*/,
269 krb5_keyblock
**/
*new_keys*/
,
273 kadm5_c_rename_principal (
274 void */
*server_handle*/
,
275 krb5_principal
/*source*/,
276 krb5_principal
/*target*/);
280 kadm5_server_context */
*context*/
,
285 kadm5_server_context */
*context*/
,
286 krb5_principal
/*princ*/);
289 kadm5_log_end (kadm5_server_context */
*context*/
);
293 kadm5_server_context */
*context*/
,
294 void (*/
*func*/
)(kadm5_server_context
*server_context
, uint32_t ver
, time_t timestamp
, enum kadm_ops op
, uint32_t len
, krb5_storage
*, void *),
298 kadm5_log_get_version (
299 kadm5_server_context */
*context*/
,
303 kadm5_log_get_version_fd (
308 kadm5_log_goto_end (int /*fd*/);
311 kadm5_log_init (kadm5_server_context */
*context*/
);
315 kadm5_server_context */
*context*/
,
320 kadm5_log_nop (kadm5_server_context */
*context*/
);
324 krb5_context
/*context*/,
325 krb5_storage */
*sp*/
,
327 time_t */
*timestamp*/
,
328 enum kadm_ops */
*op*/
,
332 kadm5_log_reinit (kadm5_server_context */
*context*/
);
336 kadm5_server_context */
*context*/
,
337 krb5_principal
/*source*/,
342 kadm5_server_context */
*context*/
,
343 enum kadm_ops
/*op*/,
346 krb5_storage */
*sp*/
);
349 kadm5_log_set_version (
350 kadm5_server_context */
*context*/
,
354 kadm5_log_signal_socket (krb5_context
/*context*/);
357 kadm5_log_signal_socket_info (
358 krb5_context
/*context*/,
360 struct addrinfo
**/
*ret_addrs*/
);
363 kadm5_log_truncate (kadm5_server_context */
*server_context*/
);
366 kadm5_s_chpass_principal (
367 void */
*server_handle*/
,
368 krb5_principal
/*princ*/,
369 const char */
*password*/
);
372 kadm5_s_chpass_principal_cond (
373 void */
*server_handle*/
,
374 krb5_principal
/*princ*/,
375 const char */
*password*/
);
378 kadm5_s_chpass_principal_with_key (
379 void */
*server_handle*/
,
380 krb5_principal
/*princ*/,
382 krb5_key_data */
*key_data*/
);
385 kadm5_s_create_principal (
386 void */
*server_handle*/
,
387 kadm5_principal_ent_t
/*princ*/,
389 const char */
*password*/
);
392 kadm5_s_create_principal_with_key (
393 void */
*server_handle*/
,
394 kadm5_principal_ent_t
/*princ*/,
398 kadm5_s_delete_principal (
399 void */
*server_handle*/
,
400 krb5_principal
/*princ*/);
403 kadm5_s_destroy (void */
*server_handle*/
);
406 kadm5_s_flush (void */
*server_handle*/
);
409 kadm5_s_get_principal (
410 void */
*server_handle*/
,
411 krb5_principal
/*princ*/,
412 kadm5_principal_ent_t
/*out*/,
416 kadm5_s_get_principals (
417 void */
*server_handle*/
,
418 const char */
*expression*/
,
424 void */
*server_handle*/
,
425 uint32_t */
*privs*/
);
428 kadm5_s_init_with_creds (
429 const char */
*client_name*/
,
430 krb5_ccache
/*ccache*/,
431 const char */
*service_name*/
,
432 kadm5_config_params */
*realm_params*/
,
433 unsigned long /*struct_version*/,
434 unsigned long /*api_version*/,
435 void **/
*server_handle*/
);
438 kadm5_s_init_with_creds_ctx (
439 krb5_context
/*context*/,
440 const char */
*client_name*/
,
441 krb5_ccache
/*ccache*/,
442 const char */
*service_name*/
,
443 kadm5_config_params */
*realm_params*/
,
444 unsigned long /*struct_version*/,
445 unsigned long /*api_version*/,
446 void **/
*server_handle*/
);
449 kadm5_s_init_with_password (
450 const char */
*client_name*/
,
451 const char */
*password*/
,
452 const char */
*service_name*/
,
453 kadm5_config_params */
*realm_params*/
,
454 unsigned long /*struct_version*/,
455 unsigned long /*api_version*/,
456 void **/
*server_handle*/
);
459 kadm5_s_init_with_password_ctx (
460 krb5_context
/*context*/,
461 const char */
*client_name*/
,
462 const char */
*password*/
,
463 const char */
*service_name*/
,
464 kadm5_config_params */
*realm_params*/
,
465 unsigned long /*struct_version*/,
466 unsigned long /*api_version*/,
467 void **/
*server_handle*/
);
470 kadm5_s_init_with_skey (
471 const char */
*client_name*/
,
472 const char */
*keytab*/
,
473 const char */
*service_name*/
,
474 kadm5_config_params */
*realm_params*/
,
475 unsigned long /*struct_version*/,
476 unsigned long /*api_version*/,
477 void **/
*server_handle*/
);
480 kadm5_s_init_with_skey_ctx (
481 krb5_context
/*context*/,
482 const char */
*client_name*/
,
483 const char */
*keytab*/
,
484 const char */
*service_name*/
,
485 kadm5_config_params */
*realm_params*/
,
486 unsigned long /*struct_version*/,
487 unsigned long /*api_version*/,
488 void **/
*server_handle*/
);
491 kadm5_s_modify_principal (
492 void */
*server_handle*/
,
493 kadm5_principal_ent_t
/*princ*/,
497 kadm5_s_randkey_principal (
498 void */
*server_handle*/
,
499 krb5_principal
/*princ*/,
500 krb5_keyblock
**/
*new_keys*/
,
504 kadm5_s_rename_principal (
505 void */
*server_handle*/
,
506 krb5_principal
/*source*/,
507 krb5_principal
/*target*/);
509 #endif /* __kadm5_private_h__ */