Difference between revisions of "Samba4 Port: Database Abstraction Layer"
From K5Wiki
(→DAL entries (v. 1.7)) |
(→MIT-krb DAL entries (v. 1.7)) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == DAL |
+ | == MIT-krb DAL entry points (v. 1.7) == |
{| class="wikitable sortable" width="100%" border="1" style="border-collapse: collapse; border: 1px solid #dfdfdf;" |
{| class="wikitable sortable" width="100%" border="1" style="border-collapse: collapse; border: 1px solid #dfdfdf;" |
||
| bgcolor="#00cc99" |<font color="#ffffff">'''Entry-point'''</font> |
| bgcolor="#00cc99" |<font color="#ffffff">'''Entry-point'''</font> |
||
| bgcolor="#00cc99" |<font color="#ffffff">'''Src file'''</font> |
| bgcolor="#00cc99" |<font color="#ffffff">'''Src file'''</font> |
||
− | | bgcolor="#00cc99" |<font color="#ffffff">''' |
+ | | bgcolor="#00cc99" |<font color="#ffffff">'''Sort'''</font> |
| bgcolor="#00cc99" |<font color="#ffffff">'''Comment''' </font> |
| bgcolor="#00cc99" |<font color="#ffffff">'''Comment''' </font> |
||
+ | |||
+ | |- |
||
+ | | krb5_db_fini() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | db |
||
+ | | 036 uses |
||
|- |
|- |
||
Line 11: | Line 17: | ||
| lib/kdb/kdb5.c |
| lib/kdb/kdb5.c |
||
| db |
| db |
||
− | | |
||
+ | | 014 uses |
||
|- |
|- |
||
− | | krb5_db_close_database() |
||
+ | | krb5_db_free() |
||
− | | lib/kdb/ |
+ | | lib/kdb/kdb5.c |
| db |
| db |
||
− | | unimplemented (commented out) |
||
+ | | 013 uses |
||
|- |
|- |
||
− | | krb5_db_context{} |
||
+ | | krb5_db_open() |
||
− | | lib/ |
+ | | lib/kdb/kdb5.c |
+ | | db |
||
+ | | 011 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_unlock() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | db |
||
+ | | 010 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_lock() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | db |
||
+ | | 007 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_invoke() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | db |
||
+ | | 006 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_iterate() |
||
+ | | lib/kdb/kdb5.c |
||
| db |
| db |
||
− | | unimplemented (only in error msg) |
||
+ | | 004 uses |
||
|- |
|- |
||
Line 29: | Line 35: | ||
| lib/kdb/kdb5.c |
| lib/kdb/kdb5.c |
||
| db |
| db |
||
− | | |
||
+ | | 002 uses |
||
|- |
|- |
||
Line 35: | Line 41: | ||
| lib/kdb/kdb5.c |
| lib/kdb/kdb5.c |
||
| db |
| db |
||
− | | |
||
+ | | 002 uses |
||
|- |
|- |
||
− | | krb5_db_free() |
||
+ | | krb5_db_inited() |
||
| lib/kdb/kdb5.c |
| lib/kdb/kdb5.c |
||
| db |
| db |
||
− | | |
||
+ | | 002 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_get_age() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | db |
||
+ | | 002 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_promote() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | db |
||
+ | | 001 use |
||
|- |
|- |
||
| krb5_db_init() |
| krb5_db_init() |
||
+ | | unimplemented |
||
| db |
| db |
||
+ | | 001 use * |
||
+ | |||
+ | |- |
||
+ | | krb5_db_set_name() |
||
+ | | unimplemented |
||
+ | | db |
||
+ | | 001 use * |
||
+ | |||
+ | |- |
||
+ | | krb5_db_close_database() |
||
+ | | unimplemented |
||
+ | | db |
||
+ | | 000 commented out 3x |
||
+ | |||
+ | |- |
||
+ | | krb5_db_context{} |
||
+ | | unimplemented |
||
+ | | db |
||
+ | | 000 only in error msg |
||
+ | |||
+ | |- |
||
+ | | krb5_db_sync() |
||
+ | | unimplemented |
||
+ | | db |
||
+ | | 000 wished-for in comment |
||
+ | |||
+ | |- |
||
+ | | krb5_db_setup_lib_handle() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | context |
||
+ | | 029 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_set_option() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | context |
||
+ | | 000 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_get_context() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | context |
||
+ | | 000 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_set_context() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | context |
||
+ | | 000 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_free_policy() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | policy |
||
+ | | 011 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_get_policy() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | policy |
||
+ | | 004 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_put_policy() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | policy |
||
+ | | 002 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_iter_policy() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | policy |
||
+ | | 002 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_create_policy() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | policy |
||
+ | | 002 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_delete_policy() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | policy |
||
+ | | 001 use |
||
+ | |||
+ | |- |
||
+ | | krb5_db_setup_mkey_name() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey |
||
+ | | 011 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_fetch_mkey() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey |
||
+ | | 009 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_verify_master_key() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey |
||
+ | | 006 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_set_mkey() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey |
||
+ | | 003 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_store_master_key_list() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey |
||
+ | | 001 use |
||
+ | |||
+ | |- |
||
+ | | krb5_db_def_fetch_mkey() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey |
||
+ | | 001 use (fcn ptr) |
||
+ | |||
+ | |- |
||
+ | | krb5_db_def_fetch_mkey_keytab() |
||
+ | | lib/kdb/kdb_default.c |
||
+ | | mkey |
||
+ | | 001 use |
||
+ | |||
+ | |- |
||
+ | | krb5_db_def_fetch_mkey_stash() |
||
+ | | lib/kdb/kdb_default.c |
||
+ | | mkey |
||
+ | | 001 use |
||
+ | |||
+ | |- |
||
+ | | krb5_db_set_master_key_ext() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey |
||
+ | | 001 use |
||
+ | |||
+ | |- |
||
+ | | krb5_db_free_master_key() |
||
+ | | unimplemented |
||
+ | | mkey |
||
+ | | 000 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_get_mkey() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey |
||
+ | | 000 use |
||
+ | |||
+ | |- |
||
+ | | krb5_db_fetch_mkey_list() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey_list |
||
+ | | 014 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_set_mkey_list() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey_list |
||
+ | | 003 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_free_mkey_list() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey_list |
||
+ | | 002 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_get_mkey_list() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | mkey_list |
||
+ | | 001 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_free_principal() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | principal |
||
+ | | 048 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_get_principal() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | principal |
||
+ | | 021 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_put_principal() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | principal |
||
+ | | 012 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_delete_principal() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | principal |
||
+ | | 001 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_get_principal_ext() |
||
+ | | lib/kdb/kdb5.c |
||
+ | | principal |
||
+ | | 006 uses |
||
+ | |||
+ | |- |
||
+ | | krb5_db_entry{} |
||
| include/kdb.h |
| include/kdb.h |
||
− | | unimplemented (used in do_as_req()) |
||
+ | | db_entry |
||
+ | | 380 uses |
||
− | | |
+ | |- |
+ | | krb5_db_errcode2string() |
||
+ | | unimplemented |
||
+ | | error |
||
+ | | 000 uses |
||
− | # krb5_db_set_master_key_ext(krb5_context, |
||
+ | |- |
||
+ | | krb5_db_set_err |
||
+ | | unimplemented |
||
+ | | error |
||
+ | | 002 uses |
||
− | == Unimplemented DAL functions == |
||
+ | |- |
||
+ | | krb5_db_get_key_data_kvno() |
||
+ | | lib/kdb/kdb_cpw.c |
||
+ | | key |
||
+ | | 006 uses |
||
− | # krb5_db_get_principal_ext( krb5_context, krb5_const_principal search_for, |
||
+ | |- |
||
− | unsigned int flags, |
||
+ | | krb5_db_vftabl_{} |
||
− | krb5_db_entry *entries, |
||
+ | | lib/kdb/kdb5.c |
||
− | int *nentries, |
||
+ | | DAL entry-points |
||
− | krb5_boolean *more ); |
||
+ | | 002 uses |
||
+ | |||
+ | |} |
||
− | # krb5_db_invoke( krb5_context ctx, |
||
+ | ---- |
||
− | uint method, |
||
− | const krb5_data *req, |
||
− | krb5_data *rep) |
Latest revision as of 09:34, 29 September 2009
MIT-krb DAL entry points (v. 1.7)
Entry-point | Src file | Sort | Comment |
krb5_db_fini() | lib/kdb/kdb5.c | db | 036 uses |
krb5_db_alloc() | lib/kdb/kdb5.c | db | 014 uses |
krb5_db_free() | lib/kdb/kdb5.c | db | 013 uses |
krb5_db_open() | lib/kdb/kdb5.c | db | 011 uses |
krb5_db_unlock() | lib/kdb/kdb5.c | db | 010 uses |
krb5_db_lock() | lib/kdb/kdb5.c | db | 007 uses |
krb5_db_invoke() | lib/kdb/kdb5.c | db | 006 uses |
krb5_db_iterate() | lib/kdb/kdb5.c | db | 004 uses |
krb5_db_create() | lib/kdb/kdb5.c | db | 002 uses |
krb5_db_destroy() | lib/kdb/kdb5.c | db | 002 uses |
krb5_db_inited() | lib/kdb/kdb5.c | db | 002 uses |
krb5_db_get_age() | lib/kdb/kdb5.c | db | 002 uses |
krb5_db_promote() | lib/kdb/kdb5.c | db | 001 use |
krb5_db_init() | unimplemented | db | 001 use * |
krb5_db_set_name() | unimplemented | db | 001 use * |
krb5_db_close_database() | unimplemented | db | 000 commented out 3x |
krb5_db_context{} | unimplemented | db | 000 only in error msg |
krb5_db_sync() | unimplemented | db | 000 wished-for in comment |
krb5_db_setup_lib_handle() | lib/kdb/kdb5.c | context | 029 uses |
krb5_db_set_option() | lib/kdb/kdb5.c | context | 000 uses |
krb5_db_get_context() | lib/kdb/kdb5.c | context | 000 uses |
krb5_db_set_context() | lib/kdb/kdb5.c | context | 000 uses |
krb5_db_free_policy() | lib/kdb/kdb5.c | policy | 011 uses |
krb5_db_get_policy() | lib/kdb/kdb5.c | policy | 004 uses |
krb5_db_put_policy() | lib/kdb/kdb5.c | policy | 002 uses |
krb5_db_iter_policy() | lib/kdb/kdb5.c | policy | 002 uses |
krb5_db_create_policy() | lib/kdb/kdb5.c | policy | 002 uses |
krb5_db_delete_policy() | lib/kdb/kdb5.c | policy | 001 use |
krb5_db_setup_mkey_name() | lib/kdb/kdb5.c | mkey | 011 uses |
krb5_db_fetch_mkey() | lib/kdb/kdb5.c | mkey | 009 uses |
krb5_db_verify_master_key() | lib/kdb/kdb5.c | mkey | 006 uses |
krb5_db_set_mkey() | lib/kdb/kdb5.c | mkey | 003 uses |
krb5_db_store_master_key_list() | lib/kdb/kdb5.c | mkey | 001 use |
krb5_db_def_fetch_mkey() | lib/kdb/kdb5.c | mkey | 001 use (fcn ptr) |
krb5_db_def_fetch_mkey_keytab() | lib/kdb/kdb_default.c | mkey | 001 use |
krb5_db_def_fetch_mkey_stash() | lib/kdb/kdb_default.c | mkey | 001 use |
krb5_db_set_master_key_ext() | lib/kdb/kdb5.c | mkey | 001 use |
krb5_db_free_master_key() | unimplemented | mkey | 000 uses |
krb5_db_get_mkey() | lib/kdb/kdb5.c | mkey | 000 use |
krb5_db_fetch_mkey_list() | lib/kdb/kdb5.c | mkey_list | 014 uses |
krb5_db_set_mkey_list() | lib/kdb/kdb5.c | mkey_list | 003 uses |
krb5_db_free_mkey_list() | lib/kdb/kdb5.c | mkey_list | 002 uses |
krb5_db_get_mkey_list() | lib/kdb/kdb5.c | mkey_list | 001 uses |
krb5_db_free_principal() | lib/kdb/kdb5.c | principal | 048 uses |
krb5_db_get_principal() | lib/kdb/kdb5.c | principal | 021 uses |
krb5_db_put_principal() | lib/kdb/kdb5.c | principal | 012 uses |
krb5_db_delete_principal() | lib/kdb/kdb5.c | principal | 001 uses |
krb5_db_get_principal_ext() | lib/kdb/kdb5.c | principal | 006 uses |
krb5_db_entry{} | include/kdb.h | db_entry | 380 uses |
krb5_db_errcode2string() | unimplemented | error | 000 uses |
krb5_db_set_err | unimplemented | error | 002 uses |
krb5_db_get_key_data_kvno() | lib/kdb/kdb_cpw.c | key | 006 uses |
krb5_db_vftabl_{} | lib/kdb/kdb5.c | DAL entry-points | 002 uses |