diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-11-06 14:15:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:50 -0500 |
commit | fb2394d309f33bdccde3a4e17f6fd994d452b425 (patch) | |
tree | f1caf0a70e1fb2729b15f03564d1b68dbaa412e3 /source4/heimdal/kdc/kdc_locl.h | |
parent | df5b70db2c228bd781d8472440858dcdf502f9f9 (diff) | |
download | samba-fb2394d309f33bdccde3a4e17f6fd994d452b425.tar.gz samba-fb2394d309f33bdccde3a4e17f6fd994d452b425.tar.bz2 samba-fb2394d309f33bdccde3a4e17f6fd994d452b425.zip |
r11536: Add a hook for client-principal access control to hdb-ldb, re-using
the code in auth/auth_sam.c for consistancy. This will also allow us
to have one place for a backend directory hook.
I will use a very similar hook to add the PAC.
Andrew Bartlett
(This used to be commit 4315836cd8c94eb8340c4050804face4d0066810)
Diffstat (limited to 'source4/heimdal/kdc/kdc_locl.h')
-rw-r--r-- | source4/heimdal/kdc/kdc_locl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/heimdal/kdc/kdc_locl.h b/source4/heimdal/kdc/kdc_locl.h index b0501abb8d..8658d33b68 100644 --- a/source4/heimdal/kdc/kdc_locl.h +++ b/source4/heimdal/kdc/kdc_locl.h @@ -71,10 +71,19 @@ krb5_error_code _kdc_db_fetch(krb5_context, krb5_kdc_configuration *, krb5_principal, enum hdb_ent_type, hdb_entry **); +krb5_error_code +_kdc_db_fetch_ex(krb5_context context, + krb5_kdc_configuration *config, + krb5_principal principal, enum hdb_ent_type ent_type, + hdb_entry_ex **h); + void _kdc_free_ent(krb5_context context, hdb_entry *); void +_kdc_free_ent_ex(krb5_context context, hdb_entry_ex *ent); + +void loop(krb5_context context, krb5_kdc_configuration *config); krb5_error_code |