r8013: Remember to add the header containing the prototype for the pac
authorAndrew Bartlett <abartlet@samba.org>
Thu, 30 Jun 2005 08:26:58 +0000 (08:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:18:59 +0000 (13:18 -0500)
generating function...

Andrew Bartlett

source/kdc/pac-glue.c
source/kdc/pac-glue.h [new file with mode: 0644]

index 9bfd0d3616e448c903eed1b4323e99df48015c75..52685083bdcaf5e8fe29920bd20a7e92f05acebe 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "includes.h"
 #include "kdc/kdc.h"
+#include "kdc/pac-glue.h" /* Ensure we don't get this prototype wrong, as that could be painful */
 
  krb5_error_code samba_get_pac(krb5_context context, 
                              struct krb5_kdc_configuration *config,
diff --git a/source/kdc/pac-glue.h b/source/kdc/pac-glue.h
new file mode 100644 (file)
index 0000000..dd8ebfc
--- /dev/null
@@ -0,0 +1,7 @@
+
+ krb5_error_code samba_get_pac(krb5_context context, 
+                             struct krb5_kdc_configuration *config,
+                             krb5_principal client, 
+                             krb5_keyblock *krbtgt_keyblock, 
+                             krb5_keyblock *server_keyblock, 
+                              krb5_data *pac);