/usr/include/heimdal/kadm5/kadm5-protos.h is in heimdal-multidev 1.6~git20131207+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 | /* This is a generated file */
#ifndef __kadm5_protos_h__
#define __kadm5_protos_h__
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
kadm5_ret_t
kadm5_ad_init_with_password (
const char */*client_name*/,
const char */*password*/,
const char */*service_name*/,
kadm5_config_params */*realm_params*/,
unsigned long /*struct_version*/,
unsigned long /*api_version*/,
void **/*server_handle*/);
kadm5_ret_t
kadm5_ad_init_with_password_ctx (
krb5_context /*context*/,
const char */*client_name*/,
const char */*password*/,
const char */*service_name*/,
kadm5_config_params */*realm_params*/,
unsigned long /*struct_version*/,
unsigned long /*api_version*/,
void **/*server_handle*/);
krb5_error_code
kadm5_add_passwd_quality_verifier (
krb5_context /*context*/,
const char */*check_library*/);
const char *
kadm5_check_password_quality (
krb5_context /*context*/,
krb5_principal /*principal*/,
krb5_data */*pwd_data*/);
kadm5_ret_t
kadm5_chpass_principal (
void */*server_handle*/,
krb5_principal /*princ*/,
const char */*password*/);
kadm5_ret_t
kadm5_chpass_principal_3 (
void */*server_handle*/,
krb5_principal /*princ*/,
krb5_boolean /*keepold*/,
int /*n_ks_tuple*/,
krb5_key_salt_tuple */*ks_tuple*/,
const char */*password*/);
kadm5_ret_t
kadm5_chpass_principal_with_key (
void */*server_handle*/,
krb5_principal /*princ*/,
int /*n_key_data*/,
krb5_key_data */*key_data*/);
kadm5_ret_t
kadm5_chpass_principal_with_key_3 (
void */*server_handle*/,
krb5_principal /*princ*/,
int /*keepold*/,
int /*n_key_data*/,
krb5_key_data */*key_data*/);
kadm5_ret_t
kadm5_create_policy (
void */*server_handle*/,
kadm5_policy_ent_t /*policy*/,
long /*mask*/);
kadm5_ret_t
kadm5_create_principal (
void */*server_handle*/,
kadm5_principal_ent_t /*princ*/,
uint32_t /*mask*/,
const char */*password*/);
kadm5_ret_t
kadm5_create_principal_3 (
void */*server_handle*/,
kadm5_principal_ent_t /*princ*/,
uint32_t /*mask*/,
int /*n_ks_tuple*/,
krb5_key_salt_tuple */*ks_tuple*/,
char */*password*/);
/**
* Extract decrypted keys from kadm5_principal_ent_t object. Mostly a
* no-op for Heimdal because we fetch the entry with decrypted keys.
* Sadly this is not fully a no-op, as we have to allocate a copy.
*
* @server_handle is the kadm5 handle
* @entry is the HDB entry for the principal in question
* @ktype is the enctype to get a key for, or -1 to get the first one
* @stype is the salttype to get a key for, or -1 to get the first match
* @kvno is the kvno to search for, or -1 to get the first match (highest kvno)
* @keyblock is where the key will be placed
* @keysalt, if not NULL, is where the salt will be placed
* @kvnop, if not NULL, is where the selected kvno will be placed
*/
kadm5_ret_t
kadm5_decrypt_key (
void */*server_handle*/,
kadm5_principal_ent_t /*entry*/,
int32_t /*ktype*/,
int32_t /*stype*/,
int32_t /*kvno*/,
krb5_keyblock */*keyblock*/,
krb5_keysalt */*keysalt*/,
int */*kvnop*/);
kadm5_ret_t
kadm5_delete_policy (
void */*server_handle*/,
char */*name*/);
kadm5_ret_t
kadm5_delete_principal (
void */*server_handle*/,
krb5_principal /*princ*/);
kadm5_ret_t
kadm5_destroy (void */*server_handle*/);
kadm5_ret_t
kadm5_flush (void */*server_handle*/);
void
kadm5_free_key_data (
void */*server_handle*/,
int16_t */*n_key_data*/,
krb5_key_data */*key_data*/);
void
kadm5_free_name_list (
void */*server_handle*/,
char **/*names*/,
int */*count*/);
kadm5_ret_t
kadm5_free_policy_ent (kadm5_policy_ent_t /*ent*/);
void
kadm5_free_principal_ent (
void */*server_handle*/,
kadm5_principal_ent_t /*princ*/);
kadm5_ret_t
kadm5_get_policies (
void */*server_handle*/,
char */*exp*/,
char ***/*pols*/,
int */*count*/);
kadm5_ret_t
kadm5_get_policy (
void */*server_handle*/,
char */*policy*/,
kadm5_policy_ent_t /*ent*/);
kadm5_ret_t
kadm5_get_principal (
void */*server_handle*/,
krb5_principal /*princ*/,
kadm5_principal_ent_t /*out*/,
uint32_t /*mask*/);
kadm5_ret_t
kadm5_get_principals (
void */*server_handle*/,
const char */*expression*/,
char ***/*princs*/,
int */*count*/);
kadm5_ret_t
kadm5_get_privs (
void */*server_handle*/,
uint32_t */*privs*/);
kadm5_ret_t
kadm5_init_with_creds (
const char */*client_name*/,
krb5_ccache /*ccache*/,
const char */*service_name*/,
kadm5_config_params */*realm_params*/,
unsigned long /*struct_version*/,
unsigned long /*api_version*/,
void **/*server_handle*/);
kadm5_ret_t
kadm5_init_with_creds_ctx (
krb5_context /*context*/,
const char */*client_name*/,
krb5_ccache /*ccache*/,
const char */*service_name*/,
kadm5_config_params */*realm_params*/,
unsigned long /*struct_version*/,
unsigned long /*api_version*/,
void **/*server_handle*/);
kadm5_ret_t
kadm5_init_with_password (
const char */*client_name*/,
const char */*password*/,
const char */*service_name*/,
kadm5_config_params */*realm_params*/,
unsigned long /*struct_version*/,
unsigned long /*api_version*/,
void **/*server_handle*/);
kadm5_ret_t
kadm5_init_with_password_ctx (
krb5_context /*context*/,
const char */*client_name*/,
const char */*password*/,
const char */*service_name*/,
kadm5_config_params */*realm_params*/,
unsigned long /*struct_version*/,
unsigned long /*api_version*/,
void **/*server_handle*/);
kadm5_ret_t
kadm5_init_with_skey (
const char */*client_name*/,
const char */*keytab*/,
const char */*service_name*/,
kadm5_config_params */*realm_params*/,
unsigned long /*struct_version*/,
unsigned long /*api_version*/,
void **/*server_handle*/);
kadm5_ret_t
kadm5_init_with_skey_ctx (
krb5_context /*context*/,
const char */*client_name*/,
const char */*keytab*/,
const char */*service_name*/,
kadm5_config_params */*realm_params*/,
unsigned long /*struct_version*/,
unsigned long /*api_version*/,
void **/*server_handle*/);
kadm5_ret_t
kadm5_lock (void */*server_handle*/);
kadm5_ret_t
kadm5_modify_policy (
void */*server_handle*/,
kadm5_policy_ent_t /*policy*/,
uint32_t /*mask*/);
kadm5_ret_t
kadm5_modify_principal (
void */*server_handle*/,
kadm5_principal_ent_t /*princ*/,
uint32_t /*mask*/);
kadm5_ret_t
kadm5_randkey_principal (
void */*server_handle*/,
krb5_principal /*princ*/,
krb5_keyblock **/*new_keys*/,
int */*n_keys*/);
kadm5_ret_t
kadm5_randkey_principal_3 (
void */*server_handle*/,
krb5_principal /*princ*/,
krb5_boolean /*keepold*/,
int /*n_ks_tuple*/,
krb5_key_salt_tuple */*ks_tuple*/,
krb5_keyblock **/*new_keys*/,
int */*n_keys*/);
kadm5_ret_t
kadm5_rename_principal (
void */*server_handle*/,
krb5_principal /*source*/,
krb5_principal /*target*/);
kadm5_ret_t
kadm5_ret_key_data (
krb5_storage */*sp*/,
krb5_key_data */*key*/);
kadm5_ret_t
kadm5_ret_principal_ent (
krb5_storage */*sp*/,
kadm5_principal_ent_t /*princ*/);
kadm5_ret_t
kadm5_ret_principal_ent_mask (
krb5_storage */*sp*/,
kadm5_principal_ent_t /*princ*/,
uint32_t */*mask*/);
kadm5_ret_t
kadm5_ret_tl_data (
krb5_storage */*sp*/,
krb5_tl_data */*tl*/);
/**
* This function is allows the caller to set new keys for a principal.
* This is a trivial wrapper around kadm5_setkey_principal_3().
*/
kadm5_ret_t
kadm5_setkey_principal (
void */*server_handle*/,
krb5_principal /*princ*/,
krb5_keyblock */*new_keys*/,
int /*n_keys*/);
/**
* This function is allows the caller to set new keys for a principal.
* This is a simple wrapper around kadm5_get_principal() and
* kadm5_modify_principal().
*/
kadm5_ret_t
kadm5_setkey_principal_3 (
void */*server_handle*/,
krb5_principal /*princ*/,
krb5_boolean /*keepold*/,
int /*n_ks_tuple*/,
krb5_key_salt_tuple */*ks_tuple*/,
krb5_keyblock */*keyblocks*/,
int /*n_keys*/);
void
kadm5_setup_passwd_quality_check (
krb5_context /*context*/,
const char */*check_library*/,
const char */*check_function*/);
kadm5_ret_t
kadm5_store_fake_key_data (
krb5_storage */*sp*/,
krb5_key_data */*key*/);
kadm5_ret_t
kadm5_store_key_data (
krb5_storage */*sp*/,
krb5_key_data */*key*/);
kadm5_ret_t
kadm5_store_principal_ent (
krb5_storage */*sp*/,
kadm5_principal_ent_t /*princ*/);
kadm5_ret_t
kadm5_store_principal_ent_mask (
krb5_storage */*sp*/,
kadm5_principal_ent_t /*princ*/,
uint32_t /*mask*/);
kadm5_ret_t
kadm5_store_principal_ent_nokeys (
krb5_storage */*sp*/,
kadm5_principal_ent_t /*princ*/);
kadm5_ret_t
kadm5_store_tl_data (
krb5_storage */*sp*/,
krb5_tl_data */*tl*/);
kadm5_ret_t
kadm5_unlock (void */*server_handle*/);
#ifdef __cplusplus
}
#endif
#endif /* __kadm5_protos_h__ */
|