s4:kdc Streamline client access verification call
[ira/wip.git] / source4 / kdc / pac-glue.h
index 5cc123f7ce19ebdf9c07ea235047e695f9cf17b8..22f52058f8723bc1c989be9709bbc435d3378cff 100644 (file)
@@ -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);