summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-30 08:26:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:59 -0500
commit44f2d34bd3551ec2a921e450c31a887559cf8809 (patch)
tree8bac9d5e471d1245b9dcec24f81a84afad706497 /source4/kdc
parentd6acd2fb16d9384ff84edc5e0c0dffbb0dd224cd (diff)
downloadsamba-44f2d34bd3551ec2a921e450c31a887559cf8809.tar.gz
samba-44f2d34bd3551ec2a921e450c31a887559cf8809.tar.bz2
samba-44f2d34bd3551ec2a921e450c31a887559cf8809.zip
r8013: Remember to add the header containing the prototype for the pac
generating function... Andrew Bartlett (This used to be commit 707cf5fba8e5652043d392d3ee77d042eb9c3a90)
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/pac-glue.c1
-rw-r--r--source4/kdc/pac-glue.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c
index 9bfd0d3616..52685083bd 100644
--- a/source4/kdc/pac-glue.c
+++ b/source4/kdc/pac-glue.c
@@ -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/source4/kdc/pac-glue.h b/source4/kdc/pac-glue.h
new file mode 100644
index 0000000000..dd8ebfc68e
--- /dev/null
+++ b/source4/kdc/pac-glue.h
@@ -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);