summaryrefslogtreecommitdiffstats
path: root/source4/kdc/pac-glue.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-01-31 12:49:07 -0500
committerSimo Sorce <idra@samba.org>2010-01-31 13:25:17 -0500
commitb116d4e5b9ca402743c3ac8b6a37f9a8550f5505 (patch)
treeff216b21b5c5377e3fb16d0ca8f38f1446c84c08 /source4/kdc/pac-glue.h
parent0520bd77822f494fe044ca8368c7964e560839d3 (diff)
downloadsamba-b116d4e5b9ca402743c3ac8b6a37f9a8550f5505.tar.gz
samba-b116d4e5b9ca402743c3ac8b6a37f9a8550f5505.tar.xz
samba-b116d4e5b9ca402743c3ac8b6a37f9a8550f5505.zip
s4:kdc Streamline client access verification call
Move the core to pac-glue so that other plugins can use it.
Diffstat (limited to 'source4/kdc/pac-glue.h')
-rw-r--r--source4/kdc/pac-glue.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/kdc/pac-glue.h b/source4/kdc/pac-glue.h
index 5cc123f7ce1..22f52058f87 100644
--- a/source4/kdc/pac-glue.h
+++ b/source4/kdc/pac-glue.h
@@ -42,5 +42,11 @@ NTSTATUS samba_kdc_update_pac_blob(TALLOC_CTX *mem_ctx,
struct smb_iconv_convenience *ic,
krb5_pac *pac, DATA_BLOB *pac_blob);
-void samba_kdc_build_edata_reply(TALLOC_CTX *tmp_ctx, krb5_data *e_data,
- NTSTATUS nt_status);
+void samba_kdc_build_edata_reply(NTSTATUS nt_status, DATA_BLOB *e_data);
+
+krb5_error_code samba_kdc_map_policy_err(NTSTATUS nt_status);
+
+NTSTATUS samba_kdc_check_client_access(struct samba_kdc_entry *kdc_entry,
+ const char *client_name,
+ const char *workstation,
+ bool password_change);