logo_kerberos.gif

Difference between revisions of "Samba4 port: libkdc Interface"

From K5Wiki
Jump to: navigation, search
Line 126: Line 126:
   
 
|-
 
|-
| krb v4
 
  +
| krb524
 
| decode_ticket()
 
| decode_ticket()
 
| krb5_decode_ticket()
 
| krb5_decode_ticket()
Line 132: Line 132:
   
 
|-
 
|-
  +
| krb524
 
| _kdc_do_524
 
| _kdc_do_524
 
| <deprecated>
 
| <deprecated>
Line 137: Line 138:
   
 
|-
 
|-
  +
| krb524
 
| free_Ticket()
 
| free_Ticket()
 
| none
 
| none
Line 142: Line 144:
   
 
|-
 
|-
| decode_DigestREQ
 
  +
| digest auth
 
| decode_DigestREQ()
 
| no
 
| no
 
| krb5_kdc_process_request()
 
| krb5_kdc_process_request()
   
 
|-
 
|-
| free_DigestRREQ
 
  +
| digest auth
  +
| free_DigestREQ()
 
| no
 
| no
 
| krb5_kdc_process_request()
 
| krb5_kdc_process_request()
   
 
|-
 
|-
| _kdc_do_digest
 
  +
| digest auth
 
| _kdc_do_digest()
 
| no
 
| no
  +
| krb5_kdc_process_request()
  +
  +
|-
  +
| kx509
  +
| _kdc_try_kx509_request()
  +
| no
  +
| krb5_kdc_process_request()
  +
  +
|-
  +
| kx509
  +
| _kdc_do_kx509()
  +
| no
  +
| krb5_kdc_process_request()
  +
  +
|-
  +
| kx509
  +
| free_Kx509Request()
  +
| no
  +
| krb5_kdc_process_request()
  +
  +
|-
 
| krb v4
  +
| _kdc_maybe_version4
  +
| deprecated?
  +
| krb5_kdc_process_request()
  +
  +
|-
  +
| krb v4
  +
| _kdc_do_version4
  +
| deprecated
  +
| krb5_kdc_process_request()
  +
  +
|-
  +
| AFS
  +
| _kdc_do_kaserver()
  +
| deprecated?
 
| krb5_kdc_process_request()
 
| krb5_kdc_process_request()
   

Revision as of 18:39, 9 September 2009

libkdc Entry Points:

Entry Point Heimdal file Samba4 file Samba4 callers
kdc_log() kdc/log.c heimdal/kdc/log.c no
kdc_log_msg() kdc/log.c heimdal/kdc/log.c no
kdc_log_msg_va() kdc/log.c heimdal/kdc/log.c no
kdc_openlog() kdc/log.c heimdal/kdc/log.c no
krb5_kdc_get_config() kdc/default_config.c kdc/kdc.c kdc/kdc.c
krb5_kdc_process_krb5_request() kdc/process.c heimdal/kdc/process.c kdc/kdc.c
krb5_kdc_process_request() kdc/process.c heimdal/kdc/process.c no
krb5_kdc_set_dbinfo() kdc/set_dbinfo.c no no
krb5_kdc_save_request() kdc/process.c heimdal/kdc/process.c no
krb5_kdc_update_time() kdc/process.c heimdal/kdc/process.c kdc/kdc.c
krb5_kdc_windc_init() kdc/windc.c heimdal/kdc/windc.c kdc/kdc.c


Caution: libkdc has two similarly-named functions, one more complex than the other, but Samba4 uses only the more complex function:

  1. krb5_kdc_process_krb5_request() gets used by Samba4
  2. krb5_kdc_process_request() doesn't.

These entry points use the following Heimdal KDC functions:

Protocol Heimdal fcn MIT-krb fcn Samba4 callers
AS decode_AS_REQ() decode_krb5_as_req() krb5_kdc_process_request()
AS free_AS_REQ() krb5_free_kdc_req() krb5_kdc_process_request()
AS _kdc_as_rep() process_as_req() krb5_kdc_process_request()
TGS decode_TGS_REQ() decode_krb5_tgs_req() krb5_kdc_process_request()
TGS free_TGS_REQ() krb5_free_kdc_req() krb5_kdc_process_request()
TGS _kdc_tgs_rep() process_tgs_req() krb5_kdc_process_request()
krb524 decode_ticket() krb5_decode_ticket() krb5_kdc_process_request()
krb524 _kdc_do_524 <deprecated> krb5_kdc_process_request()
krb524 free_Ticket() none krb5_kdc_process_request()
digest auth decode_DigestREQ() no krb5_kdc_process_request()
digest auth free_DigestREQ() no krb5_kdc_process_request()
digest auth _kdc_do_digest() no krb5_kdc_process_request()
kx509 _kdc_try_kx509_request() no krb5_kdc_process_request()
kx509 _kdc_do_kx509() no krb5_kdc_process_request()
kx509 free_Kx509Request() no krb5_kdc_process_request()
krb v4 _kdc_maybe_version4 deprecated? krb5_kdc_process_request()
krb v4 _kdc_do_version4 deprecated krb5_kdc_process_request()
AFS _kdc_do_kaserver() deprecated? krb5_kdc_process_request()