logo_kerberos.gif

Difference between revisions of "Samba4 Port: Database Abstraction Layer"

From K5Wiki
Jump to: navigation, search
(DAL entries (v. 1.7))
(MIT-krb DAL entries (v. 1.7))
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
== DAL entries (v. 1.7) ==
+
== 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;"
Line 8: Line 8:
   
 
|-
 
|-
| krb5_db_alloc()
 
  +
| krb5_db_fini()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 014 uses
+
| 036 uses
   
 
|-
 
|-
| krb5_db_close_database()
 
  +
| krb5_db_alloc()
| unimplemented
 
  +
| lib/kdb/kdb5.c
 
| db
 
| db
| commented out 3x
 
  +
| 014 uses
   
 
|-
 
|-
| krb5_db_context{}
 
  +
| krb5_db_free()
| unimplemented
 
  +
| lib/kdb/kdb5.c
 
| db
 
| db
| only in error msg
 
  +
| 013 uses
   
 
|-
 
|-
| krb5_db_create()
 
  +
| krb5_db_open()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 002 uses
+
| 011 uses
   
 
|-
 
|-
| krb5_db_destroy()
 
  +
| krb5_db_unlock()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 002 uses
+
| 010 uses
   
 
|-
 
|-
| krb5_db_free()
 
  +
| krb5_db_lock()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 013 uses
+
| 007 uses
   
 
|-
 
|-
| krb5_db_init()
 
  +
| krb5_db_invoke()
| unimplemented
 
| db
 
| 001 use *
 
 
|-
 
| krb5_db_inited()
 
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 002 uses
+
| 006 uses
   
 
|-
 
|-
| krb5_db_fini()
 
  +
| krb5_db_iterate()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 036 uses
+
| 004 uses
   
 
|-
 
|-
| krb5_db_invoke()
 
  +
| krb5_db_create()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 006 uses
+
| 002 uses
   
 
|-
 
|-
| krb5_db_iterate()
 
  +
| krb5_db_destroy()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 004 uses
+
| 002 uses
   
 
|-
 
|-
| krb5_db_lock()
 
  +
| krb5_db_inited()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 007 uses
+
| 002 uses
   
 
|-
 
|-
| krb5_db_open()
 
  +
| krb5_db_get_age()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| db
 
| db
| 011 uses
+
| 002 uses
   
 
|-
 
|-
Line 92: Line 86:
   
 
|-
 
|-
| krb5_db_sync()
 
  +
| krb5_db_init()
 
| unimplemented
 
| unimplemented
 
| db
 
| db
| wished-for in comment
 
  +
| 001 use *
   
 
|-
 
|-
| krb5_db_unlock()
 
  +
| krb5_db_set_name()
| lib/kdb/kdb5.c
 
  +
| unimplemented
 
| db
 
| db
| 010 uses
+
| 001 use *
   
 
|-
 
|-
| krb5_db_get_age()
 
  +
| krb5_db_close_database()
| lib/kdb/kdb5.c
 
  +
| unimplemented
 
| db
 
| db
| 002 uses
 
  +
| 000 commented out 3x
   
 
|-
 
|-
| krb5_db_set_name()
 
  +
| krb5_db_context{}
 
| unimplemented
 
| unimplemented
 
| db
 
| db
| 001 use *
 
  +
| 000 only in error msg
   
 
|-
 
|-
| krb5_db_set_option()
 
  +
| krb5_db_sync()
| lib/kdb/kdb5.c
 
  +
| unimplemented
| context
 
  +
| db
| 000 uses
 
  +
| 000 wished-for in comment
   
 
|-
 
|-
Line 126: Line 120:
 
| context
 
| context
 
| 029 uses
 
| 029 uses
  +
  +
|-
  +
| krb5_db_set_option()
  +
| lib/kdb/kdb5.c
  +
| context
  +
| 000 uses
   
 
|-
 
|-
Line 140: Line 140:
   
 
|-
 
|-
| krb5_db_get_policy()
 
  +
| krb5_db_free_policy()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| policy
 
| policy
| 004 uses
+
| 011 uses
   
 
|-
 
|-
Line 149: Line 149:
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| policy
 
| policy
| 002 uses
+
| 004 uses
   
 
|-
 
|-
| krb5_db_putt_policy()
 
  +
| krb5_db_put_policy()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| policy
 
| policy
Line 158: Line 158:
   
 
|-
 
|-
| krb5_db_get_policy()
 
  +
| krb5_db_iter_policy()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| policy
 
| policy
Line 164: Line 164:
   
 
|-
 
|-
| krb5_db_put_policy()
 
  +
| krb5_db_create_policy()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| policy
 
| policy
Line 170: Line 170:
   
 
|-
 
|-
| krb5_db_iter_policy()
 
  +
| krb5_db_delete_policy()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
 
| policy
 
| policy
| 002 uses
+
| 001 use
   
 
|-
 
|-
| krb5_db_create_policy()
 
  +
| krb5_db_setup_mkey_name()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
| policy
 
  +
| mkey
| 002 uses
+
| 011 uses
   
 
|-
 
|-
| krb5_db_delete_policy()
 
  +
| krb5_db_fetch_mkey()
 
| lib/kdb/kdb5.c
 
| lib/kdb/kdb5.c
| policy
 
  +
| 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
 
| 001 use
   
|}
+
|-
  +
| krb5_db_def_fetch_mkey()
  +
| lib/kdb/kdb5.c
  +
| mkey
  +
| 001 use (fcn ptr)
   
# krb5_db_set_master_key_ext(krb5_context,
 
  +
|-
  +
| krb5_db_def_fetch_mkey_keytab()
  +
| lib/kdb/kdb_default.c
  +
| mkey
  +
| 001 use
   
== Unimplemented DAL functions ==
 
  +
|-
  +
| krb5_db_def_fetch_mkey_stash()
  +
| lib/kdb/kdb_default.c
  +
| mkey
  +
| 001 use
   
# krb5_db_get_principal_ext( krb5_context, krb5_const_principal search_for,
 
  +
|-
unsigned int flags,
 
  +
| krb5_db_set_master_key_ext()
krb5_db_entry *entries,
 
  +
| lib/kdb/kdb5.c
int *nentries,
 
  +
| mkey
krb5_boolean *more );
 
  +
| 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
  +
  +
|}
   
# 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