18373020dSJacques Vidrine /* This is a generated file */ 28373020dSJacques Vidrine #ifndef __kadm5_private_h__ 38373020dSJacques Vidrine #define __kadm5_private_h__ 45e9cd1aeSAssar Westerlund 58373020dSJacques Vidrine #include <stdarg.h> 65e9cd1aeSAssar Westerlund 75e9cd1aeSAssar Westerlund kadm5_ret_t 88373020dSJacques Vidrine _kadm5_acl_check_permission ( 98373020dSJacques Vidrine kadm5_server_context */*context*/, 108373020dSJacques Vidrine unsigned /*op*/, 118373020dSJacques Vidrine krb5_const_principal /*princ*/); 125e9cd1aeSAssar Westerlund 135e9cd1aeSAssar Westerlund kadm5_ret_t 148373020dSJacques Vidrine _kadm5_acl_init (kadm5_server_context */*context*/); 155e9cd1aeSAssar Westerlund 165e9cd1aeSAssar Westerlund kadm5_ret_t 178373020dSJacques Vidrine _kadm5_bump_pw_expire ( 188373020dSJacques Vidrine kadm5_server_context */*context*/, 198373020dSJacques Vidrine hdb_entry */*ent*/); 205e9cd1aeSAssar Westerlund 215e9cd1aeSAssar Westerlund kadm5_ret_t 228373020dSJacques Vidrine _kadm5_c_init_context ( 238373020dSJacques Vidrine kadm5_client_context **/*ctx*/, 248373020dSJacques Vidrine kadm5_config_params */*params*/, 258373020dSJacques Vidrine krb5_context /*context*/); 265e9cd1aeSAssar Westerlund 275e9cd1aeSAssar Westerlund kadm5_ret_t 288373020dSJacques Vidrine _kadm5_client_recv ( 298373020dSJacques Vidrine kadm5_client_context */*context*/, 308373020dSJacques Vidrine krb5_data */*reply*/); 315e9cd1aeSAssar Westerlund 325e9cd1aeSAssar Westerlund kadm5_ret_t 338373020dSJacques Vidrine _kadm5_client_send ( 348373020dSJacques Vidrine kadm5_client_context */*context*/, 358373020dSJacques Vidrine krb5_storage */*sp*/); 365e9cd1aeSAssar Westerlund 375e9cd1aeSAssar Westerlund int 388373020dSJacques Vidrine _kadm5_cmp_keys ( 398373020dSJacques Vidrine Key */*keys1*/, 408373020dSJacques Vidrine int /*len1*/, 418373020dSJacques Vidrine Key */*keys2*/, 428373020dSJacques Vidrine int /*len2*/); 435e9cd1aeSAssar Westerlund 448373020dSJacques Vidrine kadm5_ret_t 458373020dSJacques Vidrine _kadm5_connect (void */*handle*/); 468373020dSJacques Vidrine 478373020dSJacques Vidrine kadm5_ret_t 488373020dSJacques Vidrine _kadm5_error_code (kadm5_ret_t /*code*/); 498373020dSJacques Vidrine 508373020dSJacques Vidrine void 518373020dSJacques Vidrine _kadm5_free_keys ( 528373020dSJacques Vidrine kadm5_server_context */*context*/, 538373020dSJacques Vidrine int /*len*/, 548373020dSJacques Vidrine Key */*keys*/); 558373020dSJacques Vidrine 568373020dSJacques Vidrine void 578373020dSJacques Vidrine _kadm5_init_keys ( 588373020dSJacques Vidrine Key */*keys*/, 598373020dSJacques Vidrine int /*len*/); 608373020dSJacques Vidrine 618373020dSJacques Vidrine kadm5_ret_t 628373020dSJacques Vidrine _kadm5_marshal_params ( 638373020dSJacques Vidrine krb5_context /*context*/, 648373020dSJacques Vidrine kadm5_config_params */*params*/, 658373020dSJacques Vidrine krb5_data */*out*/); 668373020dSJacques Vidrine 678373020dSJacques Vidrine kadm5_ret_t 688373020dSJacques Vidrine _kadm5_privs_to_string ( 698373020dSJacques Vidrine u_int32_t /*privs*/, 708373020dSJacques Vidrine char */*string*/, 718373020dSJacques Vidrine size_t /*len*/); 728373020dSJacques Vidrine 738373020dSJacques Vidrine HDB * 748373020dSJacques Vidrine _kadm5_s_get_db (void */*server_handle*/); 758373020dSJacques Vidrine 768373020dSJacques Vidrine kadm5_ret_t 778373020dSJacques Vidrine _kadm5_s_init_context ( 788373020dSJacques Vidrine kadm5_server_context **/*ctx*/, 798373020dSJacques Vidrine kadm5_config_params */*params*/, 808373020dSJacques Vidrine krb5_context /*context*/); 818373020dSJacques Vidrine 828373020dSJacques Vidrine kadm5_ret_t 838373020dSJacques Vidrine _kadm5_set_keys ( 848373020dSJacques Vidrine kadm5_server_context */*context*/, 858373020dSJacques Vidrine hdb_entry */*ent*/, 868373020dSJacques Vidrine const char */*password*/); 878373020dSJacques Vidrine 888373020dSJacques Vidrine kadm5_ret_t 898373020dSJacques Vidrine _kadm5_set_keys2 ( 908373020dSJacques Vidrine kadm5_server_context */*context*/, 918373020dSJacques Vidrine hdb_entry */*ent*/, 928373020dSJacques Vidrine int16_t /*n_key_data*/, 938373020dSJacques Vidrine krb5_key_data */*key_data*/); 948373020dSJacques Vidrine 958373020dSJacques Vidrine kadm5_ret_t 968373020dSJacques Vidrine _kadm5_set_keys3 ( 978373020dSJacques Vidrine kadm5_server_context */*context*/, 988373020dSJacques Vidrine hdb_entry */*ent*/, 998373020dSJacques Vidrine int /*n_keys*/, 1008373020dSJacques Vidrine krb5_keyblock */*keyblocks*/); 1018373020dSJacques Vidrine 1028373020dSJacques Vidrine kadm5_ret_t 1038373020dSJacques Vidrine _kadm5_set_keys_randomly ( 1048373020dSJacques Vidrine kadm5_server_context */*context*/, 1058373020dSJacques Vidrine hdb_entry */*ent*/, 1068373020dSJacques Vidrine krb5_keyblock **/*new_keys*/, 1078373020dSJacques Vidrine int */*n_keys*/); 1088373020dSJacques Vidrine 1098373020dSJacques Vidrine kadm5_ret_t 1108373020dSJacques Vidrine _kadm5_set_modifier ( 1118373020dSJacques Vidrine kadm5_server_context */*context*/, 1128373020dSJacques Vidrine hdb_entry */*ent*/); 1138373020dSJacques Vidrine 1148373020dSJacques Vidrine kadm5_ret_t 1158373020dSJacques Vidrine _kadm5_setup_entry ( 1168373020dSJacques Vidrine kadm5_server_context */*context*/, 1178373020dSJacques Vidrine hdb_entry */*ent*/, 1188373020dSJacques Vidrine u_int32_t /*mask*/, 1198373020dSJacques Vidrine kadm5_principal_ent_t /*princ*/, 1208373020dSJacques Vidrine u_int32_t /*princ_mask*/, 1218373020dSJacques Vidrine kadm5_principal_ent_t /*def*/, 1228373020dSJacques Vidrine u_int32_t /*def_mask*/); 1238373020dSJacques Vidrine 1248373020dSJacques Vidrine kadm5_ret_t 1258373020dSJacques Vidrine _kadm5_string_to_privs ( 1268373020dSJacques Vidrine const char */*s*/, 1278373020dSJacques Vidrine u_int32_t* /*privs*/); 1288373020dSJacques Vidrine 1298373020dSJacques Vidrine kadm5_ret_t 1308373020dSJacques Vidrine _kadm5_unmarshal_params ( 1318373020dSJacques Vidrine krb5_context /*context*/, 1328373020dSJacques Vidrine krb5_data */*in*/, 1338373020dSJacques Vidrine kadm5_config_params */*params*/); 1348373020dSJacques Vidrine 1358373020dSJacques Vidrine kadm5_ret_t 1368373020dSJacques Vidrine kadm5_c_chpass_principal ( 1378373020dSJacques Vidrine void */*server_handle*/, 1388373020dSJacques Vidrine krb5_principal /*princ*/, 1398373020dSJacques Vidrine char */*password*/); 1408373020dSJacques Vidrine 1418373020dSJacques Vidrine kadm5_ret_t 1428373020dSJacques Vidrine kadm5_c_chpass_principal_with_key ( 1438373020dSJacques Vidrine void */*server_handle*/, 1448373020dSJacques Vidrine krb5_principal /*princ*/, 1458373020dSJacques Vidrine int /*n_key_data*/, 1468373020dSJacques Vidrine krb5_key_data */*key_data*/); 1478373020dSJacques Vidrine 1488373020dSJacques Vidrine kadm5_ret_t 1498373020dSJacques Vidrine kadm5_c_create_principal ( 1508373020dSJacques Vidrine void */*server_handle*/, 1518373020dSJacques Vidrine kadm5_principal_ent_t /*princ*/, 1528373020dSJacques Vidrine u_int32_t /*mask*/, 1538373020dSJacques Vidrine char */*password*/); 1548373020dSJacques Vidrine 1558373020dSJacques Vidrine kadm5_ret_t 1568373020dSJacques Vidrine kadm5_c_delete_principal ( 1578373020dSJacques Vidrine void */*server_handle*/, 1588373020dSJacques Vidrine krb5_principal /*princ*/); 1598373020dSJacques Vidrine 1608373020dSJacques Vidrine kadm5_ret_t 1618373020dSJacques Vidrine kadm5_c_destroy (void */*server_handle*/); 1628373020dSJacques Vidrine 1638373020dSJacques Vidrine kadm5_ret_t 1648373020dSJacques Vidrine kadm5_c_flush (void */*server_handle*/); 1658373020dSJacques Vidrine 1668373020dSJacques Vidrine kadm5_ret_t 1678373020dSJacques Vidrine kadm5_c_get_principal ( 1688373020dSJacques Vidrine void */*server_handle*/, 1698373020dSJacques Vidrine krb5_principal /*princ*/, 1708373020dSJacques Vidrine kadm5_principal_ent_t /*out*/, 1718373020dSJacques Vidrine u_int32_t /*mask*/); 1728373020dSJacques Vidrine 1738373020dSJacques Vidrine kadm5_ret_t 1748373020dSJacques Vidrine kadm5_c_get_principals ( 1758373020dSJacques Vidrine void */*server_handle*/, 1768373020dSJacques Vidrine const char */*exp*/, 1778373020dSJacques Vidrine char ***/*princs*/, 1788373020dSJacques Vidrine int */*count*/); 1798373020dSJacques Vidrine 1808373020dSJacques Vidrine kadm5_ret_t 1818373020dSJacques Vidrine kadm5_c_get_privs ( 1828373020dSJacques Vidrine void */*server_handle*/, 1838373020dSJacques Vidrine u_int32_t */*privs*/); 1848373020dSJacques Vidrine 1858373020dSJacques Vidrine kadm5_ret_t 1868373020dSJacques Vidrine kadm5_c_init_with_creds ( 1878373020dSJacques Vidrine const char */*client_name*/, 1888373020dSJacques Vidrine krb5_ccache /*ccache*/, 1898373020dSJacques Vidrine const char */*service_name*/, 1908373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 1918373020dSJacques Vidrine unsigned long /*struct_version*/, 1928373020dSJacques Vidrine unsigned long /*api_version*/, 1938373020dSJacques Vidrine void **/*server_handle*/); 1948373020dSJacques Vidrine 1958373020dSJacques Vidrine kadm5_ret_t 1968373020dSJacques Vidrine kadm5_c_init_with_creds_ctx ( 1978373020dSJacques Vidrine krb5_context /*context*/, 1988373020dSJacques Vidrine const char */*client_name*/, 1998373020dSJacques Vidrine krb5_ccache /*ccache*/, 2008373020dSJacques Vidrine const char */*service_name*/, 2018373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 2028373020dSJacques Vidrine unsigned long /*struct_version*/, 2038373020dSJacques Vidrine unsigned long /*api_version*/, 2048373020dSJacques Vidrine void **/*server_handle*/); 2058373020dSJacques Vidrine 2068373020dSJacques Vidrine kadm5_ret_t 2078373020dSJacques Vidrine kadm5_c_init_with_password ( 2088373020dSJacques Vidrine const char */*client_name*/, 2098373020dSJacques Vidrine const char */*password*/, 2108373020dSJacques Vidrine const char */*service_name*/, 2118373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 2128373020dSJacques Vidrine unsigned long /*struct_version*/, 2138373020dSJacques Vidrine unsigned long /*api_version*/, 2148373020dSJacques Vidrine void **/*server_handle*/); 2158373020dSJacques Vidrine 2168373020dSJacques Vidrine kadm5_ret_t 2178373020dSJacques Vidrine kadm5_c_init_with_password_ctx ( 2188373020dSJacques Vidrine krb5_context /*context*/, 2198373020dSJacques Vidrine const char */*client_name*/, 2208373020dSJacques Vidrine const char */*password*/, 2218373020dSJacques Vidrine const char */*service_name*/, 2228373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 2238373020dSJacques Vidrine unsigned long /*struct_version*/, 2248373020dSJacques Vidrine unsigned long /*api_version*/, 2258373020dSJacques Vidrine void **/*server_handle*/); 2268373020dSJacques Vidrine 2278373020dSJacques Vidrine kadm5_ret_t 2288373020dSJacques Vidrine kadm5_c_init_with_skey ( 2298373020dSJacques Vidrine const char */*client_name*/, 2308373020dSJacques Vidrine const char */*keytab*/, 2318373020dSJacques Vidrine const char */*service_name*/, 2328373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 2338373020dSJacques Vidrine unsigned long /*struct_version*/, 2348373020dSJacques Vidrine unsigned long /*api_version*/, 2358373020dSJacques Vidrine void **/*server_handle*/); 2368373020dSJacques Vidrine 2378373020dSJacques Vidrine kadm5_ret_t 2388373020dSJacques Vidrine kadm5_c_init_with_skey_ctx ( 2398373020dSJacques Vidrine krb5_context /*context*/, 2408373020dSJacques Vidrine const char */*client_name*/, 2418373020dSJacques Vidrine const char */*keytab*/, 2428373020dSJacques Vidrine const char */*service_name*/, 2438373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 2448373020dSJacques Vidrine unsigned long /*struct_version*/, 2458373020dSJacques Vidrine unsigned long /*api_version*/, 2468373020dSJacques Vidrine void **/*server_handle*/); 2478373020dSJacques Vidrine 2488373020dSJacques Vidrine kadm5_ret_t 2498373020dSJacques Vidrine kadm5_c_modify_principal ( 2508373020dSJacques Vidrine void */*server_handle*/, 2518373020dSJacques Vidrine kadm5_principal_ent_t /*princ*/, 2528373020dSJacques Vidrine u_int32_t /*mask*/); 2538373020dSJacques Vidrine 2548373020dSJacques Vidrine kadm5_ret_t 2558373020dSJacques Vidrine kadm5_c_randkey_principal ( 2568373020dSJacques Vidrine void */*server_handle*/, 2578373020dSJacques Vidrine krb5_principal /*princ*/, 2588373020dSJacques Vidrine krb5_keyblock **/*new_keys*/, 2598373020dSJacques Vidrine int */*n_keys*/); 2608373020dSJacques Vidrine 2618373020dSJacques Vidrine kadm5_ret_t 2628373020dSJacques Vidrine kadm5_c_rename_principal ( 2638373020dSJacques Vidrine void */*server_handle*/, 2648373020dSJacques Vidrine krb5_principal /*source*/, 2658373020dSJacques Vidrine krb5_principal /*target*/); 2668373020dSJacques Vidrine 2678373020dSJacques Vidrine kadm5_ret_t 2688373020dSJacques Vidrine kadm5_log_create ( 2698373020dSJacques Vidrine kadm5_server_context */*context*/, 2708373020dSJacques Vidrine hdb_entry */*ent*/); 2718373020dSJacques Vidrine 2728373020dSJacques Vidrine kadm5_ret_t 2738373020dSJacques Vidrine kadm5_log_delete ( 2748373020dSJacques Vidrine kadm5_server_context */*context*/, 2758373020dSJacques Vidrine krb5_principal /*princ*/); 2768373020dSJacques Vidrine 2778373020dSJacques Vidrine kadm5_ret_t 2788373020dSJacques Vidrine kadm5_log_end (kadm5_server_context */*context*/); 2798373020dSJacques Vidrine 2808373020dSJacques Vidrine kadm5_ret_t 2818373020dSJacques Vidrine kadm5_log_foreach ( 2828373020dSJacques Vidrine kadm5_server_context */*context*/, 2838373020dSJacques Vidrine void (*/*func*/)(kadm5_server_context *server_context, u_int32_t ver, time_t timestamp, enum kadm_ops op, u_int32_t len, krb5_storage *sp)); 2848373020dSJacques Vidrine 2858373020dSJacques Vidrine kadm5_ret_t 2868373020dSJacques Vidrine kadm5_log_get_version ( 2878373020dSJacques Vidrine kadm5_server_context */*context*/, 2888373020dSJacques Vidrine u_int32_t */*ver*/); 2898373020dSJacques Vidrine 2908373020dSJacques Vidrine kadm5_ret_t 2918373020dSJacques Vidrine kadm5_log_get_version_fd ( 2928373020dSJacques Vidrine int /*fd*/, 2938373020dSJacques Vidrine u_int32_t */*ver*/); 2948373020dSJacques Vidrine 2958373020dSJacques Vidrine krb5_storage * 2968373020dSJacques Vidrine kadm5_log_goto_end (int /*fd*/); 2978373020dSJacques Vidrine 2988373020dSJacques Vidrine kadm5_ret_t 2998373020dSJacques Vidrine kadm5_log_init (kadm5_server_context */*context*/); 3008373020dSJacques Vidrine 3018373020dSJacques Vidrine kadm5_ret_t 3028373020dSJacques Vidrine kadm5_log_modify ( 3038373020dSJacques Vidrine kadm5_server_context */*context*/, 3048373020dSJacques Vidrine hdb_entry */*ent*/, 3058373020dSJacques Vidrine u_int32_t /*mask*/); 3068373020dSJacques Vidrine 3078373020dSJacques Vidrine kadm5_ret_t 3088373020dSJacques Vidrine kadm5_log_nop (kadm5_server_context */*context*/); 3098373020dSJacques Vidrine 3108373020dSJacques Vidrine kadm5_ret_t 3118373020dSJacques Vidrine kadm5_log_previous ( 3128373020dSJacques Vidrine krb5_storage */*sp*/, 3138373020dSJacques Vidrine u_int32_t */*ver*/, 3148373020dSJacques Vidrine time_t */*timestamp*/, 3158373020dSJacques Vidrine enum kadm_ops */*op*/, 3168373020dSJacques Vidrine u_int32_t */*len*/); 3178373020dSJacques Vidrine 3188373020dSJacques Vidrine kadm5_ret_t 3198373020dSJacques Vidrine kadm5_log_reinit (kadm5_server_context */*context*/); 3208373020dSJacques Vidrine 3218373020dSJacques Vidrine kadm5_ret_t 3228373020dSJacques Vidrine kadm5_log_rename ( 3238373020dSJacques Vidrine kadm5_server_context */*context*/, 3248373020dSJacques Vidrine krb5_principal /*source*/, 3258373020dSJacques Vidrine hdb_entry */*ent*/); 3268373020dSJacques Vidrine 3278373020dSJacques Vidrine kadm5_ret_t 3288373020dSJacques Vidrine kadm5_log_replay ( 3298373020dSJacques Vidrine kadm5_server_context */*context*/, 3308373020dSJacques Vidrine enum kadm_ops /*op*/, 3318373020dSJacques Vidrine u_int32_t /*ver*/, 3328373020dSJacques Vidrine u_int32_t /*len*/, 3338373020dSJacques Vidrine krb5_storage */*sp*/); 3348373020dSJacques Vidrine 3358373020dSJacques Vidrine kadm5_ret_t 3368373020dSJacques Vidrine kadm5_log_replay_create ( 3378373020dSJacques Vidrine kadm5_server_context */*context*/, 3388373020dSJacques Vidrine u_int32_t /*ver*/, 3398373020dSJacques Vidrine u_int32_t /*len*/, 3408373020dSJacques Vidrine krb5_storage */*sp*/); 3418373020dSJacques Vidrine 3428373020dSJacques Vidrine kadm5_ret_t 3438373020dSJacques Vidrine kadm5_log_replay_delete ( 3448373020dSJacques Vidrine kadm5_server_context */*context*/, 3458373020dSJacques Vidrine u_int32_t /*ver*/, 3468373020dSJacques Vidrine u_int32_t /*len*/, 3478373020dSJacques Vidrine krb5_storage */*sp*/); 3488373020dSJacques Vidrine 3498373020dSJacques Vidrine kadm5_ret_t 3508373020dSJacques Vidrine kadm5_log_replay_modify ( 3518373020dSJacques Vidrine kadm5_server_context */*context*/, 3528373020dSJacques Vidrine u_int32_t /*ver*/, 3538373020dSJacques Vidrine u_int32_t /*len*/, 3548373020dSJacques Vidrine krb5_storage */*sp*/); 3558373020dSJacques Vidrine 3568373020dSJacques Vidrine kadm5_ret_t 3578373020dSJacques Vidrine kadm5_log_replay_nop ( 3588373020dSJacques Vidrine kadm5_server_context */*context*/, 3598373020dSJacques Vidrine u_int32_t /*ver*/, 3608373020dSJacques Vidrine u_int32_t /*len*/, 3618373020dSJacques Vidrine krb5_storage */*sp*/); 3628373020dSJacques Vidrine 3638373020dSJacques Vidrine kadm5_ret_t 3648373020dSJacques Vidrine kadm5_log_replay_rename ( 3658373020dSJacques Vidrine kadm5_server_context */*context*/, 3668373020dSJacques Vidrine u_int32_t /*ver*/, 3678373020dSJacques Vidrine u_int32_t /*len*/, 3688373020dSJacques Vidrine krb5_storage */*sp*/); 3698373020dSJacques Vidrine 3708373020dSJacques Vidrine kadm5_ret_t 3718373020dSJacques Vidrine kadm5_log_set_version ( 3728373020dSJacques Vidrine kadm5_server_context */*context*/, 3738373020dSJacques Vidrine u_int32_t /*vno*/); 3748373020dSJacques Vidrine 3758373020dSJacques Vidrine kadm5_ret_t 3768373020dSJacques Vidrine kadm5_log_truncate (kadm5_server_context */*server_context*/); 3778373020dSJacques Vidrine 3788373020dSJacques Vidrine kadm5_ret_t 3798373020dSJacques Vidrine kadm5_s_chpass_principal ( 3808373020dSJacques Vidrine void */*server_handle*/, 3818373020dSJacques Vidrine krb5_principal /*princ*/, 3828373020dSJacques Vidrine char */*password*/); 3838373020dSJacques Vidrine 3848373020dSJacques Vidrine kadm5_ret_t 3858373020dSJacques Vidrine kadm5_s_chpass_principal_cond ( 3868373020dSJacques Vidrine void */*server_handle*/, 3878373020dSJacques Vidrine krb5_principal /*princ*/, 3888373020dSJacques Vidrine char */*password*/); 3898373020dSJacques Vidrine 3908373020dSJacques Vidrine kadm5_ret_t 3918373020dSJacques Vidrine kadm5_s_chpass_principal_with_key ( 3928373020dSJacques Vidrine void */*server_handle*/, 3938373020dSJacques Vidrine krb5_principal /*princ*/, 3948373020dSJacques Vidrine int /*n_key_data*/, 3958373020dSJacques Vidrine krb5_key_data */*key_data*/); 3968373020dSJacques Vidrine 3978373020dSJacques Vidrine kadm5_ret_t 3988373020dSJacques Vidrine kadm5_s_create_principal ( 3998373020dSJacques Vidrine void */*server_handle*/, 4008373020dSJacques Vidrine kadm5_principal_ent_t /*princ*/, 4018373020dSJacques Vidrine u_int32_t /*mask*/, 4028373020dSJacques Vidrine char */*password*/); 4038373020dSJacques Vidrine 4048373020dSJacques Vidrine kadm5_ret_t 4058373020dSJacques Vidrine kadm5_s_create_principal_with_key ( 4068373020dSJacques Vidrine void */*server_handle*/, 4078373020dSJacques Vidrine kadm5_principal_ent_t /*princ*/, 4088373020dSJacques Vidrine u_int32_t /*mask*/); 4098373020dSJacques Vidrine 4108373020dSJacques Vidrine kadm5_ret_t 4118373020dSJacques Vidrine kadm5_s_delete_principal ( 4128373020dSJacques Vidrine void */*server_handle*/, 4138373020dSJacques Vidrine krb5_principal /*princ*/); 4148373020dSJacques Vidrine 4158373020dSJacques Vidrine kadm5_ret_t 4168373020dSJacques Vidrine kadm5_s_destroy (void */*server_handle*/); 4178373020dSJacques Vidrine 4188373020dSJacques Vidrine kadm5_ret_t 4198373020dSJacques Vidrine kadm5_s_flush (void */*server_handle*/); 4208373020dSJacques Vidrine 4218373020dSJacques Vidrine kadm5_ret_t 4228373020dSJacques Vidrine kadm5_s_get_principal ( 4238373020dSJacques Vidrine void */*server_handle*/, 4248373020dSJacques Vidrine krb5_principal /*princ*/, 4258373020dSJacques Vidrine kadm5_principal_ent_t /*out*/, 4268373020dSJacques Vidrine u_int32_t /*mask*/); 4278373020dSJacques Vidrine 4288373020dSJacques Vidrine kadm5_ret_t 4298373020dSJacques Vidrine kadm5_s_get_principals ( 4308373020dSJacques Vidrine void */*server_handle*/, 4318373020dSJacques Vidrine const char */*exp*/, 4328373020dSJacques Vidrine char ***/*princs*/, 4338373020dSJacques Vidrine int */*count*/); 4348373020dSJacques Vidrine 4358373020dSJacques Vidrine kadm5_ret_t 4368373020dSJacques Vidrine kadm5_s_get_privs ( 4378373020dSJacques Vidrine void */*server_handle*/, 4388373020dSJacques Vidrine u_int32_t */*privs*/); 4398373020dSJacques Vidrine 4408373020dSJacques Vidrine kadm5_ret_t 4418373020dSJacques Vidrine kadm5_s_init_with_creds ( 4428373020dSJacques Vidrine const char */*client_name*/, 4438373020dSJacques Vidrine krb5_ccache /*ccache*/, 4448373020dSJacques Vidrine const char */*service_name*/, 4458373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 4468373020dSJacques Vidrine unsigned long /*struct_version*/, 4478373020dSJacques Vidrine unsigned long /*api_version*/, 4488373020dSJacques Vidrine void **/*server_handle*/); 4498373020dSJacques Vidrine 4508373020dSJacques Vidrine kadm5_ret_t 4518373020dSJacques Vidrine kadm5_s_init_with_creds_ctx ( 4528373020dSJacques Vidrine krb5_context /*context*/, 4538373020dSJacques Vidrine const char */*client_name*/, 4548373020dSJacques Vidrine krb5_ccache /*ccache*/, 4558373020dSJacques Vidrine const char */*service_name*/, 4568373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 4578373020dSJacques Vidrine unsigned long /*struct_version*/, 4588373020dSJacques Vidrine unsigned long /*api_version*/, 4598373020dSJacques Vidrine void **/*server_handle*/); 4608373020dSJacques Vidrine 4618373020dSJacques Vidrine kadm5_ret_t 4628373020dSJacques Vidrine kadm5_s_init_with_password ( 4638373020dSJacques Vidrine const char */*client_name*/, 4648373020dSJacques Vidrine const char */*password*/, 4658373020dSJacques Vidrine const char */*service_name*/, 4668373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 4678373020dSJacques Vidrine unsigned long /*struct_version*/, 4688373020dSJacques Vidrine unsigned long /*api_version*/, 4698373020dSJacques Vidrine void **/*server_handle*/); 4708373020dSJacques Vidrine 4718373020dSJacques Vidrine kadm5_ret_t 4728373020dSJacques Vidrine kadm5_s_init_with_password_ctx ( 4738373020dSJacques Vidrine krb5_context /*context*/, 4748373020dSJacques Vidrine const char */*client_name*/, 4758373020dSJacques Vidrine const char */*password*/, 4768373020dSJacques Vidrine const char */*service_name*/, 4778373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 4788373020dSJacques Vidrine unsigned long /*struct_version*/, 4798373020dSJacques Vidrine unsigned long /*api_version*/, 4808373020dSJacques Vidrine void **/*server_handle*/); 4818373020dSJacques Vidrine 4828373020dSJacques Vidrine kadm5_ret_t 4838373020dSJacques Vidrine kadm5_s_init_with_skey ( 4848373020dSJacques Vidrine const char */*client_name*/, 4858373020dSJacques Vidrine const char */*keytab*/, 4868373020dSJacques Vidrine const char */*service_name*/, 4878373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 4888373020dSJacques Vidrine unsigned long /*struct_version*/, 4898373020dSJacques Vidrine unsigned long /*api_version*/, 4908373020dSJacques Vidrine void **/*server_handle*/); 4918373020dSJacques Vidrine 4928373020dSJacques Vidrine kadm5_ret_t 4938373020dSJacques Vidrine kadm5_s_init_with_skey_ctx ( 4948373020dSJacques Vidrine krb5_context /*context*/, 4958373020dSJacques Vidrine const char */*client_name*/, 4968373020dSJacques Vidrine const char */*keytab*/, 4978373020dSJacques Vidrine const char */*service_name*/, 4988373020dSJacques Vidrine kadm5_config_params */*realm_params*/, 4998373020dSJacques Vidrine unsigned long /*struct_version*/, 5008373020dSJacques Vidrine unsigned long /*api_version*/, 5018373020dSJacques Vidrine void **/*server_handle*/); 5028373020dSJacques Vidrine 5038373020dSJacques Vidrine kadm5_ret_t 5048373020dSJacques Vidrine kadm5_s_modify_principal ( 5058373020dSJacques Vidrine void */*server_handle*/, 5068373020dSJacques Vidrine kadm5_principal_ent_t /*princ*/, 5078373020dSJacques Vidrine u_int32_t /*mask*/); 5088373020dSJacques Vidrine 5098373020dSJacques Vidrine kadm5_ret_t 5108373020dSJacques Vidrine kadm5_s_randkey_principal ( 5118373020dSJacques Vidrine void */*server_handle*/, 5128373020dSJacques Vidrine krb5_principal /*princ*/, 5138373020dSJacques Vidrine krb5_keyblock **/*new_keys*/, 5148373020dSJacques Vidrine int */*n_keys*/); 5158373020dSJacques Vidrine 5168373020dSJacques Vidrine kadm5_ret_t 5178373020dSJacques Vidrine kadm5_s_rename_principal ( 5188373020dSJacques Vidrine void */*server_handle*/, 5198373020dSJacques Vidrine krb5_principal /*source*/, 5208373020dSJacques Vidrine krb5_principal /*target*/); 5218373020dSJacques Vidrine 5228373020dSJacques Vidrine #endif /* __kadm5_private_h__ */ 523